@pocketprep/ui-kit 3.1.6 → 3.2.0

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.
Files changed (126) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/README.md +29 -8
  3. package/dist/@pocketprep/ui-kit.js +3 -3
  4. package/dist/@pocketprep/ui-kit.js.map +1 -1
  5. package/dist/@pocketprep/ui-kit.umd.cjs +1 -1
  6. package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
  7. package/lib/components/BundleIcons/BundleIcon.vue +2 -2
  8. package/lib/components/Filters/FilterDropdown.vue +2 -2
  9. package/lib/pocketprep.scss +12 -12
  10. package/package.json +14 -13
  11. package/lib/components/Banners/Banner.md +0 -41
  12. package/lib/components/Blobs/Blob.md +0 -10
  13. package/lib/components/Blobs/BlobEmptyState.md +0 -9
  14. package/lib/components/BundleIcons/BundleIcon.md +0 -60
  15. package/lib/components/Bundles/BundleList.md +0 -63
  16. package/lib/components/Bundles/BundleSearch.md +0 -195
  17. package/lib/components/Bundles/PremiumPill.md +0 -23
  18. package/lib/components/Buttons/Button.md +0 -99
  19. package/lib/components/Buttons/Link.md +0 -58
  20. package/lib/components/Buttons/Tab.md +0 -35
  21. package/lib/components/Calendar/Calendar.md +0 -18
  22. package/lib/components/Charts/Bar.md +0 -123
  23. package/lib/components/Charts/Pie.md +0 -23
  24. package/lib/components/Controls/SegmentControl.md +0 -47
  25. package/lib/components/Controls/Slider.md +0 -67
  26. package/lib/components/Controls/ToggleSwitch.md +0 -56
  27. package/lib/components/EmptyStates/EmptyState.md +0 -44
  28. package/lib/components/Exams/ExamCard.md +0 -45
  29. package/lib/components/Exams/ExamMenuCard.md +0 -90
  30. package/lib/components/Filters/FilterDropdown.md +0 -68
  31. package/lib/components/Filters/FilterOptions.md +0 -67
  32. package/lib/components/Forms/Checkbox.md +0 -52
  33. package/lib/components/Forms/CheckboxOption.md +0 -37
  34. package/lib/components/Forms/Errors.md +0 -23
  35. package/lib/components/Forms/Input.md +0 -63
  36. package/lib/components/Forms/Radio.md +0 -66
  37. package/lib/components/Forms/Select.md +0 -133
  38. package/lib/components/Forms/Textarea.md +0 -57
  39. package/lib/components/Icons/Icon.md +0 -151
  40. package/lib/components/Icons/IconAccordionArrow.md +0 -7
  41. package/lib/components/Icons/IconActivity.md +0 -7
  42. package/lib/components/Icons/IconAdd.md +0 -7
  43. package/lib/components/Icons/IconAddCircle.md +0 -7
  44. package/lib/components/Icons/IconArrow.md +0 -7
  45. package/lib/components/Icons/IconBarChart.md +0 -7
  46. package/lib/components/Icons/IconCalendar.md +0 -7
  47. package/lib/components/Icons/IconChat.md +0 -7
  48. package/lib/components/Icons/IconCheck.md +0 -7
  49. package/lib/components/Icons/IconClose.md +0 -7
  50. package/lib/components/Icons/IconCorrect.md +0 -7
  51. package/lib/components/Icons/IconEdit.md +0 -7
  52. package/lib/components/Icons/IconExam.md +0 -7
  53. package/lib/components/Icons/IconExternalLink.md +0 -7
  54. package/lib/components/Icons/IconEyeHide.md +0 -7
  55. package/lib/components/Icons/IconEyeShow.md +0 -7
  56. package/lib/components/Icons/IconFilter.md +0 -7
  57. package/lib/components/Icons/IconFilterActive.md +0 -7
  58. package/lib/components/Icons/IconFlag.md +0 -7
  59. package/lib/components/Icons/IconFlagContent.md +0 -7
  60. package/lib/components/Icons/IconFlagFeedback.md +0 -11
  61. package/lib/components/Icons/IconFlagFilled.md +0 -7
  62. package/lib/components/Icons/IconFullView.md +0 -7
  63. package/lib/components/Icons/IconFullViewActive.md +0 -7
  64. package/lib/components/Icons/IconHandle.md +0 -7
  65. package/lib/components/Icons/IconHeart.md +0 -7
  66. package/lib/components/Icons/IconHelp.md +0 -7
  67. package/lib/components/Icons/IconHourglass.md +0 -7
  68. package/lib/components/Icons/IconImage.md +0 -7
  69. package/lib/components/Icons/IconIncorrect.md +0 -7
  70. package/lib/components/Icons/IconInfo.md +0 -7
  71. package/lib/components/Icons/IconKeyboard.md +0 -7
  72. package/lib/components/Icons/IconLaunch.md +0 -7
  73. package/lib/components/Icons/IconLevelUp.md +0 -7
  74. package/lib/components/Icons/IconLightbulb.md +0 -5
  75. package/lib/components/Icons/IconLightning.md +0 -7
  76. package/lib/components/Icons/IconList.md +0 -7
  77. package/lib/components/Icons/IconLoading.md +0 -7
  78. package/lib/components/Icons/IconLoading2.md +0 -7
  79. package/lib/components/Icons/IconLock.md +0 -7
  80. package/lib/components/Icons/IconMissedQuestions.md +0 -7
  81. package/lib/components/Icons/IconMoon.md +0 -7
  82. package/lib/components/Icons/IconPaginationArrow.md +0 -7
  83. package/lib/components/Icons/IconPassage.md +0 -7
  84. package/lib/components/Icons/IconPencil.md +0 -7
  85. package/lib/components/Icons/IconPeople.md +0 -7
  86. package/lib/components/Icons/IconPercent.md +0 -7
  87. package/lib/components/Icons/IconPerson.md +0 -7
  88. package/lib/components/Icons/IconPreview.md +0 -7
  89. package/lib/components/Icons/IconQuestions.md +0 -7
  90. package/lib/components/Icons/IconQuick10.md +0 -7
  91. package/lib/components/Icons/IconRemoveCircle.md +0 -7
  92. package/lib/components/Icons/IconReviewFlag.md +0 -7
  93. package/lib/components/Icons/IconSearch.md +0 -7
  94. package/lib/components/Icons/IconShare.md +0 -7
  95. package/lib/components/Icons/IconSideBar.md +0 -7
  96. package/lib/components/Icons/IconSideBarActive.md +0 -7
  97. package/lib/components/Icons/IconStopwatch.md +0 -7
  98. package/lib/components/Icons/IconStrike.md +0 -60
  99. package/lib/components/Icons/IconSubject.md +0 -7
  100. package/lib/components/Icons/IconText.md +0 -7
  101. package/lib/components/Icons/IconTimer.md +0 -7
  102. package/lib/components/Icons/IconWarning.md +0 -7
  103. package/lib/components/Loaders/SkeletonLoader.md +0 -43
  104. package/lib/components/Modal/Modal.md +0 -31
  105. package/lib/components/Modal/ModalContainer.md +0 -96
  106. package/lib/components/Onboarding/EmailAuth.md +0 -40
  107. package/lib/components/Onboarding/MagicCodeEntry.md +0 -20
  108. package/lib/components/Pagination/QuestionReviewPagination.md +0 -19
  109. package/lib/components/Pagination/TablePagination.md +0 -19
  110. package/lib/components/PhonePerson/PhonePerson.md +0 -36
  111. package/lib/components/Quiz/FlagToggle.md +0 -37
  112. package/lib/components/Quiz/GlobalMetricsToggle.md +0 -46
  113. package/lib/components/Quiz/KeyboardShortcutsButton.md +0 -18
  114. package/lib/components/Quiz/KeyboardShortcutsModal.md +0 -71
  115. package/lib/components/Quiz/Question.md +0 -579
  116. package/lib/components/Quiz/QuizContainer.md +0 -91
  117. package/lib/components/Quiz/QuizProgress.md +0 -122
  118. package/lib/components/Quiz/QuizProgressBar.md +0 -131
  119. package/lib/components/Search/Pill.md +0 -37
  120. package/lib/components/Search/Search.md +0 -44
  121. package/lib/components/SidePanels/SidePanel.md +0 -126
  122. package/lib/components/Tables/StudyTable.md +0 -136
  123. package/lib/components/Tables/TeachTable.md +0 -696
  124. package/lib/components/Toasts/Toast.md +0 -35
  125. package/lib/components/Tooltips/OverflowTooltip.md +0 -14
  126. package/lib/components/Tooltips/Tooltip.md +0 -72
