@sparkle-learning/core 0.0.39 → 0.0.40
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/dist/cjs/{auth.service-4b584cd7.js → PrivateRoute-074c584e.js} +30 -0
- package/dist/cjs/{sparkle-export-lessons_6.cjs.entry.js → header-mobile-collapse_61.cjs.entry.js} +11602 -2716
- package/dist/cjs/{icons-c61db785.js → icons-fda820af.js} +0 -0
- package/dist/cjs/index.cjs.js +5 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sparkle-code.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-core.cjs.js +1 -1
- package/dist/cjs/sparkle-feedback.cjs.entry.js +1 -2
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +117 -0
- package/dist/cjs/sparkle-quiz.cjs.entry.js +120 -0
- package/dist/cjs/student.service-2e58f237.js +78 -0
- package/dist/esm/{auth.service-9fb86455.js → PrivateRoute-c5441f35.js} +33 -4
- package/dist/esm/{animation-e0716b39.js → animation-12377cb3.js} +1 -1
- package/dist/esm/{auth.store-633e8414.js → auth.store-dba2c2da.js} +1 -1
- package/dist/esm/{facilitator.service-8fd435bf.js → facilitator.service-b0292f7f.js} +2 -2
- package/dist/esm/{feed.service-ace049e5.js → feed.service-8fbe4ce3.js} +3 -3
- package/dist/esm/{framework-delegate-e4f8013b.js → framework-delegate-3e634a5c.js} +1 -1
- package/dist/esm/{sparkle-export-lessons_6.entry.js → header-mobile-collapse_61.entry.js} +11501 -2670
- package/dist/esm/{helpers-03073fe4.js → helpers-bf0e23d6.js} +1 -1
- package/dist/esm/{httpService-61864992.js → httpService-7b75b095.js} +2 -2
- package/dist/esm/{icons-90b957ab.js → icons-1c794c74.js} +1 -1
- package/dist/esm/{index-b4b4e503.js → index-2b84cad2.js} +3 -3
- package/dist/esm/{index-a2d2941d.js → index-45fec1e7.js} +1 -1
- package/dist/esm/{index-37004831.js → index-5e8971ae.js} +1 -1
- package/dist/esm/{index-dedabca0.js → index-cded2d87.js} +2 -2
- package/dist/esm/{index.es-283fbd2e.js → index.es-e0c0f891.js} +1 -1
- package/dist/esm/index.js +5 -6
- package/dist/esm/{input-shims-cc3720a0.js → input-shims-671d8d9f.js} +2 -2
- package/dist/esm/ion-accordion.entry.js +1 -1
- package/dist/esm/ion-action-sheet_4.entry.js +5 -5
- package/dist/esm/ion-app.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb.entry.js +1 -1
- package/dist/esm/ion-content_2.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime.entry.js +1 -1
- package/dist/esm/ion-fab-button.entry.js +1 -1
- package/dist/esm/ion-footer.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll.entry.js +2 -2
- package/dist/esm/ion-item-options.entry.js +1 -1
- package/dist/esm/ion-item-sliding.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu-button.entry.js +4 -4
- package/dist/esm/ion-menu-toggle.entry.js +4 -4
- package/dist/esm/ion-menu.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +6 -6
- package/dist/esm/ion-nav.entry.js +4 -4
- package/dist/esm/ion-picker-column-internal_2.entry.js +1 -1
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-refresher.entry.js +3 -3
- package/dist/esm/ion-reorder-group.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +4 -4
- package/dist/esm/ion-router.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-segment-button.entry.js +1 -1
- package/dist/esm/ion-segment.entry.js +1 -1
- package/dist/esm/ion-select_2.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +1 -1
- package/dist/esm/ion-tab.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +1 -1
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/ion-virtual-scroll.entry.js +1 -1
- package/dist/esm/{ios.transition-3a6179bb.js → ios.transition-131d64fe.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-cff16bf3.js → md.transition-f6126011.js} +3 -3
- package/dist/esm/{menu-toggle-util-59241733.js → menu-toggle-util-bace8ae6.js} +1 -1
- package/dist/esm/{overlays-bdd9344a.js → overlays-3b4dca92.js} +2 -2
- package/dist/esm/{purify-7085b248.js → purify-85bfcc69.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +1 -1
- package/dist/esm/sparkle-code.entry.js +1 -1
- package/dist/esm/sparkle-core.js +1 -1
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +5 -5
- package/dist/esm/sparkle-feed-post.entry.js +1 -1
- package/dist/esm/sparkle-feedback.entry.js +5 -6
- package/dist/esm/sparkle-goal-form.entry.js +6 -6
- package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +109 -0
- package/dist/esm/sparkle-quiz.entry.js +116 -0
- package/dist/esm/{status-tap-463d0f87.js → status-tap-dde52787.js} +2 -2
- package/dist/esm/{student.service-e6eb1f99.js → student.service-0746418b.js} +19 -3
- package/dist/esm/{swipe-back-f8765ac9.js → swipe-back-7847a0c1.js} +1 -1
- package/dist/esm/{util-a831d09d.js → util-6ef753e9.js} +1 -1
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +49 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +208 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +31 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +245 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +115 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +255 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +232 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +3 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +25 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +71 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +194 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +4 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +67 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +18 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +89 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +52 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +98 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +8 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +37 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +64 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/{p-539bf742.js → p-00d10dc9.js} +2 -2
- package/dist/sparkle-core/{p-b9933822.js → p-05c032dd.js} +1 -1
- package/dist/sparkle-core/{p-dabc80c4.entry.js → p-0664370b.entry.js} +1 -1
- package/dist/sparkle-core/p-077c732b.js +4 -0
- package/dist/sparkle-core/{p-c278db5f.entry.js → p-0ad5c123.entry.js} +1 -1
- package/dist/sparkle-core/{p-b9b1d4da.entry.js → p-0afa3a4d.entry.js} +1 -1
- package/dist/sparkle-core/{p-285ab4ed.entry.js → p-0c3f3ea6.entry.js} +1 -1
- package/dist/sparkle-core/{p-727e1c28.entry.js → p-0f1c5899.entry.js} +1 -1
- package/dist/sparkle-core/{p-64e814b9.entry.js → p-11356b03.entry.js} +1 -1
- package/dist/sparkle-core/{p-b5ec8fb0.entry.js → p-11a6c175.entry.js} +1 -1
- package/dist/sparkle-core/p-12dd96d7.js +4 -0
- package/dist/sparkle-core/{p-a85598ad.js → p-1d4c7c11.js} +1 -1
- package/dist/sparkle-core/{p-c8fe45df.entry.js → p-1e125ca5.entry.js} +1 -1
- package/dist/sparkle-core/{p-cab3da3c.entry.js → p-1e4f65ee.entry.js} +1 -1
- package/dist/sparkle-core/{p-405f7c58.js → p-2033cd86.js} +2 -2
- package/dist/sparkle-core/p-23aca7ca.js +4 -0
- package/dist/sparkle-core/{p-e65c72cc.entry.js → p-24cb9a33.entry.js} +1 -1
- package/dist/sparkle-core/{p-014b5707.entry.js → p-2c1ca854.entry.js} +1 -1
- package/dist/sparkle-core/{p-340754ed.js → p-2f569553.js} +1 -1
- package/dist/sparkle-core/{p-2e2b813c.js → p-2ff67662.js} +2 -2
- package/dist/sparkle-core/{p-0c0f8acd.entry.js → p-30b810d1.entry.js} +1 -1
- package/dist/sparkle-core/{p-b236d258.entry.js → p-377b04c2.entry.js} +1 -1
- package/dist/sparkle-core/{p-fde382f0.entry.js → p-39712c56.entry.js} +1 -1
- package/dist/sparkle-core/{p-be28346b.js → p-3de0e00c.js} +1 -1
- package/dist/sparkle-core/p-462bffba.js +1 -0
- package/dist/sparkle-core/{p-3f85e1ca.js → p-48f72e63.js} +2 -2
- package/dist/sparkle-core/{p-6f0545b3.entry.js → p-54dd894f.entry.js} +1 -1
- package/dist/sparkle-core/{p-ce94efdb.entry.js → p-564e64fc.entry.js} +1 -1
- package/dist/sparkle-core/{p-db8387eb.entry.js → p-58e4bbe5.entry.js} +1 -1
- package/dist/sparkle-core/{p-ca4c8a10.js → p-5cad23f1.js} +1 -1
- package/dist/sparkle-core/p-5efc6566.js +1 -0
- package/dist/sparkle-core/{p-c9cd4ff1.js → p-600cf6a3.js} +1 -1
- package/dist/sparkle-core/{p-2e035338.entry.js → p-641bfc92.entry.js} +1 -1
- package/dist/sparkle-core/{p-b4bc8b02.entry.js → p-6faa194c.entry.js} +1 -1
- package/dist/sparkle-core/{p-2f10208d.entry.js → p-6ffd2420.entry.js} +1 -1
- package/dist/sparkle-core/p-73721c84.js +4 -0
- package/dist/sparkle-core/{p-ed9f48c4.entry.js → p-74864276.entry.js} +1 -1
- package/dist/sparkle-core/p-80d6b0e6.entry.js +1 -0
- package/dist/sparkle-core/p-8492a765.entry.js +1 -0
- package/dist/sparkle-core/{p-a019ad0c.js → p-86ed13f0.js} +1 -1
- package/dist/sparkle-core/{p-4ae75caa.entry.js → p-894ff7e6.entry.js} +1 -1
- package/dist/sparkle-core/{p-5519d283.entry.js → p-9289cdbc.entry.js} +1 -1
- package/dist/sparkle-core/{p-4bd4dab2.js → p-935e7cfc.js} +1 -1
- package/dist/sparkle-core/{p-25e556cc.entry.js → p-957715c5.entry.js} +1 -1
- package/dist/sparkle-core/{p-b4b01fa2.entry.js → p-9abbd715.entry.js} +1 -1
- package/dist/sparkle-core/{p-e7568d4b.js → p-9d894ed4.js} +1 -1
- package/dist/sparkle-core/{p-4320dac0.entry.js → p-9ebf0537.entry.js} +1 -1
- package/dist/sparkle-core/p-a49ab4e8.entry.js +1 -0
- package/dist/sparkle-core/{p-93e74f1b.entry.js → p-af3cc111.entry.js} +1 -1
- package/dist/sparkle-core/{p-5fc26938.js → p-b0603d19.js} +1 -1
- package/dist/sparkle-core/{p-317037de.entry.js → p-b3f375fb.entry.js} +1 -1
- package/dist/sparkle-core/p-b4408842.entry.js +352 -0
- package/dist/sparkle-core/{p-2fba9a3a.entry.js → p-b5f3e1bf.entry.js} +1 -1
- package/dist/sparkle-core/{p-82ad4e7c.entry.js → p-b96f3c84.entry.js} +2 -2
- package/dist/sparkle-core/{p-ad102371.js → p-bd80ff43.js} +1 -1
- package/dist/sparkle-core/{p-f0cf4a8f.entry.js → p-be64105c.entry.js} +1 -1
- package/dist/sparkle-core/{p-f4b0b6a4.entry.js → p-c0533c23.entry.js} +1 -1
- package/dist/sparkle-core/p-c3cadfc6.entry.js +1 -0
- package/dist/sparkle-core/{p-2d4a5ddf.entry.js → p-c60b29bd.entry.js} +2 -2
- package/dist/sparkle-core/{p-56a2e8a2.js → p-cabe9139.js} +1 -1
- package/dist/sparkle-core/{p-0bb0cf41.entry.js → p-cabfbf22.entry.js} +1 -1
- package/dist/sparkle-core/{p-66a85393.entry.js → p-ce4b22f7.entry.js} +1 -1
- package/dist/sparkle-core/{p-17eb4633.js → p-d68092b7.js} +1 -1
- package/dist/sparkle-core/{p-0ea2518d.entry.js → p-de4deb61.entry.js} +1 -1
- package/dist/sparkle-core/{p-1f0b3ff9.entry.js → p-e686d8b5.entry.js} +1 -1
- package/dist/sparkle-core/{p-08d97c59.entry.js → p-e77d982d.entry.js} +1 -1
- package/dist/sparkle-core/{p-44f813b7.entry.js → p-e863bf1d.entry.js} +1 -1
- package/dist/sparkle-core/{p-63f69cdc.entry.js → p-ebd4354b.entry.js} +1 -1
- package/dist/sparkle-core/{p-fc965b88.entry.js → p-ef4edc48.entry.js} +1 -1
- package/dist/sparkle-core/{p-c2bbaf55.entry.js → p-fb0ca75e.entry.js} +1 -1
- package/dist/sparkle-core/{p-b83444c7.entry.js → p-fb757951.entry.js} +1 -1
- package/dist/sparkle-core/{p-d81a0680.js → p-fbccd30c.js} +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/PrivateRoute-4abc9d29.js +0 -35
- package/dist/cjs/dom-utils-b8befdd5.js +0 -63
- package/dist/cjs/header-mobile-collapse.cjs.entry.js +0 -90
- package/dist/cjs/index-70e63f5b.js +0 -3071
- package/dist/cjs/injectHistory-7206bbb9.js +0 -9
- package/dist/cjs/ion-avatar.cjs.entry.js +0 -25
- package/dist/cjs/ion-button.cjs.entry.js +0 -129
- package/dist/cjs/ion-card_2.cjs.entry.js +0 -91
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +0 -360
- package/dist/cjs/ion-col_3.cjs.entry.js +0 -159
- package/dist/cjs/ion-icon_13.cjs.entry.js +0 -1505
- package/dist/cjs/ion-input_2.cjs.entry.js +0 -313
- package/dist/cjs/ion-label_2.cjs.entry.js +0 -126
- package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
- package/dist/cjs/match-path-84c9f7ca.js +0 -511
- package/dist/cjs/sparkle-card_3.cjs.entry.js +0 -91
- package/dist/cjs/sparkle-course-root.cjs.entry.js +0 -146
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +0 -61
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +0 -2130
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +0 -19
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +0 -74
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +0 -236
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +0 -21
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +0 -32
- package/dist/cjs/student.service-d48f1c99.js +0 -61
- package/dist/cjs/user.store-8a049c4e.js +0 -21
- package/dist/esm/PrivateRoute-7b526801.js +0 -33
- package/dist/esm/dom-utils-109a7d75.js +0 -55
- package/dist/esm/header-mobile-collapse.entry.js +0 -86
- package/dist/esm/index-f9b9ba5d.js +0 -3067
- package/dist/esm/injectHistory-968f626d.js +0 -7
- package/dist/esm/ion-avatar.entry.js +0 -21
- package/dist/esm/ion-button.entry.js +0 -125
- package/dist/esm/ion-card_2.entry.js +0 -86
- package/dist/esm/ion-checkbox_4.entry.js +0 -353
- package/dist/esm/ion-col_3.entry.js +0 -153
- package/dist/esm/ion-icon_13.entry.js +0 -1489
- package/dist/esm/ion-input_2.entry.js +0 -308
- package/dist/esm/ion-label_2.entry.js +0 -121
- package/dist/esm/ion-spinner.entry.js +0 -60
- package/dist/esm/match-path-36fdf5c7.js +0 -499
- package/dist/esm/sparkle-card_3.entry.js +0 -85
- package/dist/esm/sparkle-course-root.entry.js +0 -142
- package/dist/esm/sparkle-dropdown.entry.js +0 -57
- package/dist/esm/sparkle-facilitator-header_19.entry.js +0 -2108
- package/dist/esm/sparkle-goal-progress.entry.js +0 -15
- package/dist/esm/sparkle-gww-item.entry.js +0 -70
- package/dist/esm/sparkle-menu-toggle_3.entry.js +0 -230
- package/dist/esm/sparkle-validation-error.entry.js +0 -17
- package/dist/esm/stencil-router-redirect.entry.js +0 -28
- package/dist/esm/user.store-b8645067.js +0 -19
- package/dist/sparkle-core/p-03585916.js +0 -1
- package/dist/sparkle-core/p-1019ebc3.js +0 -1
- package/dist/sparkle-core/p-1728ead7.js +0 -1
- package/dist/sparkle-core/p-32762a44.entry.js +0 -1
- package/dist/sparkle-core/p-3bc68dd0.js +0 -1
- package/dist/sparkle-core/p-3c133235.entry.js +0 -1
- package/dist/sparkle-core/p-46869031.entry.js +0 -1
- package/dist/sparkle-core/p-4a5f2b2b.js +0 -1
- package/dist/sparkle-core/p-53bcbd1d.js +0 -1
- package/dist/sparkle-core/p-54ada5e3.entry.js +0 -1
- package/dist/sparkle-core/p-554da5b8.entry.js +0 -1
- package/dist/sparkle-core/p-5da2d95a.entry.js +0 -1
- package/dist/sparkle-core/p-6b05a1d3.entry.js +0 -1
- package/dist/sparkle-core/p-6ea246fe.js +0 -4
- package/dist/sparkle-core/p-6ed0236e.entry.js +0 -1
- package/dist/sparkle-core/p-7f25366a.entry.js +0 -1
- package/dist/sparkle-core/p-91accfc1.js +0 -1
- package/dist/sparkle-core/p-a5c5da9a.entry.js +0 -1
- package/dist/sparkle-core/p-a8a77bec.entry.js +0 -1
- package/dist/sparkle-core/p-c4af184b.entry.js +0 -1
- package/dist/sparkle-core/p-c71cbbf7.entry.js +0 -1
- package/dist/sparkle-core/p-c8c73fa7.js +0 -4
- package/dist/sparkle-core/p-cd832fbf.entry.js +0 -1
- package/dist/sparkle-core/p-d0ac5f17.js +0 -1
- package/dist/sparkle-core/p-d1fcbfc2.js +0 -4
- package/dist/sparkle-core/p-d432d3ac.entry.js +0 -1
- package/dist/sparkle-core/p-d969f7d0.entry.js +0 -348
- package/dist/sparkle-core/p-dca90a55.entry.js +0 -4
- package/dist/sparkle-core/p-dd2e7f84.js +0 -4
- package/dist/sparkle-core/p-e0429a19.entry.js +0 -1
- package/dist/sparkle-core/p-e7066c64.entry.js +0 -1
- package/dist/sparkle-core/p-eb40a191.entry.js +0 -1
- package/dist/sparkle-core/p-ecdea569.entry.js +0 -1
- package/dist/sparkle-core/p-ef6c2352.entry.js +0 -1
package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
sparkle-button {
|
2
|
+
background-color: rgba(var(--ion-color-sparkle-rgb), var(--bg-alpha, 0.06));
|
3
|
+
border-radius: 6px;
|
4
|
+
color: var(--accent-color);
|
5
|
+
display: inline-block;
|
6
|
+
font-weight: 600;
|
7
|
+
white-space: nowrap;box-shadow: 0 1px 3px rgba(0,0,0,.1);
|
8
|
+
}
|
9
|
+
|
10
|
+
sparkle-button a,
|
11
|
+
sparkle-button button {
|
12
|
+
color: inherit;
|
13
|
+
display: inline-block;
|
14
|
+
font-size: inherit;
|
15
|
+
font-weight: inherit;
|
16
|
+
padding: 0.75em 1.5em;
|
17
|
+
}
|
18
|
+
|
19
|
+
sparkle-button button {
|
20
|
+
appearance: none;
|
21
|
+
background: none;
|
22
|
+
border: none;
|
23
|
+
line-height: inherit;
|
24
|
+
}
|
25
|
+
|
26
|
+
sparkle-button svg {
|
27
|
+
fill: currentColor;
|
28
|
+
height: 1em;
|
29
|
+
margin-bottom: -0.125em;
|
30
|
+
width: 1em;
|
31
|
+
}
|
32
|
+
|
33
|
+
sparkle-button[round] {
|
34
|
+
border-radius: 2em;
|
35
|
+
}
|
36
|
+
sparkle-button[primary] {
|
37
|
+
background-color: rgba(var(--ion-color-sparkle-rgb));
|
38
|
+
color:var(--ion-color-sparkle-contrast);
|
39
|
+
}
|
40
|
+
|
41
|
+
@media (hover: hover) {
|
42
|
+
sparkle-button:hover {
|
43
|
+
--bg-alpha: 0.08;
|
44
|
+
}
|
45
|
+
|
46
|
+
sparkle-button:active {
|
47
|
+
--bg-alpha: 0.1;
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,208 @@
|
|
1
|
+
sparkle-card {
|
2
|
+
display: block;
|
3
|
+
font-size: 12px;
|
4
|
+
max-width: 30em;
|
5
|
+
}
|
6
|
+
|
7
|
+
.Card {
|
8
|
+
background-color: var(--background);
|
9
|
+
border-radius: 4px;
|
10
|
+
box-shadow: 0px 0.175em 0.5em rgba(2, 8, 20, 0.1), 0px 0.085em 0.175em rgba(2, 8, 20, 0.08);
|
11
|
+
color: var(--text-color--light);
|
12
|
+
display: flex;
|
13
|
+
flex-direction: column;
|
14
|
+
font-size: inherit;
|
15
|
+
font-weight: normal;
|
16
|
+
height: 100%;
|
17
|
+
justify-content: flex-start;
|
18
|
+
line-height: 1.6;
|
19
|
+
transition: box-shadow 150ms ease, transform 150ms ease;
|
20
|
+
width: 100%;
|
21
|
+
overflow: hidden;
|
22
|
+
}
|
23
|
+
|
24
|
+
.Card-with-image {
|
25
|
+
grid-row: span 2;
|
26
|
+
}
|
27
|
+
|
28
|
+
.Card-without-image {
|
29
|
+
font-size: 12px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.Card-container {
|
33
|
+
padding: 1.65em 2em 1.65em;
|
34
|
+
}
|
35
|
+
|
36
|
+
.Card-image {
|
37
|
+
width: 100%;
|
38
|
+
height: auto;
|
39
|
+
}
|
40
|
+
|
41
|
+
.Card-icon,
|
42
|
+
.Card-iconset__container {
|
43
|
+
width: 48px;
|
44
|
+
height: 48px;
|
45
|
+
|
46
|
+
margin-bottom: 1.2em;
|
47
|
+
|
48
|
+
border-radius: 50%;
|
49
|
+
object-fit: cover;
|
50
|
+
background: rgb(246, 248, 251);
|
51
|
+
}
|
52
|
+
|
53
|
+
.Card-icon-hover {
|
54
|
+
display: none;
|
55
|
+
}
|
56
|
+
|
57
|
+
.Card-iconset__container {
|
58
|
+
position: relative;
|
59
|
+
}
|
60
|
+
|
61
|
+
.Card-iconset__container .Card-icon {
|
62
|
+
position: absolute;
|
63
|
+
opacity: 0;
|
64
|
+
transition: 0.8s opacity;
|
65
|
+
}
|
66
|
+
|
67
|
+
.Card-iconset__container .Card-icon--active {
|
68
|
+
opacity: 1;
|
69
|
+
}
|
70
|
+
|
71
|
+
.Card-ionicon {
|
72
|
+
width: 48px;
|
73
|
+
height: 48px;
|
74
|
+
float: left;
|
75
|
+
margin-right: 1em;
|
76
|
+
}
|
77
|
+
|
78
|
+
@media (hover: hover) {
|
79
|
+
.Card[href]:hover {
|
80
|
+
box-shadow: 0 0.35em 1.175em rgba(2, 8, 20, 0.1), 0 0.175em 0.5em rgba(2, 8, 20, 0.08);
|
81
|
+
transform: translateY(-1px);
|
82
|
+
}
|
83
|
+
|
84
|
+
.Card[href]:hover .Card-icon-default {
|
85
|
+
display: none;
|
86
|
+
}
|
87
|
+
|
88
|
+
.Card[href]:hover .Card-icon-hover {
|
89
|
+
display: block;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.Card-content > *:first-child {
|
94
|
+
margin-top: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
.Card-content > *:last-child {
|
98
|
+
margin-bottom: 0;
|
99
|
+
}
|
100
|
+
|
101
|
+
.Card-content > * {
|
102
|
+
margin: 0 0 0.65em;
|
103
|
+
}
|
104
|
+
|
105
|
+
.Card-header {
|
106
|
+
color: var(--text-color--dark);
|
107
|
+
font-size: 1.4em;
|
108
|
+
font-weight: 500;
|
109
|
+
line-height: 1.4;
|
110
|
+
margin-bottom: 0.45em;
|
111
|
+
}
|
112
|
+
|
113
|
+
.Card-without-image .Card-header {
|
114
|
+
margin-bottom: 0.3em;
|
115
|
+
}
|
116
|
+
|
117
|
+
.Card-header > svg {
|
118
|
+
fill: currentColor;
|
119
|
+
height: 1em;
|
120
|
+
margin-bottom: -0.125em;
|
121
|
+
width: auto;
|
122
|
+
}
|
123
|
+
|
124
|
+
.Card-size-lg {
|
125
|
+
font-size: 14px;
|
126
|
+
}
|
127
|
+
|
128
|
+
.Card-size-lg .Card-icon,
|
129
|
+
.Card-size-lg .Card-ionicon,
|
130
|
+
.Card-size-lg .Card-iconset__container {
|
131
|
+
width: 80px;
|
132
|
+
height: 80px;
|
133
|
+
}
|
134
|
+
|
135
|
+
.Card-size-lg.Card-without-image .Card-header {
|
136
|
+
font-size: 20px;
|
137
|
+
}
|
138
|
+
|
139
|
+
sparkle-card.disabled,
|
140
|
+
sparkle-card[disabled] {
|
141
|
+
position: relative;
|
142
|
+
}
|
143
|
+
|
144
|
+
sparkle-card.disabled::after,
|
145
|
+
sparkle-card[disabled]::after {
|
146
|
+
position: absolute;
|
147
|
+
top: 0;
|
148
|
+
right: 0;
|
149
|
+
left: 0;
|
150
|
+
bottom: 0;
|
151
|
+
background: rgba(232, 232, 232, 0.5);
|
152
|
+
pointer-events: none;
|
153
|
+
content: '';
|
154
|
+
}
|
155
|
+
|
156
|
+
aside sparkle-card {
|
157
|
+
max-width: 240px;
|
158
|
+
}
|
159
|
+
|
160
|
+
aside .Card-container {
|
161
|
+
display: grid;
|
162
|
+
grid-template-columns: minmax(0, max-content) 1fr;
|
163
|
+
grid-template-rows: minmax(0, min-content);
|
164
|
+
grid-template-areas:
|
165
|
+
'icon title'
|
166
|
+
'icon body';
|
167
|
+
}
|
168
|
+
|
169
|
+
aside .Card-icon {
|
170
|
+
width: 32px;
|
171
|
+
height: 32px;
|
172
|
+
margin-right: 16px;
|
173
|
+
margin-bottom: 0;
|
174
|
+
grid-area: icon;
|
175
|
+
}
|
176
|
+
|
177
|
+
aside .Card-header {
|
178
|
+
grid-area: title;
|
179
|
+
}
|
180
|
+
|
181
|
+
aside .Card-header::after {
|
182
|
+
background-image: url('/docs/assets/img/new-tab.svg');
|
183
|
+
display: inline-block;
|
184
|
+
height: 13px;
|
185
|
+
width: 13px;
|
186
|
+
background-size: 13px 13px;
|
187
|
+
margin-left: 4px;
|
188
|
+
content: '';
|
189
|
+
}
|
190
|
+
|
191
|
+
aside .Card-content {
|
192
|
+
grid-area: body;
|
193
|
+
/* https://stackoverflow.com/questions/5269713/css-ellipsis-on-second-line */
|
194
|
+
max-height: 42px;
|
195
|
+
overflow: hidden;
|
196
|
+
text-overflow: ellipsis;
|
197
|
+
display: -webkit-box;
|
198
|
+
-webkit-line-clamp: 2;
|
199
|
+
-webkit-box-orient: vertical;
|
200
|
+
}
|
201
|
+
|
202
|
+
aside .Card-icon + .Card-content {
|
203
|
+
margin-top: -6px;
|
204
|
+
}
|
205
|
+
|
206
|
+
.markdown-content p sparkle-card {
|
207
|
+
margin-top: 1em;
|
208
|
+
}
|
package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
sparkle-cards {
|
2
|
+
display: grid;
|
3
|
+
font-size: 12px;
|
4
|
+
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
5
|
+
grid-gap: 1.35rem;
|
6
|
+
}
|
7
|
+
|
8
|
+
sparkle-cards > sparkle-card {
|
9
|
+
font-size: inherit;
|
10
|
+
max-width: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
sparkle-cards > sparkle-card.tall {
|
14
|
+
grid-row: span 2;
|
15
|
+
}
|
16
|
+
|
17
|
+
sparkle-cards > sparkle-card.wide {
|
18
|
+
grid-column: span 2;
|
19
|
+
}
|
20
|
+
|
21
|
+
sparkle-cards.prioritized > sparkle-card:nth-child(-n + 5) {
|
22
|
+
font-size: 1.25em;
|
23
|
+
}
|
24
|
+
|
25
|
+
sparkle-cards.prioritized > sparkle-card:first-child {
|
26
|
+
grid-row: span 2;
|
27
|
+
}
|
28
|
+
|
29
|
+
sparkle-cards.max-measure > sparkle-card {
|
30
|
+
max-width: 50%;
|
31
|
+
}
|
package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css
ADDED
@@ -0,0 +1,245 @@
|
|
1
|
+
/**
|
2
|
+
* prism.js Dark theme for JavaScript, CSS and HTML
|
3
|
+
* Based on the slides of the talk “/Reg(exp){2}lained/”
|
4
|
+
* @author Lea Verou
|
5
|
+
*/
|
6
|
+
|
7
|
+
code[class*="language-"],
|
8
|
+
pre[class*="language-"] {
|
9
|
+
color: #4d4d4c;
|
10
|
+
background: none;
|
11
|
+
white-space: pre;
|
12
|
+
word-spacing: normal;
|
13
|
+
word-break: normal;
|
14
|
+
word-wrap: normal;
|
15
|
+
line-height: 1.5;
|
16
|
+
|
17
|
+
-moz-tab-size: 4;
|
18
|
+
-o-tab-size: 4;
|
19
|
+
tab-size: 4;
|
20
|
+
|
21
|
+
-webkit-hyphens: none;
|
22
|
+
-moz-hyphens: none;
|
23
|
+
-ms-hyphens: none;
|
24
|
+
hyphens: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
pre[class*="language-"],
|
28
|
+
:not(pre) > code[class*="language-"] {
|
29
|
+
background: hsl(30, 20%, 25%);
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Code blocks */
|
33
|
+
pre[class*="language-"] {
|
34
|
+
padding: 1em;
|
35
|
+
margin: .5em 0;
|
36
|
+
overflow: auto;
|
37
|
+
border: .3em solid hsl(30, 20%, 40%);
|
38
|
+
border-radius: .5em;
|
39
|
+
box-shadow: 1px 1px .5em black inset;
|
40
|
+
}
|
41
|
+
|
42
|
+
/* Inline code */
|
43
|
+
:not(pre) > code[class*="language-"] {
|
44
|
+
padding: .15em .2em .05em;
|
45
|
+
border-radius: .3em;
|
46
|
+
border: .13em solid hsl(30, 20%, 40%);
|
47
|
+
box-shadow: 1px 1px .3em -.1em black inset;
|
48
|
+
white-space: normal;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* Tomorrow Comment */
|
52
|
+
.token.comment,
|
53
|
+
.token.prolog,
|
54
|
+
.token.doctype,
|
55
|
+
.token.cdata {
|
56
|
+
color: #8c9296;
|
57
|
+
}
|
58
|
+
|
59
|
+
.token.punctuation {
|
60
|
+
opacity: .7;
|
61
|
+
}
|
62
|
+
|
63
|
+
.namespace {
|
64
|
+
opacity: .7;
|
65
|
+
}
|
66
|
+
|
67
|
+
.token.tag {
|
68
|
+
color: #91c5ff;
|
69
|
+
}
|
70
|
+
|
71
|
+
.token.tag .token.tag {
|
72
|
+
color: #2b90ff;
|
73
|
+
}
|
74
|
+
|
75
|
+
.token.property,
|
76
|
+
.token.attr-name,
|
77
|
+
.token.boolean,
|
78
|
+
.token.number,
|
79
|
+
.token.constant,
|
80
|
+
.token.symbol {
|
81
|
+
color: #8454ff;
|
82
|
+
}
|
83
|
+
|
84
|
+
.token.selector,
|
85
|
+
.token.char,
|
86
|
+
.token.function,
|
87
|
+
.token.builtin,
|
88
|
+
.token.inserted {
|
89
|
+
color: #ff6810;
|
90
|
+
}
|
91
|
+
|
92
|
+
.token.operator,
|
93
|
+
.token.string,
|
94
|
+
.token.entity,
|
95
|
+
.token.url,
|
96
|
+
.token.attr-value,
|
97
|
+
.language-css .token.string,
|
98
|
+
.style .token.string,
|
99
|
+
.token.variable {
|
100
|
+
color: #42b983;
|
101
|
+
}
|
102
|
+
|
103
|
+
.token.atrule {
|
104
|
+
color: #ffbb01;
|
105
|
+
}
|
106
|
+
|
107
|
+
.token.regex,
|
108
|
+
.token.keyword,
|
109
|
+
.token.important {
|
110
|
+
color: #f55073;
|
111
|
+
}
|
112
|
+
|
113
|
+
.token.important,
|
114
|
+
.token.bold {
|
115
|
+
font-weight: bold;
|
116
|
+
}
|
117
|
+
.token.italic {
|
118
|
+
font-style: italic;
|
119
|
+
}
|
120
|
+
|
121
|
+
.token.entity {
|
122
|
+
cursor: help;
|
123
|
+
}
|
124
|
+
|
125
|
+
.token.deleted {
|
126
|
+
color: red;
|
127
|
+
}
|
128
|
+
|
129
|
+
sparkle-code[language="shell"] > pre {
|
130
|
+
background-color: var(--text-color--dark);
|
131
|
+
border-radius: 7px;
|
132
|
+
}
|
133
|
+
|
134
|
+
sparkle-code[language="shell"]:before {
|
135
|
+
display: none;
|
136
|
+
}
|
137
|
+
|
138
|
+
sparkle-code[language="shell"] code {
|
139
|
+
color: rgba(255, 255, 255, 0.7);
|
140
|
+
font-size: 13px;
|
141
|
+
}
|
142
|
+
|
143
|
+
sparkle-code[language="shell"] .token {
|
144
|
+
color: inherit;
|
145
|
+
}
|
146
|
+
|
147
|
+
sparkle-code[language="shell"] .token.prompt {
|
148
|
+
color: #fb96f9;
|
149
|
+
user-select: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
sparkle-code[language="shell"] .token.comment {
|
153
|
+
color: rgba(255, 255, 255, 0.45);
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
sparkle-code {
|
158
|
+
display: block;
|
159
|
+
position: relative;
|
160
|
+
}
|
161
|
+
|
162
|
+
sparkle-code:before {
|
163
|
+
color: #bdc5d1;
|
164
|
+
content: attr(language);
|
165
|
+
font-family: var(--code-font-family);
|
166
|
+
font-size: 10px;
|
167
|
+
letter-spacing: 0.05em;
|
168
|
+
line-height: 1;
|
169
|
+
padding: 0.75em;
|
170
|
+
position: absolute;
|
171
|
+
right: 0;
|
172
|
+
text-transform: uppercase;
|
173
|
+
top: 0;
|
174
|
+
}
|
175
|
+
|
176
|
+
sparkle-code[language="shell"] pre {
|
177
|
+
white-space: pre-wrap;
|
178
|
+
}
|
179
|
+
|
180
|
+
.code-text__copy{
|
181
|
+
position: absolute;
|
182
|
+
right: 0;
|
183
|
+
top: -1.6rem;
|
184
|
+
height: 20px;
|
185
|
+
}
|
186
|
+
|
187
|
+
.code-text__copy-link,
|
188
|
+
.code-text__copy-confirmation {
|
189
|
+
padding: 4px 5px;
|
190
|
+
font-size: 12px;
|
191
|
+
line-height: 12px;
|
192
|
+
font-weight: 600;
|
193
|
+
position: absolute;
|
194
|
+
right: 0;
|
195
|
+
top: 0;
|
196
|
+
}
|
197
|
+
|
198
|
+
.code-text__copy-link {
|
199
|
+
transition:
|
200
|
+
0.2s transform ,
|
201
|
+
0.2s opacity,
|
202
|
+
0.2s color;
|
203
|
+
color: #70A4FF;
|
204
|
+
background-color: #E0EEFF;
|
205
|
+
border-radius: 4px;
|
206
|
+
display: inline-block;
|
207
|
+
cursor: pointer;
|
208
|
+
opacity: 1;
|
209
|
+
transform: translate3d(0,0,0);
|
210
|
+
z-index: 5;
|
211
|
+
}
|
212
|
+
|
213
|
+
.code-text__copy-link:hover {
|
214
|
+
color: var(--blue);
|
215
|
+
}
|
216
|
+
|
217
|
+
.code-text__copy-confirmation {
|
218
|
+
transition:
|
219
|
+
0.2s transform ,
|
220
|
+
0.2s opacity;
|
221
|
+
color: #0ec254;
|
222
|
+
opacity: 0;
|
223
|
+
transform: translate3d(0,5px,0);
|
224
|
+
z-index: 1;
|
225
|
+
display: flex;
|
226
|
+
align-items: center;
|
227
|
+
height: 20px;
|
228
|
+
padding: 0;
|
229
|
+
}
|
230
|
+
|
231
|
+
.code-text__copy-confirmation svg {
|
232
|
+
fill: #0ec254;
|
233
|
+
margin-right: -4px;
|
234
|
+
}
|
235
|
+
|
236
|
+
.show-confirmation .code-text__copy-link {
|
237
|
+
opacity: 0;
|
238
|
+
transform: translate3d(0,-5px,0);
|
239
|
+
pointer-events: none;
|
240
|
+
}
|
241
|
+
|
242
|
+
.show-confirmation .code-text__copy-confirmation {
|
243
|
+
opacity: 1;
|
244
|
+
transform: translate3d(0,0,0);
|
245
|
+
}
|
@@ -0,0 +1,115 @@
|
|
1
|
+
.Dropdown {
|
2
|
+
display: inline-block;
|
3
|
+
position: relative;
|
4
|
+
z-index: 1;
|
5
|
+
}
|
6
|
+
|
7
|
+
.Dropdown-button {
|
8
|
+
appearance: none;
|
9
|
+
background: none;
|
10
|
+
border: none;
|
11
|
+
color: inherit;
|
12
|
+
font-family: inherit;
|
13
|
+
font-size: inherit;
|
14
|
+
font-weight: inherit;
|
15
|
+
line-height: inherit;
|
16
|
+
padding: initial;
|
17
|
+
white-space: nowrap;
|
18
|
+
display: flex;
|
19
|
+
}
|
20
|
+
|
21
|
+
.Dropdown-button .Dropdown-icon {
|
22
|
+
height: 14px;
|
23
|
+
width: 22px;
|
24
|
+
fill: #ced6e0;
|
25
|
+
}
|
26
|
+
|
27
|
+
.Dropdown-button .Dropdown-icon + .Dropdown-arrow {
|
28
|
+
margin-left: 0px;
|
29
|
+
fill: #ced6e0;
|
30
|
+
vertical-align: 2px;
|
31
|
+
}
|
32
|
+
.Dropdown:focus,
|
33
|
+
.Dropdown-button:focus {
|
34
|
+
outline: none;
|
35
|
+
}
|
36
|
+
|
37
|
+
.Dropdown-button:hover {
|
38
|
+
cursor: pointer;
|
39
|
+
}
|
40
|
+
|
41
|
+
.Dropdown-arrow {
|
42
|
+
fill: currentColor;
|
43
|
+
height: 0.8em;
|
44
|
+
margin-bottom: -0.0875em;
|
45
|
+
width: 0.8em;
|
46
|
+
margin-left: 0.8em;
|
47
|
+
}
|
48
|
+
|
49
|
+
.Dropdown.is-open .Dropdown-arrow {
|
50
|
+
transform: rotate(180deg);
|
51
|
+
}
|
52
|
+
|
53
|
+
.Dropdown-panel {
|
54
|
+
background-color: var(--background);
|
55
|
+
border-radius: 6px;
|
56
|
+
border: none;
|
57
|
+
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.08), 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
|
58
|
+
display: none;
|
59
|
+
min-width: 100%;
|
60
|
+
overflow: hidden;
|
61
|
+
pointer-events: none;
|
62
|
+
position: absolute;
|
63
|
+
top: 100%;
|
64
|
+
visibility: hidden;
|
65
|
+
}
|
66
|
+
|
67
|
+
.Dropdown.is-open .Dropdown-panel {
|
68
|
+
display: initial;
|
69
|
+
pointer-events: auto;
|
70
|
+
visibility: visible;
|
71
|
+
}
|
72
|
+
|
73
|
+
.Dropdown--left .Dropdown-panel {
|
74
|
+
left: 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
.Dropdown--right .Dropdown-panel {
|
78
|
+
right: 0;
|
79
|
+
}
|
80
|
+
|
81
|
+
.Dropdown--center .Dropdown-panel {
|
82
|
+
left: 50%;
|
83
|
+
transform: translateX(-50%);
|
84
|
+
}
|
85
|
+
|
86
|
+
.Dropdown-panel a {
|
87
|
+
display: flex;
|
88
|
+
justify-content: space-between;
|
89
|
+
padding: 0.5em 1em;
|
90
|
+
}
|
91
|
+
|
92
|
+
.Dropdown-panel svg {
|
93
|
+
height: 1em;
|
94
|
+
width: 1em;
|
95
|
+
margin-left: 4px;
|
96
|
+
}
|
97
|
+
|
98
|
+
@media (hover: hover) {
|
99
|
+
.Dropdown-panel a:hover {
|
100
|
+
background-color: rgba(0, 0, 0, 0.025);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.Dropdown-panel > section {
|
105
|
+
padding: 0.5em 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
.Dropdown-panel > section:not(:last-child) {
|
109
|
+
border-bottom: solid 1px var(--line-rule-color);
|
110
|
+
}
|
111
|
+
.Dropdown-image {
|
112
|
+
height: 36px;
|
113
|
+
width: 36px;
|
114
|
+
border-radius: 50%;
|
115
|
+
}
|