@pocketprep/ui-kit 3.1.6 → 3.2.1

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 (129) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/README.md +29 -8
  3. package/dist/@pocketprep/ui-kit.js +1772 -1737
  4. package/dist/@pocketprep/ui-kit.js.map +1 -1
  5. package/dist/@pocketprep/ui-kit.umd.cjs +4 -4
  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/components/Icons/Icon.vue +3 -0
  10. package/lib/components/Icons/IconPresent.vue +21 -0
  11. package/lib/components/Icons/icon.d.ts +2 -1
  12. package/lib/pocketprep.scss +12 -12
  13. package/package.json +14 -13
  14. package/lib/components/Banners/Banner.md +0 -41
  15. package/lib/components/Blobs/Blob.md +0 -10
  16. package/lib/components/Blobs/BlobEmptyState.md +0 -9
  17. package/lib/components/BundleIcons/BundleIcon.md +0 -60
  18. package/lib/components/Bundles/BundleList.md +0 -63
  19. package/lib/components/Bundles/BundleSearch.md +0 -195
  20. package/lib/components/Bundles/PremiumPill.md +0 -23
  21. package/lib/components/Buttons/Button.md +0 -99
  22. package/lib/components/Buttons/Link.md +0 -58
  23. package/lib/components/Buttons/Tab.md +0 -35
  24. package/lib/components/Calendar/Calendar.md +0 -18
  25. package/lib/components/Charts/Bar.md +0 -123
  26. package/lib/components/Charts/Pie.md +0 -23
  27. package/lib/components/Controls/SegmentControl.md +0 -47
  28. package/lib/components/Controls/Slider.md +0 -67
  29. package/lib/components/Controls/ToggleSwitch.md +0 -56
  30. package/lib/components/EmptyStates/EmptyState.md +0 -44
  31. package/lib/components/Exams/ExamCard.md +0 -45
  32. package/lib/components/Exams/ExamMenuCard.md +0 -90
  33. package/lib/components/Filters/FilterDropdown.md +0 -68
  34. package/lib/components/Filters/FilterOptions.md +0 -67
  35. package/lib/components/Forms/Checkbox.md +0 -52
  36. package/lib/components/Forms/CheckboxOption.md +0 -37
  37. package/lib/components/Forms/Errors.md +0 -23
  38. package/lib/components/Forms/Input.md +0 -63
  39. package/lib/components/Forms/Radio.md +0 -66
  40. package/lib/components/Forms/Select.md +0 -133
  41. package/lib/components/Forms/Textarea.md +0 -57
  42. package/lib/components/Icons/Icon.md +0 -151
  43. package/lib/components/Icons/IconAccordionArrow.md +0 -7
  44. package/lib/components/Icons/IconActivity.md +0 -7
  45. package/lib/components/Icons/IconAdd.md +0 -7
  46. package/lib/components/Icons/IconAddCircle.md +0 -7
  47. package/lib/components/Icons/IconArrow.md +0 -7
  48. package/lib/components/Icons/IconBarChart.md +0 -7
  49. package/lib/components/Icons/IconCalendar.md +0 -7
  50. package/lib/components/Icons/IconChat.md +0 -7
  51. package/lib/components/Icons/IconCheck.md +0 -7
  52. package/lib/components/Icons/IconClose.md +0 -7
  53. package/lib/components/Icons/IconCorrect.md +0 -7
  54. package/lib/components/Icons/IconEdit.md +0 -7
  55. package/lib/components/Icons/IconExam.md +0 -7
  56. package/lib/components/Icons/IconExternalLink.md +0 -7
  57. package/lib/components/Icons/IconEyeHide.md +0 -7
  58. package/lib/components/Icons/IconEyeShow.md +0 -7
  59. package/lib/components/Icons/IconFilter.md +0 -7
  60. package/lib/components/Icons/IconFilterActive.md +0 -7
  61. package/lib/components/Icons/IconFlag.md +0 -7
  62. package/lib/components/Icons/IconFlagContent.md +0 -7
  63. package/lib/components/Icons/IconFlagFeedback.md +0 -11
  64. package/lib/components/Icons/IconFlagFilled.md +0 -7
  65. package/lib/components/Icons/IconFullView.md +0 -7
  66. package/lib/components/Icons/IconFullViewActive.md +0 -7
  67. package/lib/components/Icons/IconHandle.md +0 -7
  68. package/lib/components/Icons/IconHeart.md +0 -7
  69. package/lib/components/Icons/IconHelp.md +0 -7
  70. package/lib/components/Icons/IconHourglass.md +0 -7
  71. package/lib/components/Icons/IconImage.md +0 -7
  72. package/lib/components/Icons/IconIncorrect.md +0 -7
  73. package/lib/components/Icons/IconInfo.md +0 -7
  74. package/lib/components/Icons/IconKeyboard.md +0 -7
  75. package/lib/components/Icons/IconLaunch.md +0 -7
  76. package/lib/components/Icons/IconLevelUp.md +0 -7
  77. package/lib/components/Icons/IconLightbulb.md +0 -5
  78. package/lib/components/Icons/IconLightning.md +0 -7
  79. package/lib/components/Icons/IconList.md +0 -7
  80. package/lib/components/Icons/IconLoading.md +0 -7
  81. package/lib/components/Icons/IconLoading2.md +0 -7
  82. package/lib/components/Icons/IconLock.md +0 -7
  83. package/lib/components/Icons/IconMissedQuestions.md +0 -7
  84. package/lib/components/Icons/IconMoon.md +0 -7
  85. package/lib/components/Icons/IconPaginationArrow.md +0 -7
  86. package/lib/components/Icons/IconPassage.md +0 -7
  87. package/lib/components/Icons/IconPencil.md +0 -7
  88. package/lib/components/Icons/IconPeople.md +0 -7
  89. package/lib/components/Icons/IconPercent.md +0 -7
  90. package/lib/components/Icons/IconPerson.md +0 -7
  91. package/lib/components/Icons/IconPreview.md +0 -7
  92. package/lib/components/Icons/IconQuestions.md +0 -7
  93. package/lib/components/Icons/IconQuick10.md +0 -7
  94. package/lib/components/Icons/IconRemoveCircle.md +0 -7
  95. package/lib/components/Icons/IconReviewFlag.md +0 -7
  96. package/lib/components/Icons/IconSearch.md +0 -7
  97. package/lib/components/Icons/IconShare.md +0 -7
  98. package/lib/components/Icons/IconSideBar.md +0 -7
  99. package/lib/components/Icons/IconSideBarActive.md +0 -7
  100. package/lib/components/Icons/IconStopwatch.md +0 -7
  101. package/lib/components/Icons/IconStrike.md +0 -60
  102. package/lib/components/Icons/IconSubject.md +0 -7
  103. package/lib/components/Icons/IconText.md +0 -7
  104. package/lib/components/Icons/IconTimer.md +0 -7
  105. package/lib/components/Icons/IconWarning.md +0 -7
  106. package/lib/components/Loaders/SkeletonLoader.md +0 -43
  107. package/lib/components/Modal/Modal.md +0 -31
  108. package/lib/components/Modal/ModalContainer.md +0 -96
  109. package/lib/components/Onboarding/EmailAuth.md +0 -40
  110. package/lib/components/Onboarding/MagicCodeEntry.md +0 -20
  111. package/lib/components/Pagination/QuestionReviewPagination.md +0 -19
  112. package/lib/components/Pagination/TablePagination.md +0 -19
  113. package/lib/components/PhonePerson/PhonePerson.md +0 -36
  114. package/lib/components/Quiz/FlagToggle.md +0 -37
  115. package/lib/components/Quiz/GlobalMetricsToggle.md +0 -46
  116. package/lib/components/Quiz/KeyboardShortcutsButton.md +0 -18
  117. package/lib/components/Quiz/KeyboardShortcutsModal.md +0 -71
  118. package/lib/components/Quiz/Question.md +0 -579
  119. package/lib/components/Quiz/QuizContainer.md +0 -91
  120. package/lib/components/Quiz/QuizProgress.md +0 -122
  121. package/lib/components/Quiz/QuizProgressBar.md +0 -131
  122. package/lib/components/Search/Pill.md +0 -37
  123. package/lib/components/Search/Search.md +0 -44
  124. package/lib/components/SidePanels/SidePanel.md +0 -126
  125. package/lib/components/Tables/StudyTable.md +0 -136
  126. package/lib/components/Tables/TeachTable.md +0 -696
  127. package/lib/components/Toasts/Toast.md +0 -35
  128. package/lib/components/Tooltips/OverflowTooltip.md +0 -14
  129. package/lib/components/Tooltips/Tooltip.md +0 -72