@@ -1,58 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <div class="light">
5
- <Link type="tertiary">Tertiary</Link>
6
- <br>
7
- <Link :has-icon="true">
8
- <Icon type="filter"/>
9
- Tertiary with Icon
10
- </Link>
11
- <br>
12
- <Link type="tertiary-red">Tertiary Red</Link>
13
- <br>
14
- <Link type="tertiary-small">Tertiary Small</Link>
15
- </div>
16
- <div class="dark">
17
- <Link isDarkMode="true" type="tertiary">Tertiary</Link>
18
- <br>
19
- <Link isDarkMode="true" :has-icon="true">
20
- <Icon type="filter"/>
21
- Tertiary with Icon
22
- </Link>
23
- <br>
24
- <Link isDarkMode="true" type="tertiary-red">Tertiary Red</Link>
25
- <br>
26
- <Link isDarkMode="true" type="tertiary-small">Tertiary Small</Link>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- import Icon from '../Icons/Icon.vue'
33
-
34
- export default {
35
- components: {
36
- Icon
37
- }
38
- }
39
- </script>
40
-
41
- <style>
42
- .light,
43
- .dark {
44
- padding: 30px;
45
- }
46
-
47
- .dark {
48
- background-color: #1f3545;
49
- }
50
-
51
- svg {
52
- width: 20px;
53
- vertical-align: top;
54
- margin-right: 5px;
55
- margin-top: -4px;
56
- }
57
- </style>
58
- ```
@@ -1,35 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <div class="light">
5
- <Tab :active="isActive" @click="isActive = !isActive">All Studying</Tab>
6
- <Tab :disabled="true">Disabled Tab</Tab>
7
- </div>
8
- <div class="dark">
9
- <Tab :isDarkMode="true" :active="isActive" @click="isActive = !isActive">All Studying</Tab>
10
- <Tab :isDarkMode="true" :disabled="true">Disabled Tab</Tab>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- export default {
17
- data () {
18
- return {
19
- isActive: false
20
- }
21
- }
22
- }
23
- </script>
24
-
25
- <style>
26
- .dark,
27
- .light {
28
- padding: 30px;
29
- }
30
-
31
- .dark {
32
- background-color: #1f3545;
33
- }
34
- </style>
35
- ```
@@ -1,18 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- Selected Date: {{ calendar }}
5
- <Calendar label="Scheduled Exam Date" placeholder="Set Exam Date" v-model="calendar" />
6
- </div>
7
- </template>
8
-
9
- <script>
10
- export default {
11
- data() {
12
- return {
13
- calendar: null,
14
- }
15
- }
16
- }
17
- </script>
18
- ```
@@ -1,123 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="bar-example">
4
- <div class="light">
5
- <div class="bar-container">
6
- <Bar
7
- title="Multiple Column Percent Chart"
8
- type="percent"
9
- size="small"
10
- :data="[{
11
- 'y': 50
12
- }, {
13
- 'y': 0
14
- }, {
15
- 'y': 100
16
- }, {
17
- 'y': 90
18
- }, {
19
- 'y': 70
20
- }, {
21
- 'y': 80
22
- }]"
23
- />
24
- <div class="bar-x-axis-multi">
25
- <span>Oldest</span>
26
- <span>Most Recent</span>
27
- </div>
28
- </div>
29
- <div class="bar-container">
30
- <Bar
31
- title="Single Column Percent Chart"
32
- type="percent"
33
- size="small"
34
- :data="[{
35
- info: '05.25.1992',
36
- 'y': 50
37
- }]"
38
- />
39
- <div class="bar-x-axis-single">
40
- <span>12/31</span>
41
- </div>
42
- </div>
43
- </div>
44
- <div class="dark">
45
- <div class="bar-container">
46
- <Bar
47
- title="Multiple Column Percent Chart"
48
- type="percent"
49
- :isDarkMode="true"
50
- size="small"
51
- :data="[{
52
- 'y': 50
53
- }, {
54
- 'y': 0
55
- }, {
56
- 'y': 100
57
- }, {
58
- 'y': 90
59
- }, {
60
- 'y': 70
61
- }, {
62
- 'y': 80
63
- }]"
64
- />
65
- <div class="bar-x-axis-multi">
66
- <span>Oldest</span>
67
- <span>Most Recent</span>
68
- </div>
69
- </div>
70
- <div class="bar-container">
71
- <Bar
72
- title="Single Column Percent Chart"
73
- type="percent"
74
- size="small"
75
- :isDarkMode="true"
76
- :data="[{
77
- info: '05.25.1992',
78
- 'y': 50
79
- }]"
80
- />
81
- <div class="bar-x-axis-single">
82
- <span>12/31</span>
83
- </div>
84
- </div>
85
- </div>
86
- </div>
87
- </template>
88
-
89
- <style>
90
- .bar-container {
91
- display: flex;
92
- flex-direction: column;
93
- align-items: center;
94
- width: 40%;
95
- }
96
-
97
- .bar-x-axis-multi {
98
- width: 85%;
99
- display: flex;
100
- justify-content: space-between;
101
- margin-right: 45px;
102
- }
103
-
104
- .bar-x-axis-single {
105
- width: 100%;
106
- display: flex;
107
- justify-content: center;
108
- padding-right: 45px;
109
- }
110
-
111
- .dark,
112
- .light {
113
- display: flex;
114
- justify-content: space-around;
115
- height: 350px;
116
- padding: 30px;
117
- }
118
-
119
- .dark {
120
- background-color: #1f3545;
121
- }
122
- </style>
123
- ```
@@ -1,23 +0,0 @@
1
- ```vue
2
- <template>
3
- <Pie
4
- :data="[{
5
- 'y': 10
6
- }, {
7
- 'y': 30
8
- }, {
9
- 'y': 5
10
- }, {
11
- 'y': 55
12
- }]"
13
- />
14
- </template>
15
-
16
- <style>
17
- .uikit-pie {
18
- height: 182px;
19
- width: 182px;
20
- display: block;
21
- }
22
- </style>
23
- ```
@@ -1,47 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <div class="control-container">
5
- <SegmentControl
6
- option1="Hide"
7
- option2="Show"
8
- @change="changeControl1"
9
- />
10
- Value: {{ control1 }}
11
- </div>
12
- <div class="control-container">
13
- <SegmentControl
14
- option1="Distribution"
15
- option2="Bar Graph"
16
- @change="changeControl2"
17
- />
18
- Value: {{ control2 }}
19
- </div>
20
- </div>
21
- </template>
22
-
23
- <script>
24
- export default {
25
- data () {
26
- return {
27
- control1: 1,
28
- control2: 1
29
- }
30
- },
31
- methods: {
32
- changeControl1 (option) {
33
- this.control1 = option
34
- },
35
- changeControl2 (option) {
36
- this.control2 = option
37
- }
38
- }
39
- }
40
- </script>
41
-
42
- <style>
43
- .control-container {
44
- padding: 10px;
45
- }
46
- </style>
47
- ```
@@ -1,67 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Button @click="isDarkMode = !isDarkMode">{{ isDarkMode ? 'Disable' : 'Enable' }} Dark Mode</Button>
5
- <div class="slider" :class="{ dark: isDarkMode }">
6
- <div class="slider-container">
7
- Large Slider:
8
- <Slider
9
- min="5"
10
- max="60"
11
- step="5"
12
- v-model="slider1"
13
- :isDarkMode="isDarkMode"
14
- />
15
- Value: {{ slider1 }}
16
- </div>
17
- <div class="slider-container">
18
- Small Slider:
19
- <Slider
20
- min="5"
21
- max="60"
22
- step="5"
23
- v-model="slider2"
24
- size="small"
25
- :isDarkMode="isDarkMode"
26
- />
27
- Value: {{ slider2 }}
28
- </div>
29
- </div>
30
- </div>
31
- </template>
32
-
33
- <script>
34
- export default {
35
- data () {
36
- return {
37
- slider1: 25,
38
- slider2: 25,
39
- isDarkMode: false,
40
- }
41
- }
42
- }
43
- </script>
44
-
45
- <style>
46
- .slider {
47
- padding: 30px;
48
- }
49
-
50
- .dark {
51
- background-color: #1f3545;
52
- color: white;
53
- }
54
-
55
- .uikit-btn {
56
- margin-bottom: 30px;
57
- }
58
-
59
- .slider-container {
60
- padding: 10px 10px 40px;
61
- }
62
-
63
- .slider-container:last-child {
64
- padding-bottom: 10px;
65
- }
66
- </style>
67
- ```
@@ -1,56 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Button @click="isDarkMode = !isDarkMode">{{ isDarkMode ? 'Disable' : 'Enable' }} Dark Mode</Button>
5
- <div class="toggles" :class="{ dark: isDarkMode }">
6
- <ToggleSwitch :isDarkMode="isDarkMode" v-model="control" />
7
- Value: {{ control }}<br>
8
- <br>
9
- <ToggleSwitch :isDarkMode="isDarkMode" v-model="control2" size="large" />
10
- Value: {{ control2 }}
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- import Button from '../Buttons/Button.vue'
17
-
18
- export default {
19
- components: {
20
- Button
21
- },
22
- data () {
23
- return {
24
- control: false,
25
- control2: true,
26
- isDarkMode: false,
27
- }
28
- },
29
- mounted () {
30
- // This tests that the ToggleSwitch component updates when the parent component updates the v-model value
31
- setTimeout(() => {
32
- this.control = true
33
- }, 1000)
34
- }
35
- }
36
- </script>
37
-
38
- <style>
39
- .toggles {
40
- padding: 30px;
41
- }
42
-
43
- .dark {
44
- background-color: #1f3545;
45
- color: #fff;
46
- }
47
-
48
- .uikit-btn {
49
- margin-bottom: 30px;
50
- }
51
-
52
- .uikit-toggle-switch {
53
- margin-bottom: 10px;
54
- }
55
- </style>
56
- ```
@@ -1,44 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <EmptyState
5
- title="Default empty state TITLE"
6
- message="Default empty state SUBHEAD"
7
- />
8
- <EmptyState
9
- title="No results for “vea”"
10
- message="Only question text is searchable. Check your spelling or try again."
11
- >
12
- <template #imageRow>
13
- <div />
14
- </template>
15
- </EmptyState>
16
- <EmptyState
17
- state="correct"
18
- title="0 Correct Questions"
19
- />
20
- <EmptyState
21
- state="correct"
22
- title="You don't have any correct questions."
23
- message="Let's start studying."
24
- blobColor="white"
25
- />
26
- <EmptyState
27
- state="incorrect"
28
- title="0 Incorrect Questions"
29
- message="Questions answered incorrectly by this student will appear here."
30
- />
31
- <EmptyState
32
- state="incorrect"
33
- title="You don't have any incorrect questions."
34
- message="Impressive!"
35
- blobColor="white"
36
- />
37
- <EmptyState
38
- state="flagged"
39
- title="0 Flagged Questions"
40
- message="Questions flagged by this student will appear here."
41
- />
42
- </div>
43
- </template>
44
- ```
@@ -1,45 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <SVGDefinitions />
5
- <ExamCard
6
- :exam="exam"
7
- :bundle="bundle"
8
- />
9
- <ExamCard
10
- :exam="exam"
11
- :bundle="bundle"
12
- :showCancelButton="true"
13
- />
14
- <ExamCard
15
- :exam="exam"
16
- :bundle="bundle"
17
- :disableInteraction="true"
18
- />
19
- </div>
20
- </template>
21
-
22
- <script>
23
- const exam = {
24
- objectId: 'o98Hn8iUO4',
25
- descriptiveName: 'College-level Biology Practice',
26
- nativeAppName: 'College Biology',
27
- itemCount: 100,
28
- archivedCount: 2,
29
- knowledgeAreas: ['', '']
30
- }
31
- const bundle = {
32
- name: 'Nursing School',
33
- objectId: '9970muCFGV'
34
- }
35
-
36
- export default {
37
- data () {
38
- return {
39
- exam,
40
- bundle
41
- }
42
- }
43
- }
44
- </script>
45
- ```
@@ -1,90 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="docs-exam-menu-card">
4
- <div>
5
- <Button @click="canClick = !canClick">
6
- {{ canClick ? 'Prevent' : 'Allow' }} Click
7
- </Button>
8
- <Button @click="showMenuArrow = !showMenuArrow">
9
- {{ showMenuArrow ? 'Hide' : 'Show' }} Menu Arrow
10
- </Button>
11
- <Button @click="isPremium = !isPremium">
12
- {{ isPremium ? 'Hide' : 'Show' }} Premium Badge
13
- </Button>
14
- </div>
15
- <SVGDefinitions />
16
- <ExamMenuCard
17
- class="docs-exam-menu-card__color"
18
- :exam="exam"
19
- :bundle-id="bundleId"
20
- :is-clickable="canClick"
21
- :show-menu-arrow="showMenuArrow"
22
- :menu-arrow-direction="menuArrowDirection"
23
- :is-premium="isPremium"
24
- @click="menuArrowDirection = menuArrowDirection === 'up' ? 'down' : 'up'"
25
- @keydown.enter="handleKeydown"
26
- />
27
- <ExamMenuCard
28
- class="docs-exam-menu-card__grayscale"
29
- :exam="exam"
30
- :bundle-id="bundleId"
31
- theme="grayscale"
32
- :is-clickable="canClick"
33
- :show-menu-arrow="showMenuArrow"
34
- :menu-arrow-direction="menuArrowDirection"
35
- :is-premium="isPremium"
36
- @click="menuArrowDirection = menuArrowDirection === 'up' ? 'down' : 'up'"
37
- @keydown.enter="handleKeydown"
38
- />
39
- <ExamMenuCard
40
- class="docs-exam-menu-card__silver"
41
- :exam="exam"
42
- :bundle-id="bundleId"
43
- theme="silver"
44
- :is-clickable="canClick"
45
- :show-menu-arrow="showMenuArrow"
46
- :menu-arrow-direction="menuArrowDirection"
47
- :is-premium="isPremium"
48
- @click="menuArrowDirection = menuArrowDirection === 'up' ? 'down' : 'up'"
49
- @keydown.enter="handleKeydown"
50
- />
51
- </div>
52
- </template>
53
-
54
- <script>
55
- export default {
56
- data () {
57
- const exam = {
58
- objectId: 'o98Hn8iUO4',
59
- descriptiveName: 'College-level Biology Practice',
60
- nativeAppName: 'College Biology',
61
- }
62
- const bundleId = '9970muCFGV'
63
- const canClick = false
64
- const showMenuArrow = false
65
- const menuArrowDirection = 'down'
66
- const isPremium = false
67
-
68
- return {
69
- exam,
70
- bundleId,
71
- canClick,
72
- showMenuArrow,
73
- menuArrowDirection,
74
- isPremium,
75
- }
76
- },
77
- methods: {
78
- handleKeydown () {
79
- this.menuArrowDirection = this.menuArrowDirection === 'up' ? 'down' : 'up'
80
- }
81
- }
82
- }
83
- </script>
84
- ```
85
-
86
- <style>
87
- .docs-exam-menu-card__silver {
88
- background-color: #1c2f3c;
89
- }
90
- </style>
@@ -1,68 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <FilterDropdown
5
- filterLabel="Filter"
6
- :radioEntries="radioOptions"
7
- :checkboxEntries="checkboxOptions"
8
- />
9
- <FilterDropdown
10
- filterLabel="Filter"
11
- :radioEntries="radioOptions"
12
- :checkboxEntries="checkboxOptions"
13
- >
14
- <template #checkboxLabelText>
15
- FILTER BY QUIZ MODE
16
- </template>
17
- </FilterDropdown>
18
- </div>
19
- </template>
20
-
21
- <script>
22
- export default {
23
- data () {
24
- return {
25
- radioOptions: [],
26
- checkboxOptions: [
27
- {
28
- id: 'airway',
29
- label: 'Airway, Respiration, & Ventilation (18)',
30
- enabled: false,
31
- },
32
- {
33
- id: 'cardio',
34
- label: 'Cardiology & Resuscitation (9)',
35
- enabled: false,
36
- },
37
- {
38
- id: 'ems',
39
- label: 'EMS Operations (5)',
40
- enabled: false,
41
- },
42
- {
43
- id: 'medical',
44
- label: 'Medical; Obstetrics & Gynecology (6)',
45
- enabled: false,
46
- },
47
- {
48
- id: 'trauma',
49
- label: 'Trauma (10)',
50
- enabled: false,
51
- },
52
- ]
53
- }
54
- }
55
- }
56
- </script>
57
-
58
- <style>
59
- .light,
60
- .dark {
61
- padding: 30px;
62
- }
63
-
64
- .dark {
65
- background-color: #1f3545;
66
- }
67
- </style>
68
- ```