@pocketprep/ui-kit 2.0.40 → 3.0.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.
- package/{.eslintrc.js → .eslintrc.cjs} +16 -17
- package/dist/@pocketprep/ui-kit.js +18856 -0
- package/dist/@pocketprep/ui-kit.js.map +1 -0
- package/dist/@pocketprep/ui-kit.umd.cjs +28 -0
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -0
- package/dist/style.css +1 -0
- package/lib/SVGDefinitions.vue +85 -0
- package/lib/assets/emojis/tada.png +0 -0
- package/lib/assets/halftones/halftone-black.png +0 -0
- package/lib/assets/halftones/halftone-blue.png +0 -0
- package/lib/assets/halftones/halftone-green.png +0 -0
- package/lib/assets/halftones/halftone-purple.png +0 -0
- package/lib/assets/halftones/halftone-red.png +0 -0
- package/lib/assets/halftones/halftone-yellow.png +0 -0
- package/lib/assets/question/paywall-dark.png +0 -0
- package/lib/assets/question/paywall-light.png +0 -0
- package/lib/components/Banners/Banner.md +41 -0
- package/lib/components/Banners/Banner.vue +87 -0
- package/lib/components/BundleIcons/AMTA.vue +134 -0
- package/lib/components/BundleIcons/BundleIcon.md +60 -0
- package/lib/components/BundleIcons/BundleIcon.vue +111 -0
- package/lib/components/Bundles/BundleList.md +63 -0
- package/lib/components/Bundles/BundleList.vue +170 -0
- package/lib/components/Bundles/BundleSearch.md +195 -0
- package/lib/components/Bundles/BundleSearch.vue +573 -0
- package/lib/components/Bundles/PremiumPill.md +23 -0
- package/lib/components/Bundles/PremiumPill.vue +43 -0
- package/lib/components/Buttons/Button.md +99 -0
- package/lib/components/Buttons/Button.vue +496 -0
- package/lib/components/Buttons/Link.md +58 -0
- package/lib/components/Buttons/Link.vue +192 -0
- package/lib/components/Buttons/Tab.md +35 -0
- package/lib/components/Buttons/Tab.vue +103 -0
- package/lib/components/Calendar/Calendar.md +18 -0
- package/lib/components/Calendar/Calendar.vue +162 -0
- package/lib/components/Charts/Bar.md +123 -0
- package/lib/components/Charts/Bar.vue +364 -0
- package/lib/components/Charts/Pie.md +23 -0
- package/lib/components/Charts/Pie.vue +105 -0
- package/lib/components/Controls/SegmentControl.md +47 -0
- package/lib/components/Controls/SegmentControl.vue +117 -0
- package/lib/components/Controls/Slider.md +67 -0
- package/lib/components/Controls/Slider.vue +358 -0
- package/lib/components/Controls/ToggleSwitch.md +56 -0
- package/lib/components/Controls/ToggleSwitch.vue +160 -0
- package/lib/components/Exams/ExamCard.md +45 -0
- package/lib/components/Exams/ExamCard.vue +257 -0
- package/lib/components/Exams/ExamMenuCard.md +90 -0
- package/lib/components/Exams/ExamMenuCard.vue +218 -0
- package/lib/components/Filters/FilterDropdown.md +59 -0
- package/lib/components/Filters/FilterDropdown.vue +176 -0
- package/lib/components/Filters/FilterOptions.md +65 -0
- package/lib/components/Filters/FilterOptions.vue +265 -0
- package/lib/components/Filters/filterOptions.d.ts +10 -0
- package/lib/components/Forms/Checkbox.md +52 -0
- package/lib/components/Forms/Checkbox.vue +184 -0
- package/lib/components/Forms/CheckboxOption.md +37 -0
- package/lib/components/Forms/CheckboxOption.vue +173 -0
- package/lib/components/Forms/Errors.md +23 -0
- package/lib/components/Forms/Errors.vue +109 -0
- package/lib/components/Forms/Input.md +63 -0
- package/lib/components/Forms/Input.vue +310 -0
- package/lib/components/Forms/Radio.md +66 -0
- package/lib/components/Forms/Radio.vue +312 -0
- package/lib/components/Forms/Select.md +133 -0
- package/lib/components/Forms/Select.vue +670 -0
- package/lib/components/Forms/Textarea.md +57 -0
- package/lib/components/Forms/Textarea.vue +157 -0
- package/lib/components/Icons/Icon.md +146 -0
- package/lib/components/Icons/Icon.vue +192 -0
- package/lib/components/Icons/IconAccordionArrow.md +7 -0
- package/lib/components/Icons/IconAccordionArrow.vue +23 -0
- package/lib/components/Icons/IconActivity.md +7 -0
- package/lib/components/Icons/IconActivity.vue +21 -0
- package/lib/components/Icons/IconAdd.md +7 -0
- package/lib/components/Icons/IconAdd.vue +19 -0
- package/lib/components/Icons/IconAddCircle.md +7 -0
- package/lib/components/Icons/IconAddCircle.vue +22 -0
- package/lib/components/Icons/IconArrow.md +7 -0
- package/lib/components/Icons/IconArrow.vue +21 -0
- package/lib/components/Icons/IconBarChart.md +7 -0
- package/lib/components/Icons/IconBarChart.vue +23 -0
- package/lib/components/Icons/IconCalendar.md +7 -0
- package/lib/components/Icons/IconCalendar.vue +19 -0
- package/lib/components/Icons/IconCheck.md +7 -0
- package/lib/components/Icons/IconCheck.vue +21 -0
- package/lib/components/Icons/IconClose.md +7 -0
- package/lib/components/Icons/IconClose.vue +23 -0
- package/lib/components/Icons/IconCorrect.md +7 -0
- package/lib/components/Icons/IconCorrect.vue +19 -0
- package/lib/components/Icons/IconEdit.md +7 -0
- package/lib/components/Icons/IconEdit.vue +21 -0
- package/lib/components/Icons/IconExam.md +7 -0
- package/lib/components/Icons/IconExam.vue +34 -0
- package/lib/components/Icons/IconExternalLink.md +7 -0
- package/lib/components/Icons/IconExternalLink.vue +30 -0
- package/lib/components/Icons/IconEyeHide.md +7 -0
- package/lib/components/Icons/IconEyeHide.vue +21 -0
- package/lib/components/Icons/IconEyeShow.md +7 -0
- package/lib/components/Icons/IconEyeShow.vue +21 -0
- package/lib/components/Icons/IconFilter.md +7 -0
- package/lib/components/Icons/IconFilter.vue +19 -0
- package/lib/components/Icons/IconFilterActive.md +7 -0
- package/lib/components/Icons/IconFilterActive.vue +20 -0
- package/lib/components/Icons/IconFlag.md +7 -0
- package/lib/components/Icons/IconFlag.vue +25 -0
- package/lib/components/Icons/IconFlagFeedback.md +11 -0
- package/lib/components/Icons/IconFlagFeedback.vue +24 -0
- package/lib/components/Icons/IconFlagFilled.md +7 -0
- package/lib/components/Icons/IconFlagFilled.vue +22 -0
- package/lib/components/Icons/IconFullView.md +7 -0
- package/lib/components/Icons/IconFullView.vue +30 -0
- package/lib/components/Icons/IconFullViewActive.md +7 -0
- package/lib/components/Icons/IconFullViewActive.vue +28 -0
- package/lib/components/Icons/IconHandle.md +7 -0
- package/lib/components/Icons/IconHandle.vue +23 -0
- package/lib/components/Icons/IconHeart.md +7 -0
- package/lib/components/Icons/IconHeart.vue +19 -0
- package/lib/components/Icons/IconHelp.md +7 -0
- package/lib/components/Icons/IconHelp.vue +25 -0
- package/lib/components/Icons/IconHourglass.md +7 -0
- package/lib/components/Icons/IconHourglass.vue +22 -0
- package/lib/components/Icons/IconImage.md +7 -0
- package/lib/components/Icons/IconImage.vue +21 -0
- package/lib/components/Icons/IconIncorrect.md +7 -0
- package/lib/components/Icons/IconIncorrect.vue +21 -0
- package/lib/components/Icons/IconInfo.md +7 -0
- package/lib/components/Icons/IconInfo.vue +24 -0
- package/lib/components/Icons/IconKeyboard.md +7 -0
- package/lib/components/Icons/IconKeyboard.vue +25 -0
- package/lib/components/Icons/IconLaunch.md +7 -0
- package/lib/components/Icons/IconLaunch.vue +25 -0
- package/lib/components/Icons/IconLightning.md +7 -0
- package/lib/components/Icons/IconLightning.vue +21 -0
- package/lib/components/Icons/IconList.md +7 -0
- package/lib/components/Icons/IconList.vue +26 -0
- package/lib/components/Icons/IconLoading.md +7 -0
- package/lib/components/Icons/IconLoading.vue +65 -0
- package/lib/components/Icons/IconLoading2.md +7 -0
- package/lib/components/Icons/IconLoading2.vue +52 -0
- package/lib/components/Icons/IconLock.md +7 -0
- package/lib/components/Icons/IconLock.vue +23 -0
- package/lib/components/Icons/IconMissedQuestions.md +7 -0
- package/lib/components/Icons/IconMissedQuestions.vue +22 -0
- package/lib/components/Icons/IconMoon.md +7 -0
- package/lib/components/Icons/IconMoon.vue +25 -0
- package/lib/components/Icons/IconPaginationArrow.md +7 -0
- package/lib/components/Icons/IconPaginationArrow.vue +23 -0
- package/lib/components/Icons/IconPassage.md +7 -0
- package/lib/components/Icons/IconPassage.vue +22 -0
- package/lib/components/Icons/IconPencil.md +7 -0
- package/lib/components/Icons/IconPencil.vue +19 -0
- package/lib/components/Icons/IconPeople.md +7 -0
- package/lib/components/Icons/IconPeople.vue +25 -0
- package/lib/components/Icons/IconQuestions.md +7 -0
- package/lib/components/Icons/IconQuestions.vue +25 -0
- package/lib/components/Icons/IconQuick10.md +7 -0
- package/lib/components/Icons/IconQuick10.vue +23 -0
- package/lib/components/Icons/IconRemoveCircle.md +7 -0
- package/lib/components/Icons/IconRemoveCircle.vue +22 -0
- package/lib/components/Icons/IconReviewFlag.md +7 -0
- package/lib/components/Icons/IconReviewFlag.vue +32 -0
- package/lib/components/Icons/IconSearch.md +7 -0
- package/lib/components/Icons/IconSearch.vue +23 -0
- package/lib/components/Icons/IconShare.md +7 -0
- package/lib/components/Icons/IconShare.vue +31 -0
- package/lib/components/Icons/IconSideBar.md +7 -0
- package/lib/components/Icons/IconSideBar.vue +26 -0
- package/lib/components/Icons/IconSideBarActive.md +7 -0
- package/lib/components/Icons/IconSideBarActive.vue +28 -0
- package/lib/components/Icons/IconStopwatch.md +7 -0
- package/lib/components/Icons/IconStopwatch.vue +22 -0
- package/lib/components/Icons/IconStrike.md +60 -0
- package/lib/components/Icons/IconStrike.vue +23 -0
- package/lib/components/Icons/IconSubject.md +7 -0
- package/lib/components/Icons/IconSubject.vue +22 -0
- package/lib/components/Icons/IconText.md +7 -0
- package/lib/components/Icons/IconText.vue +22 -0
- package/lib/components/Icons/IconWarning.md +7 -0
- package/lib/components/Icons/IconWarning.vue +22 -0
- package/lib/components/Modal/Modal.md +31 -0
- package/lib/components/Modal/Modal.vue +133 -0
- package/lib/components/Modal/ModalContainer.md +96 -0
- package/lib/components/Modal/ModalContainer.vue +208 -0
- package/lib/components/Onboarding/EmailAuth.md +40 -0
- package/lib/components/Onboarding/EmailAuth.vue +218 -0
- package/lib/components/Onboarding/MagicCodeEntry.md +20 -0
- package/lib/components/Onboarding/MagicCodeEntry.vue +189 -0
- package/lib/components/PhonePerson/PhonePerson.md +36 -0
- package/lib/components/PhonePerson/PhonePerson.vue +48 -0
- package/lib/components/PhonePerson/phoneperson-IT@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-auto@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-behavioralhealth@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-emt@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-essentials@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-finance@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-fitness@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-medical@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-nursing@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-nursingschool@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-professional@2x.png +0 -0
- package/lib/components/PhonePerson/phoneperson-skilledtrades@2x.png +0 -0
- package/lib/components/Quiz/FlagToggle.md +37 -0
- package/lib/components/Quiz/FlagToggle.vue +124 -0
- package/lib/components/Quiz/GlobalMetricsToggle.md +46 -0
- package/lib/components/Quiz/GlobalMetricsToggle.vue +124 -0
- package/lib/components/Quiz/KeyboardShortcutsButton.md +18 -0
- package/lib/components/Quiz/KeyboardShortcutsButton.vue +102 -0
- package/lib/components/Quiz/KeyboardShortcutsModal.md +71 -0
- package/lib/components/Quiz/KeyboardShortcutsModal.vue +261 -0
- package/lib/components/Quiz/Question.md +579 -0
- package/lib/components/Quiz/Question.vue +3262 -0
- package/lib/components/Quiz/QuizContainer.md +91 -0
- package/lib/components/Quiz/QuizContainer.vue +207 -0
- package/lib/components/Quiz/QuizProgress.md +122 -0
- package/lib/components/Quiz/QuizProgress.vue +188 -0
- package/lib/components/Quiz/QuizProgressBar.md +131 -0
- package/lib/components/Quiz/QuizProgressBar.vue +96 -0
- package/lib/components/Search/Pill.md +37 -0
- package/lib/components/Search/Pill.vue +117 -0
- package/lib/components/Search/Search.md +44 -0
- package/lib/components/Search/Search.vue +341 -0
- package/lib/components/SidePanels/SidePanel.md +126 -0
- package/lib/components/SidePanels/SidePanel.vue +592 -0
- package/lib/components/Tables/StudyTable.md +136 -0
- package/lib/components/Tables/Table.vue +497 -0
- package/lib/components/Tables/TableActions.vue +199 -0
- package/lib/components/Tables/TablePagination.md +19 -0
- package/lib/components/Tables/TablePagination.vue +109 -0
- package/lib/components/Tables/TeachTable.md +696 -0
- package/lib/components/Toasts/Toast.md +35 -0
- package/lib/components/Toasts/Toast.vue +213 -0
- package/lib/components/Tooltips/OverflowTooltip.md +14 -0
- package/lib/components/Tooltips/OverflowTooltip.vue +68 -0
- package/lib/components/Tooltips/Tooltip.md +72 -0
- package/lib/components/Tooltips/Tooltip.vue +143 -0
- package/lib/directives.ts +213 -0
- package/lib/index.ts +108 -0
- package/{pocketprep-export.module.scss → lib/pocketprep-export.module.scss} +2 -2
- package/{pocketprep.scss → lib/pocketprep.scss} +16 -18
- package/{styles → lib/styles}/_colors.scss +1 -1
- package/lib/styles/fonts.css +149 -0
- package/lib/utils.ts +53 -0
- package/package.json +75 -56
- package/{stylelint.config.js → stylelint.config.cjs} +6 -3
- package/assets/Fonts.md +0 -114
- package/assets/Images.md +0 -2
- package/assets/Styleguidist.vue +0 -11
- package/dist/@pocketprep/ui-kit.common.js +0 -29726
- package/dist/@pocketprep/ui-kit.common.js.map +0 -1
- package/dist/@pocketprep/ui-kit.umd.js +0 -29745
- package/dist/@pocketprep/ui-kit.umd.js.map +0 -1
- package/dist/@pocketprep/ui-kit.umd.min.js +0 -33
- package/dist/@pocketprep/ui-kit.umd.min.js.map +0 -1
- package/dist/demo.html +0 -1
- package/index.d.ts +0 -63
- package/src/directives.d.ts +0 -2
- package/src/shims.d.ts +0 -19
- package/src/utils.d.ts +0 -51
- package/styles/Colors.md +0 -53
- package/styles/Styles.md +0 -4
- package/styles/_fonts.scss +0 -149
- package/tests/shims-test.d.ts +0 -9
- /package/{assets → lib/assets}/fonts/muli/muli-400.eot +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400.svg +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400.ttf +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400.woff +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400.woff2 +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400italic.eot +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400italic.svg +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400italic.ttf +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400italic.woff +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-400italic.woff2 +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600.eot +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600.svg +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600.ttf +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600.woff +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600.woff2 +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600italic.eot +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600italic.svg +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600italic.ttf +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600italic.woff +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-600italic.woff2 +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700.eot +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700.svg +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700.ttf +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700.woff +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700.woff2 +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700italic.eot +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700italic.svg +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700italic.ttf +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700italic.woff +0 -0
- /package/{assets → lib/assets}/fonts/muli/muli-700italic.woff2 +0 -0
- /package/{assets → lib/assets}/images/amta.svg +0 -0
- /package/{assets → lib/assets}/images/favicon.ico +0 -0
- /package/{assets → lib/assets}/images/thumb-large-dark.svg +0 -0
- /package/{assets → lib/assets}/images/thumb-large.svg +0 -0
- /package/{assets → lib/assets}/images/thumb-small-dark.svg +0 -0
- /package/{assets → lib/assets}/images/thumb-small.svg +0 -0
- /package/{src → lib}/components/BundleIcons/bundleIcon.d.ts +0 -0
- /package/{src → lib}/components/Icons/icon.d.ts +0 -0
- /package/{src → lib}/components/PhonePerson/phonePerson.d.ts +0 -0
- /package/{src → lib}/components/Tables/table.d.ts +0 -0
- /package/{styles → lib/styles}/_breakpoints.scss +0 -0
- /package/{styles/_normalize.scss → lib/styles/normalize.css} +0 -0
package/package.json
CHANGED
|
@@ -1,84 +1,103 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pocketprep/ui-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Pocket Prep UI Kit",
|
|
5
5
|
"author": "pocketprep",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
-
"
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "run-p type-check build-only",
|
|
9
|
+
"preview": "vite preview",
|
|
10
|
+
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
|
|
11
|
+
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
|
|
12
|
+
"test:unit": "cypress run --component",
|
|
13
|
+
"test:unit:dev": "cypress open --component",
|
|
14
|
+
"build-only": "vite build",
|
|
15
|
+
"type-check": "vue-tsc --noEmit -p tsconfig.json --composite false",
|
|
11
16
|
"patch": "npm version patch --no-git-tag-version",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"test": "vue-cli-service test:unit 'tests/**/*.spec.{ts,js}'",
|
|
15
|
-
"inspect-webpack": "vue-cli-service inspect > inspect-webpack.js",
|
|
16
|
-
"uikit-copy": "npm run build-lib && pwd | pbcopy"
|
|
17
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore && stylelint '**/*.{scss,vue}'",
|
|
18
|
+
"uikit-copy": "npm run build && pwd | pbcopy"
|
|
17
19
|
},
|
|
18
|
-
"
|
|
20
|
+
"type": "module",
|
|
21
|
+
"main": "./dist/@pocketprep/ui-kit.umd.cjs",
|
|
22
|
+
"module": "./dist/@pocketprep/ui-kit.js",
|
|
19
23
|
"files": [
|
|
20
|
-
"
|
|
24
|
+
"lib",
|
|
21
25
|
"dist",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"pocketprep-export.module.scss",
|
|
25
|
-
".eslintrc.js",
|
|
26
|
-
"config",
|
|
27
|
-
"stylelint.config.js",
|
|
28
|
-
"**/*.d.ts"
|
|
26
|
+
".eslintrc.cjs",
|
|
27
|
+
"stylelint.config.cjs"
|
|
29
28
|
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": "./dist/@pocketprep/ui-kit.js",
|
|
32
|
+
"require": "./dist/@pocketprep/ui-kit.umd.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./styles": {
|
|
35
|
+
"import": "./dist/style.css",
|
|
36
|
+
"require": "./dist/style.css"
|
|
37
|
+
},
|
|
38
|
+
"./pocketprep.scss": {
|
|
39
|
+
"import": "./lib/pocketprep.scss",
|
|
40
|
+
"require": "./lib/pocketprep.scss"
|
|
41
|
+
},
|
|
42
|
+
"./pocketprep-export.module.scss": {
|
|
43
|
+
"import": "./lib/pocketprep-export.module.scss",
|
|
44
|
+
"require": "./lib/pocketprep-export.module.scss"
|
|
45
|
+
},
|
|
46
|
+
"./fonts": {
|
|
47
|
+
"import": "./lib/styles/fonts.css",
|
|
48
|
+
"require": "./lib/styles/fonts.css"
|
|
49
|
+
},
|
|
50
|
+
"./normalize": {
|
|
51
|
+
"import": "./lib/styles/normalize.css",
|
|
52
|
+
"require": "./lib/styles/normalize.css"
|
|
53
|
+
},
|
|
54
|
+
"./breakpoints": {
|
|
55
|
+
"import": "./lib/styles/_breakpoints.scss",
|
|
56
|
+
"require": "./lib/styles/_breakpoints.scss"
|
|
57
|
+
},
|
|
58
|
+
"./colors": {
|
|
59
|
+
"import": "./lib/styles/_colors.scss",
|
|
60
|
+
"require": "./lib/styles/_colors.scss"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
30
63
|
"dependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"litepicker": "2.0.11",
|
|
64
|
+
"highcharts": "10.3.3",
|
|
65
|
+
"litepicker": "2.0.12",
|
|
34
66
|
"resize-observer": "1.0.4",
|
|
35
|
-
"vue": "2.
|
|
36
|
-
"vue-
|
|
37
|
-
"vue-property-decorator": "9.1.2"
|
|
67
|
+
"vue": "3.2.47",
|
|
68
|
+
"vue-facing-decorator": "2.1.13"
|
|
38
69
|
},
|
|
39
70
|
"devDependencies": {
|
|
40
|
-
"@pocketprep/types": "1.
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@vue/
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"stylelint-config-standard": "22.0.0",
|
|
59
|
-
"typescript": "4.6.4",
|
|
60
|
-
"vue-cli-plugin-styleguidist": "4.45.0",
|
|
61
|
-
"vue-styleguidist": "4.45.1",
|
|
62
|
-
"vue-template-compiler": "2.6.14"
|
|
71
|
+
"@pocketprep/types": "1.8.4",
|
|
72
|
+
"@vitejs/plugin-vue": "4.0.0",
|
|
73
|
+
"@vue/eslint-config-typescript": "11.0.2",
|
|
74
|
+
"@vue/tsconfig": "0.1.3",
|
|
75
|
+
"cypress": "12.0.2",
|
|
76
|
+
"eslint": "8.34.0",
|
|
77
|
+
"eslint-plugin-cypress": "2.12.1",
|
|
78
|
+
"eslint-plugin-vue": "9.9.0",
|
|
79
|
+
"npm-run-all": "4.1.5",
|
|
80
|
+
"postcss-html": "1.5.0",
|
|
81
|
+
"sass": "1.58.3",
|
|
82
|
+
"stylelint": "15.1.0",
|
|
83
|
+
"stylelint-config-recommended-scss": "9.0.1",
|
|
84
|
+
"stylelint-config-recommended-vue": "1.4.0",
|
|
85
|
+
"typescript": "4.9.5",
|
|
86
|
+
"vite": "4.1.2",
|
|
87
|
+
"vue-tsc": "1.1.3",
|
|
88
|
+
"yorkie": "2.0.0"
|
|
63
89
|
},
|
|
64
90
|
"bugs": {
|
|
65
91
|
"url": "https://github.com/Pocket-Prep/ui-kit/issues"
|
|
66
92
|
},
|
|
67
93
|
"gitHooks": {
|
|
68
|
-
"pre-commit": "
|
|
94
|
+
"pre-commit": "npm run build"
|
|
69
95
|
},
|
|
70
96
|
"homepage": "https://github.com/Pocket-Prep/ui-kit#readme",
|
|
71
97
|
"keywords": [
|
|
72
98
|
"pocketprep"
|
|
73
99
|
],
|
|
74
100
|
"license": "MIT",
|
|
75
|
-
"lint-staged": {
|
|
76
|
-
"*.{js,jsx,vue,ts,tsx}": [
|
|
77
|
-
"npm run lint",
|
|
78
|
-
"npm run build",
|
|
79
|
-
"git add docs/"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
101
|
"repository": {
|
|
83
102
|
"type": "git",
|
|
84
103
|
"url": "git+https://github.com/Pocket-Prep/ui-kit.git"
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
'extends':
|
|
2
|
+
'extends': [
|
|
3
|
+
'stylelint-config-recommended-scss',
|
|
4
|
+
'stylelint-config-recommended-vue/scss',
|
|
5
|
+
],
|
|
3
6
|
'rules': {
|
|
4
|
-
'indentation': 4,
|
|
5
7
|
'at-rule-no-unknown': null,
|
|
6
8
|
'selector-pseudo-class-no-unknown': [
|
|
7
9
|
true,
|
|
@@ -11,9 +13,10 @@ module.exports = {
|
|
|
11
13
|
],
|
|
12
14
|
'selector-pseudo-element-no-unknown': null,
|
|
13
15
|
'selector-type-no-unknown': null,
|
|
14
|
-
'declaration-colon-newline-after': 'always-multi-line',
|
|
15
16
|
'no-descending-specificity': null,
|
|
16
17
|
'property-no-unknown': null,
|
|
17
18
|
'alpha-value-notation': 'number',
|
|
19
|
+
'scss/at-import-no-partial-leading-underscore': null,
|
|
20
|
+
'scss/no-global-function-names': null,
|
|
18
21
|
},
|
|
19
22
|
}
|
package/assets/Fonts.md
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
- Avenir is available on MacOS, but we host Muli locally for other OS support.
|
|
2
|
-
- Avenir and Muli have slightly different font weights, so we "normalize" them as follows:
|
|
3
|
-
- Avenir Next 400 (regular) / Muli 400 (regular) = font-weight: 400 / normal
|
|
4
|
-
- Avenir Next 500 (medium) / Muli 600 (demi-bold) = font-weight: 500 / medium
|
|
5
|
-
- Avenir Next 600 (demi-bold) / Muli 700 (bold) = font-weight: 600 / demi-bold
|
|
6
|
-
|
|
7
|
-
```vue
|
|
8
|
-
<template>
|
|
9
|
-
<div class="assets-docs">
|
|
10
|
-
<div class="assets-docs__400">
|
|
11
|
-
<h3>Font Weight: 400 (regular)</h3>
|
|
12
|
-
<div class="assets-docs__comparison">
|
|
13
|
-
<div class="assets-docs__avenir">
|
|
14
|
-
<h4>Avenir</h4>
|
|
15
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
16
|
-
</div>
|
|
17
|
-
<div class="assets-docs__muli">
|
|
18
|
-
<h4>Muli</h4>
|
|
19
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="assets-docs__500">
|
|
24
|
-
<h3>Font Weight: 500 (medium)</h3>
|
|
25
|
-
<div class="assets-docs__comparison">
|
|
26
|
-
<div class="assets-docs__avenir">
|
|
27
|
-
<h4>Avenir</h4>
|
|
28
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
29
|
-
</div>
|
|
30
|
-
<div class="assets-docs__muli">
|
|
31
|
-
<h4>Muli</h4>
|
|
32
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="assets-docs__600">
|
|
37
|
-
<h3>Font Weight: 600 (demi-bold)</h3>
|
|
38
|
-
<div class="assets-docs__comparison">
|
|
39
|
-
<div class="assets-docs__avenir">
|
|
40
|
-
<h4>Avenir</h4>
|
|
41
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
42
|
-
</div>
|
|
43
|
-
<div class="assets-docs__muli">
|
|
44
|
-
<h4>Muli</h4>
|
|
45
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="assets-docs__700">
|
|
50
|
-
<h3>Font Weight: 700 (bold)</h3>
|
|
51
|
-
<div class="assets-docs__comparison">
|
|
52
|
-
<div class="assets-docs__avenir">
|
|
53
|
-
<h4>Avenir</h4>
|
|
54
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
55
|
-
</div>
|
|
56
|
-
<div class="assets-docs__muli">
|
|
57
|
-
<h4>Muli</h4>
|
|
58
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
<Styleguidist />
|
|
63
|
-
</div>
|
|
64
|
-
</template>
|
|
65
|
-
|
|
66
|
-
<script>
|
|
67
|
-
import Styleguidist from './Styleguidist.vue'
|
|
68
|
-
|
|
69
|
-
export default {
|
|
70
|
-
components: {
|
|
71
|
-
Styleguidist,
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
</script>
|
|
75
|
-
|
|
76
|
-
<style>
|
|
77
|
-
h3, h4 {
|
|
78
|
-
margin: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.assets-docs__400 {
|
|
82
|
-
font-weight: 400;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.assets-docs__500 {
|
|
86
|
-
font-weight: 500;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.assets-docs__600 {
|
|
90
|
-
font-weight: 600;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.assets-docs__700 {
|
|
94
|
-
font-weight: 700;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.assets-docs__comparison {
|
|
98
|
-
display: flex;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.assets-docs__comparison div {
|
|
102
|
-
padding: 10px;
|
|
103
|
-
width: 50%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.assets-docs__avenir {
|
|
107
|
-
font-family: Avenir Next;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.assets-docs__muli {
|
|
111
|
-
font-family: Muli;
|
|
112
|
-
}
|
|
113
|
-
</style>
|
|
114
|
-
```
|
package/assets/Images.md
DELETED
package/assets/Styleguidist.vue
DELETED