@@ -1,7 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Icon type="sideBarActive" />
5
- </div>
6
- </template>
7
- ```
@@ -1,7 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Icon type="stopwatch" />
5
- </div>
6
- </template>
7
- ```
@@ -1,60 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="icon-strike">
4
- <div class="icon-strike__normal">
5
- <Icon type="strike" />
6
- </div>
7
- <div class="icon-strike__hover">
8
- <Icon type="strike" />
9
- </div>
10
- <div class="icon-strike__focus">
11
- <Icon type="strike" />
12
- </div>
13
- <div class="icon-strike__selected">
14
- <Icon type="strike" />
15
- </div>
16
- </div>
17
- </template>
18
-
19
- <style>
20
- .icon-strike {
21
- display: flex;
22
- align-items: center;
23
- color: #587183;
24
- }
25
-
26
- /* stylelint-disable-next-line */
27
- .icon-strike >div {
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- width: 20px;
32
- height: 22px;
33
- margin-right: 20px;
34
- }
35
-
36
- .icon-strike__normal {
37
- background-color: #f4f5f9;
38
- border-radius: 2px;
39
- }
40
-
41
- .icon-strike__hover {
42
- background-color: rgba(207, 225, 255, 0.674);
43
- border-radius: 2px;
44
- color: #0064ff;
45
- }
46
-
47
- .icon-strike__focus {
48
- color: #0064ff;
49
- background-color: #f4f5f9;
50
- border: 1px solid #0064ff;
51
- border-radius: 2px;
52
- }
53
-
54
- .icon-strike__selected {
55
- background-color: #0064ff;
56
- border-radius: 2px;
57
- color: white;
58
- }
59
- </style>
60
- ```
@@ -1,7 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Icon type="subject" />
5
- </div>
6
- </template>
7
- ```
@@ -1,7 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Icon type="text" title="test" />
5
- </div>
6
- </template>
7
- ```
@@ -1,7 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Icon type="timer" />
5
- </div>
6
- </template>
7
- ```
@@ -1,7 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Icon type="warning" title="test" />
5
- </div>
6
- </template>
7
- ```
@@ -1,43 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <div>
5
- <SkeletonLoader class="skeletonLoader" />
6
- </div>
7
- <div>
8
- <SkeletonLoader class="skeletonLoader2" />
9
- </div>
10
- <div>
11
- <SkeletonLoader class="skeletonLoader3" />
12
- </div>
13
- <div>
14
- <SkeletonLoader class="skeletonLoader4" />
15
- </div>
16
- </div>
17
- </template>
18
- <script>
19
-
20
- export default {
21
- }
22
- </script>
23
-
24
- <style>
25
- .skeletonLoader,
26
- .skeletonLoader2 {
27
- height: 24px;
28
- width: 60px;
29
- margin-bottom: 20px;
30
- }
31
-
32
- .skeletonLoader3 {
33
- height: 24px;
34
- width: 80px;
35
- margin-bottom: 20px;
36
- }
37
- .skeletonLoader4 {
38
- height: 24px;
39
- width: 100px;
40
- margin-bottom: 20px;
41
- }
42
- </style>
43
- ```
@@ -1,31 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="custom-modal-container">
4
- <Modal :showCloseButton="true">
5
- <template #head>
6
- Head section
7
- </template>
8
- <div class="modal-content">
9
- Custom modal component
10
- </div>
11
- </Modal>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- export default {
17
-
18
- }
19
- </script>
20
-
21
- <style>
22
- .custom-modal-container {
23
- position: relative;
24
- }
25
-
26
- .modal-content {
27
- background: white;
28
- padding: 20px;
29
- }
30
- </style>
31
- ```
@@ -1,96 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Button @click="showModal1 = true">Show Modal 1</Button>
5
- <ModalContainer v-if="showModal1" :showCloseButton="true" @close="showModal1 = false">
6
- <template #head>
7
- Head section
8
- </template>
9
- <div class="modal1">
10
- Modal 1 with head section and close button
11
- </div>
12
- </ModalContainer>
13
- <Button @click="showModal2 = true">Show Dark Mode Modal 2</Button>
14
- <ModalContainer v-if="showModal2" :showCloseButton="true" @close="showModal2 = false" :isDarkMode="true">
15
- <template #head>
16
- Head section
17
- </template>
18
- <div class="modal2">
19
- Modal 2 with head section and close button
20
- </div>
21
- </ModalContainer>
22
- <Button @click="showModal3 = true">Show Modal 3</Button>
23
- <ModalContainer v-if="showModal3" :showCloseButton="true" @close="showModal3 = false">
24
- <template #modal>
25
- <Modal class="modal3">
26
- Modal 3 using Modal component for style overrides
27
- <ul class="modal3__list">
28
- <li class="modal3__list-item">ABC</li>
29
- <li class="modal3__list-item">DEF</li>
30
- <li class="modal3__list-item">GHI</li>
31
- <li class="modal3__list-item">JKL</li>
32
- <li class="modal3__list-item">MNO</li>
33
- <li class="modal3__list-item">PQR</li>
34
- <li class="modal3__list-item">STU</li>
35
- <li class="modal3__list-item">VWX</li>
36
- </ul>
37
- </Modal>
38
- </template>
39
- </ModalContainer>
40
- </div>
41
- </template>
42
-
43
- <script>
44
- export default {
45
- data() {
46
- return {
47
- showModal1: false,
48
- showModal2: false,
49
- showModal3: false,
50
- }
51
- }
52
- }
53
- </script>
54
-
55
- <style>
56
- .modal1,
57
- .modal2 {
58
- padding: 20px;
59
- }
60
-
61
- .modal3 {
62
- position: absolute;
63
- top: 10px;
64
- right: 10px;
65
- height: 50px;
66
- padding: 20px;
67
- background-color: #0064ff;
68
- color: white;
69
- border-radius: 30px;
70
- }
71
-
72
- .modal3__list {
73
- padding: 0;
74
- list-style: none;
75
- background-color: white;
76
- border: 1px solid black;
77
- color: black;
78
- }
79
-
80
- .modal3__list-item {
81
- padding: 5px;
82
- }
83
-
84
- .modal3__list-item:nth-child(-n+7) {
85
- border-bottom: 1px solid gray;
86
- }
87
-
88
- @media (max-width: 767px) {
89
- .modal3 {
90
- left: 10px;
91
- right: 10px;
92
- height: 90%;
93
- }
94
- }
95
- </style>
96
- ```
@@ -1,40 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <pre>
5
- Code: {{ code }}
6
- </pre>
7
- <EmailAuth
8
- class="email-auth"
9
- email="test@pocketprep.com"
10
- @resend="resendEmail"
11
- @submit="submitEmailAuth"
12
- v-model="code"
13
- />
14
- </div>
15
- </template>
16
-
17
- <script>
18
- export default {
19
- data () {
20
- return {
21
- code: ''
22
- }
23
- },
24
- methods: {
25
- resendEmail: function () {
26
- alert('Resend email')
27
- },
28
- submitEmailAuth: function ({ email, code }) {
29
- alert(`Form submit with data- { email: ${email}, code: ${ code } }`)
30
- }
31
- }
32
- }
33
- </script>
34
-
35
- <style>
36
- .email-auth {
37
- background-color: #fff9ef;
38
- }
39
- </style>
40
- ```
@@ -1,20 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <pre>
5
- Code: {{ code }}
6
- </pre>
7
- <MagicCodeEntry v-model="code" />
8
- </div>
9
- </template>
10
-
11
- <script>
12
- export default {
13
- data () {
14
- return {
15
- code: ''
16
- }
17
- }
18
- }
19
- </script>
20
- ```
@@ -1,19 +0,0 @@
1
- ```vue
2
- <template>
3
- <QuestionReviewPagination :currentPage="currentPage" :total="10" @changePage="val => currentPage = val" />
4
- </template>
5
- <script>
6
- import QuestionReviewPagination from '@/components/Pagination/QuestionReviewPagination.vue'
7
-
8
- export default {
9
- data () {
10
- return {
11
- currentPage: 0
12
- }
13
- },
14
- components: {
15
- QuestionReviewPagination,
16
- },
17
- }
18
- </script>
19
- ```
@@ -1,19 +0,0 @@
1
- ```vue
2
- <template>
3
- <TablePagination :perPage="10" unit="things" :currentPage="currentPage" :total="45" @changePage="val => currentPage = val" />
4
- </template>
5
- <script>
6
- import TablePagination from '@/components/Pagination/TablePagination.vue'
7
-
8
- export default {
9
- data () {
10
- return {
11
- currentPage: 0
12
- }
13
- },
14
- components: {
15
- TablePagination,
16
- },
17
- }
18
- </script>
19
- ```
@@ -1,36 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="phone-people">
4
- <PhonePerson bundleId="mO5EIsoZ9H" />
5
- <PhonePerson bundleId="uKLwvbsbPV" />
6
- <PhonePerson bundleId="gAlCkoUVLl" />
7
- <PhonePerson bundleId="GVCNrq4ixh" />
8
- <PhonePerson bundleId="PusoOu7qGQ" />
9
- <PhonePerson bundleId="1kS20KPPkH" />
10
- <PhonePerson bundleId="tVMt7KCrkQ" />
11
- <PhonePerson bundleId="4dTgUX97Dk" />
12
- <PhonePerson bundleId="9970muCFGV" />
13
- <PhonePerson bundleId="k9T5L3kC0U" />
14
- <PhonePerson bundleId="DO5jBm0OJo" />
15
- </div>
16
- </template>
17
-
18
- <script>
19
- export default {
20
- data () {
21
- return {}
22
- }
23
- }
24
- </script>
25
-
26
- <style>
27
- .phone-people {
28
- display: flex;
29
- flex-wrap: wrap;
30
- }
31
-
32
- .phone-people img {
33
- width: 150px;
34
- }
35
- </style>
36
- ```
@@ -1,37 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="docs-flag-toggle">
4
- <FlagToggle
5
- :is-flagged="isFlagged"
6
- @toggleFlag="toggleFlag"
7
- />
8
- </div>
9
- </template>
10
-
11
- <script>
12
- export default {
13
- data () {
14
- return {
15
- isFlagged: false,
16
- }
17
- },
18
- methods: {
19
- toggleFlag (newVal) {
20
- this.isFlagged = newVal
21
- },
22
- },
23
- }
24
- </script>
25
-
26
- <style>
27
- .docs-flag-toggle {
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- width: 200px;
32
- height: 200px;
33
- background-color: #1f3545;
34
- color: white;
35
- }
36
- </style>
37
- ```
@@ -1,46 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <div class="docs-global-metrics-toggle">
5
- <GlobalMetricsToggle
6
- :showGlobalMetrics="showGlobalMetrics"
7
- @toggleGlobalMetrics="toggleGlobalMetrics"
8
- />
9
- </div>
10
- <div class="docs-global-metrics-toggle">
11
- <GlobalMetricsToggle
12
- :disabled="true"
13
- :showGlobalMetrics="showGlobalMetrics"
14
- @toggleGlobalMetrics="toggleGlobalMetrics"
15
- />
16
- </div>
17
- </div>
18
- </template>
19
-
20
- <script>
21
- export default {
22
- data () {
23
- return {
24
- showGlobalMetrics: false,
25
- }
26
- },
27
- methods: {
28
- toggleGlobalMetrics (newVal) {
29
- this.showGlobalMetrics = newVal
30
- },
31
- },
32
- }
33
- </script>
34
-
35
- <style>
36
- .docs-global-metrics-toggle {
37
- display: flex;
38
- align-items: center;
39
- justify-content: center;
40
- width: 200px;
41
- height: 200px;
42
- background-color: #1f3545;
43
- color: white;
44
- }
45
- </style>
46
- ```
@@ -1,18 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="docs-keyboard-shortcuts-btn">
4
- <KeyboardShortcutsButton />
5
- </div>
6
- </template>
7
- <style>
8
- .docs-keyboard-shortcuts-btn {
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- width: 200px;
13
- height: 200px;
14
- background-color: #1f3545;
15
- color: white;
16
- }
17
- </style>
18
- ```
@@ -1,71 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="docs-keyboard-shortcuts-modal">
4
- <Button
5
- @click="showQuizKeyboardShortcutsModal = true;
6
- showReviewKeyboardShortcutsModal = false;
7
- showTeachKeyboardShortcutsModal = false"
8
- >
9
- Show Quiz Mode Keyboard Shortcuts
10
- </Button>
11
- <Button
12
- @click="showQuizKeyboardShortcutsModal = false;
13
- showTeachKeyboardShortcutsModal = false;
14
- showReviewKeyboardShortcutsModal = true"
15
- >
16
- Show Review Mode Keyboard Shortcuts
17
- </Button>
18
- <Button
19
- @click="showQuizKeyboardShortcutsModal = false;
20
- showReviewKeyboardShortcutsModal = false;
21
- showTeachKeyboardShortcutsModal = true"
22
- >
23
- Show Teach Mode Keyboard Shortcuts
24
- </Button>
25
- <Button @click="isDarkMode = !isDarkMode">
26
- {{ isDarkMode ? 'Disable' : 'Enable' }} Dark Mode
27
- </Button>
28
- <KeyboardShortcutsModal
29
- v-if="showQuizKeyboardShortcutsModal"
30
- @toggleKeyboardShortcuts="toggleKeyboardShortcuts"
31
- :allowKeyboardShortcuts="allowKeyboardShortcuts"
32
- @close="showQuizKeyboardShortcutsModal = false"
33
- :isDarkMode="isDarkMode"
34
- />
35
- <KeyboardShortcutsModal
36
- v-if="showReviewKeyboardShortcutsModal"
37
- keyboardMode="review"
38
- @toggleKeyboardShortcuts="toggleKeyboardShortcuts"
39
- :allowKeyboardShortcuts="allowKeyboardShortcuts"
40
- @close="showReviewKeyboardShortcutsModal = false"
41
- :isDarkMode="isDarkMode"
42
- />
43
- <KeyboardShortcutsModal
44
- v-if="showTeachKeyboardShortcutsModal"
45
- keyboardMode="teach"
46
- @toggleKeyboardShortcuts="toggleKeyboardShortcuts"
47
- :allowKeyboardShortcuts="allowKeyboardShortcuts"
48
- @close="showTeachKeyboardShortcutsModal = false"
49
- />
50
- </div>
51
- </template>
52
-
53
- <script>
54
- export default {
55
- data () {
56
- return {
57
- showQuizKeyboardShortcutsModal: false,
58
- showReviewKeyboardShortcutsModal: false,
59
- showTeachKeyboardShortcutsModal: false,
60
- allowKeyboardShortcuts: false,
61
- isDarkMode: false
62
- }
63
- },
64
- methods: {
65
- toggleKeyboardShortcuts (newVal) {
66
- this.allowKeyboardShortcuts = newVal
67
- }
68
- }
69
- }
70
- </script>
71
- ```