@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,35 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Button @click="isDarkMode = !isDarkMode">{{ isDarkMode ? 'Disable' : 'Enable' }} Dark Mode</Button>
5
- <Button @click="showToast1 = !showToast1">{{ showToast1 ? 'Hide' : 'Show' }} Toast 1</Button>
6
- <Button @click="showToast2 = !showToast2">{{ showToast2 ? 'Hide' : 'Show' }} Toast 1</Button>
7
- <Toast @close="showToast1 = false" :isDarkMode="isDarkMode" v-if="showToast1">
8
- ATI TEAS exam added.
9
- </Toast>
10
- <Toast @close="showToast2 = false" :isDarkMode="isDarkMode" v-if="showToast2">
11
- ATI TEAS exam added.
12
- <template #subtext>
13
- Edit and remove exams in Settings > Your Exams.
14
- </template>
15
- </Toast>
16
- </div>
17
- </template>
18
-
19
- <script>
20
- import Button from '../Buttons/Button.vue'
21
-
22
- export default {
23
- components: {
24
- Button
25
- },
26
- data() {
27
- return {
28
- isDarkMode: false,
29
- showToast1: false,
30
- showToast2: false
31
- }
32
- }
33
- }
34
- </script>
35
- ```
@@ -1,14 +0,0 @@
1
- ```vue
2
- <template>
3
- <div class="overflow-tooltip">
4
- <OverflowTooltip>
5
- Test overflow text
6
- </OverflowTooltip>
7
- </div>
8
- </template>
9
- <style>
10
- .overflow-tooltip {
11
- width: 100px;
12
- }
13
- </style>
14
- ```
@@ -1,72 +0,0 @@
1
- ```vue
2
- <template>
3
- <div>
4
- <Button @click="isDarkMode = !isDarkMode">{{ isDarkMode ? 'Disable' : 'Enable' }} Dark Mode</Button>
5
- <div class="tooltips" :class="{ dark: isDarkMode }">
6
- <div class="tooltip-container">
7
- <Tooltip :isDarkMode="isDarkMode" v-if="showTooltip1">Regular Tooltip</Tooltip>
8
- <Button @mouseover="showTooltip1 = true" @mouseout="showTooltip1 = false">Tooltip Regular</Button>
9
- </div>
10
- <div class="tooltip-container">
11
- <Tooltip :isDarkMode="isDarkMode" theme="leftalign" v-if="showTooltip2">Left Aligned Tooltip</Tooltip>
12
- <Button @mouseover="showTooltip2 = true" @mouseout="showTooltip2 = false">Tooltip Left</Button>
13
- </div>
14
- <div class="tooltip-container">
15
- <Tooltip :isDarkMode="isDarkMode" theme="rightalign" v-if="showTooltip3">Right Aligned Tooltip</Tooltip>
16
- <Button @mouseover="showTooltip3 = true" @mouseout="showTooltip3 = false">Tooltip Right</Button>
17
- </div>
18
- <div class="tooltip-container">
19
- <Tooltip
20
- v-if="showTooltip4"
21
- :styles="{
22
- backgroundColor: '#14ca9e',
23
- color: '#1f3545'
24
- }"
25
- >Custom Style Tooltip</Tooltip>
26
- <Button @mouseover="showTooltip4 = true" @mouseout="showTooltip4 = false">Tooltip Custom</Button>
27
- </div>
28
- </div>
29
- </div>
30
- </template>
31
-
32
- <script lang="ts">
33
- import Button from '../Buttons/Button.vue'
34
-
35
- export default {
36
- components: {
37
- Button
38
- },
39
- data () {
40
- return {
41
- isDarkMode: false,
42
- showTooltip1: false,
43
- showTooltip2: false,
44
- showTooltip3: false,
45
- showTooltip4: false,
46
- }
47
- },
48
- }
49
- </script>
50
-
51
- <style>
52
- .tooltips {
53
- padding: 30px;
54
- }
55
-
56
- .dark {
57
- background-color: #1f3545;
58
- }
59
-
60
- .tooltip-container {
61
- position: relative;
62
- display: inline-block;
63
- margin: 0 10px;
64
- }
65
-
66
- .uikit-tooltip {
67
- position: absolute;
68
- left: 50%;
69
- top: -100%;
70
- }
71
- </style>
72
- ```