@instructure/ui-themes 11.7.10 → 11.7.11-snapshot-4
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/CHANGELOG.md +8 -0
- package/es/themes/newThemeTokens/componentTypes/imageCard.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/mainNav.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/mainNavAccountItem.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/mainNavItem.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/stepItem.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/stepper.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/subNav.js +1 -0
- package/es/themes/newThemeTokens/componentTypes/subNavItem.js +1 -0
- package/es/themes/newThemeTokens/dark/components/alert.js +3 -1
- package/es/themes/newThemeTokens/dark/components/globalNav.js +57 -0
- package/es/themes/newThemeTokens/dark/components/imageCard.js +64 -0
- package/es/themes/newThemeTokens/dark/components/mainNav.js +31 -0
- package/es/themes/newThemeTokens/dark/components/mainNavAccountItem.js +41 -0
- package/es/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.js +31 -0
- package/es/themes/newThemeTokens/dark/components/mainNavItem.js +47 -0
- package/es/themes/newThemeTokens/dark/components/pill.js +3 -2
- package/es/themes/newThemeTokens/dark/components/stepItem.js +32 -0
- package/es/themes/newThemeTokens/dark/components/stepper.js +50 -0
- package/es/themes/newThemeTokens/dark/components/subNav.js +35 -0
- package/es/themes/newThemeTokens/dark/components/subNavItem.js +37 -0
- package/es/themes/newThemeTokens/dark/index.js +20 -2
- package/es/themes/newThemeTokens/dark/semantics.js +1 -1
- package/es/themes/newThemeTokens/legacyCanvas/components/alert.js +3 -1
- package/es/themes/newThemeTokens/legacyCanvas/components/globalNav.js +57 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/imageCard.js +64 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/mainNav.js +31 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.js +41 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.js +31 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/mainNavItem.js +47 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/pill.js +5 -4
- package/es/themes/newThemeTokens/legacyCanvas/components/stepItem.js +32 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/stepper.js +50 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/subNav.js +35 -0
- package/es/themes/newThemeTokens/legacyCanvas/components/subNavItem.js +37 -0
- package/es/themes/newThemeTokens/legacyCanvas/index.js +20 -2
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.js +3 -1
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.js +57 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.js +64 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.js +31 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.js +41 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.js +31 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.js +47 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.js +5 -4
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.js +32 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.js +50 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.js +35 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.js +37 -0
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/index.js +20 -2
- package/es/themes/newThemeTokens/light/components/alert.js +3 -1
- package/es/themes/newThemeTokens/light/components/globalNav.js +57 -0
- package/es/themes/newThemeTokens/light/components/imageCard.js +64 -0
- package/es/themes/newThemeTokens/light/components/mainNav.js +31 -0
- package/es/themes/newThemeTokens/light/components/mainNavAccountItem.js +41 -0
- package/es/themes/newThemeTokens/light/components/mainNavInstitutionLogo.js +31 -0
- package/es/themes/newThemeTokens/light/components/mainNavItem.js +47 -0
- package/es/themes/newThemeTokens/light/components/pill.js +3 -2
- package/es/themes/newThemeTokens/light/components/stepItem.js +32 -0
- package/es/themes/newThemeTokens/light/components/stepper.js +50 -0
- package/es/themes/newThemeTokens/light/components/subNav.js +35 -0
- package/es/themes/newThemeTokens/light/components/subNavItem.js +37 -0
- package/es/themes/newThemeTokens/light/index.js +20 -2
- package/lib/themes/newThemeTokens/componentTypes/imageCard.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/mainNav.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/mainNavAccountItem.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/mainNavItem.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/stepItem.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/stepper.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/subNav.js +5 -0
- package/lib/themes/newThemeTokens/componentTypes/subNavItem.js +5 -0
- package/lib/themes/newThemeTokens/dark/components/alert.js +3 -1
- package/lib/themes/newThemeTokens/dark/components/globalNav.js +63 -0
- package/lib/themes/newThemeTokens/dark/components/imageCard.js +70 -0
- package/lib/themes/newThemeTokens/dark/components/mainNav.js +37 -0
- package/lib/themes/newThemeTokens/dark/components/mainNavAccountItem.js +47 -0
- package/lib/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.js +37 -0
- package/lib/themes/newThemeTokens/dark/components/mainNavItem.js +53 -0
- package/lib/themes/newThemeTokens/dark/components/pill.js +3 -2
- package/lib/themes/newThemeTokens/dark/components/stepItem.js +38 -0
- package/lib/themes/newThemeTokens/dark/components/stepper.js +56 -0
- package/lib/themes/newThemeTokens/dark/components/subNav.js +41 -0
- package/lib/themes/newThemeTokens/dark/components/subNavItem.js +43 -0
- package/lib/themes/newThemeTokens/dark/index.js +20 -2
- package/lib/themes/newThemeTokens/dark/semantics.js +1 -1
- package/lib/themes/newThemeTokens/legacyCanvas/components/alert.js +3 -1
- package/lib/themes/newThemeTokens/legacyCanvas/components/globalNav.js +63 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/imageCard.js +70 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/mainNav.js +37 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.js +47 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.js +37 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/mainNavItem.js +53 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/pill.js +5 -4
- package/lib/themes/newThemeTokens/legacyCanvas/components/stepItem.js +38 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/stepper.js +56 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/subNav.js +41 -0
- package/lib/themes/newThemeTokens/legacyCanvas/components/subNavItem.js +43 -0
- package/lib/themes/newThemeTokens/legacyCanvas/index.js +20 -2
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.js +3 -1
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.js +63 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.js +70 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.js +37 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.js +47 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.js +37 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.js +53 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.js +5 -4
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.js +38 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.js +56 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.js +41 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.js +43 -0
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/index.js +20 -2
- package/lib/themes/newThemeTokens/light/components/alert.js +3 -1
- package/lib/themes/newThemeTokens/light/components/globalNav.js +63 -0
- package/lib/themes/newThemeTokens/light/components/imageCard.js +70 -0
- package/lib/themes/newThemeTokens/light/components/mainNav.js +37 -0
- package/lib/themes/newThemeTokens/light/components/mainNavAccountItem.js +47 -0
- package/lib/themes/newThemeTokens/light/components/mainNavInstitutionLogo.js +37 -0
- package/lib/themes/newThemeTokens/light/components/mainNavItem.js +53 -0
- package/lib/themes/newThemeTokens/light/components/pill.js +3 -2
- package/lib/themes/newThemeTokens/light/components/stepItem.js +38 -0
- package/lib/themes/newThemeTokens/light/components/stepper.js +56 -0
- package/lib/themes/newThemeTokens/light/components/subNav.js +41 -0
- package/lib/themes/newThemeTokens/light/components/subNavItem.js +43 -0
- package/lib/themes/newThemeTokens/light/index.js +20 -2
- package/package.json +3 -3
- package/src/themes/newThemeTokens/componentTypes/alert.ts +2 -0
- package/src/themes/newThemeTokens/componentTypes/{sideNavBarNew.ts → globalNav.ts} +2 -42
- package/src/themes/newThemeTokens/componentTypes/imageCard.ts +51 -0
- package/src/themes/newThemeTokens/componentTypes/index.ts +20 -2
- package/src/themes/newThemeTokens/componentTypes/mainNav.ts +27 -0
- package/src/themes/newThemeTokens/componentTypes/mainNavAccountItem.ts +42 -0
- package/src/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.ts +27 -0
- package/src/themes/newThemeTokens/componentTypes/mainNavItem.ts +48 -0
- package/src/themes/newThemeTokens/componentTypes/pill.ts +2 -1
- package/src/themes/newThemeTokens/componentTypes/stepItem.ts +33 -0
- package/src/themes/newThemeTokens/componentTypes/stepper.ts +45 -0
- package/src/themes/newThemeTokens/componentTypes/subNav.ts +36 -0
- package/src/themes/newThemeTokens/componentTypes/subNavItem.ts +38 -0
- package/src/themes/newThemeTokens/dark/components/alert.ts +3 -1
- package/src/themes/newThemeTokens/dark/components/globalNav.ts +59 -0
- package/src/themes/newThemeTokens/dark/components/imageCard.ts +66 -0
- package/src/themes/newThemeTokens/dark/components/mainNav.ts +33 -0
- package/src/themes/newThemeTokens/dark/components/mainNavAccountItem.ts +43 -0
- package/src/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.ts +33 -0
- package/src/themes/newThemeTokens/dark/components/mainNavItem.ts +49 -0
- package/src/themes/newThemeTokens/dark/components/pill.ts +3 -2
- package/src/themes/newThemeTokens/dark/components/stepItem.ts +34 -0
- package/src/themes/newThemeTokens/dark/components/stepper.ts +48 -0
- package/src/themes/newThemeTokens/dark/components/subNav.ts +37 -0
- package/src/themes/newThemeTokens/dark/components/subNavItem.ts +39 -0
- package/src/themes/newThemeTokens/dark/index.ts +20 -2
- package/src/themes/newThemeTokens/dark/semantics.ts +2 -2
- package/src/themes/newThemeTokens/legacyCanvas/components/alert.ts +3 -1
- package/src/themes/newThemeTokens/legacyCanvas/components/globalNav.ts +59 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/imageCard.ts +66 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/mainNav.ts +26 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.ts +43 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.ts +33 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/mainNavItem.ts +49 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/pill.ts +5 -4
- package/src/themes/newThemeTokens/legacyCanvas/components/stepItem.ts +34 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/stepper.ts +48 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/subNav.ts +37 -0
- package/src/themes/newThemeTokens/legacyCanvas/components/subNavItem.ts +39 -0
- package/src/themes/newThemeTokens/legacyCanvas/index.ts +20 -2
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.ts +3 -1
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.ts +59 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.ts +66 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.ts +26 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.ts +43 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.ts +33 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.ts +49 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.ts +5 -4
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.ts +34 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.ts +48 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.ts +37 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.ts +39 -0
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/index.ts +20 -2
- package/src/themes/newThemeTokens/light/components/alert.ts +3 -1
- package/src/themes/newThemeTokens/light/components/globalNav.ts +59 -0
- package/src/themes/newThemeTokens/light/components/imageCard.ts +66 -0
- package/src/themes/newThemeTokens/light/components/mainNav.ts +33 -0
- package/src/themes/newThemeTokens/light/components/mainNavAccountItem.ts +43 -0
- package/src/themes/newThemeTokens/light/components/mainNavInstitutionLogo.ts +33 -0
- package/src/themes/newThemeTokens/light/components/mainNavItem.ts +49 -0
- package/src/themes/newThemeTokens/light/components/pill.ts +3 -2
- package/src/themes/newThemeTokens/light/components/stepItem.ts +34 -0
- package/src/themes/newThemeTokens/light/components/stepper.ts +48 -0
- package/src/themes/newThemeTokens/light/components/subNav.ts +37 -0
- package/src/themes/newThemeTokens/light/components/subNavItem.ts +39 -0
- package/src/themes/newThemeTokens/light/index.ts +20 -2
- package/tokens/canvas/source.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/themes/newThemeTokens/componentTypes/alert.d.ts +2 -0
- package/types/themes/newThemeTokens/componentTypes/alert.d.ts.map +1 -1
- package/types/themes/newThemeTokens/componentTypes/globalNav.d.ts +22 -0
- package/types/themes/newThemeTokens/componentTypes/globalNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/imageCard.d.ts +29 -0
- package/types/themes/newThemeTokens/componentTypes/imageCard.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/index.d.ts +20 -2
- package/types/themes/newThemeTokens/componentTypes/index.d.ts.map +1 -1
- package/types/themes/newThemeTokens/componentTypes/mainNav.d.ts +8 -0
- package/types/themes/newThemeTokens/componentTypes/mainNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/mainNavAccountItem.d.ts +18 -0
- package/types/themes/newThemeTokens/componentTypes/mainNavAccountItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.d.ts +8 -0
- package/types/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/mainNavItem.d.ts +24 -0
- package/types/themes/newThemeTokens/componentTypes/mainNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/pill.d.ts +2 -1
- package/types/themes/newThemeTokens/componentTypes/pill.d.ts.map +1 -1
- package/types/themes/newThemeTokens/componentTypes/stepItem.d.ts +9 -0
- package/types/themes/newThemeTokens/componentTypes/stepItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/stepper.d.ts +21 -0
- package/types/themes/newThemeTokens/componentTypes/stepper.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/subNav.d.ts +12 -0
- package/types/themes/newThemeTokens/componentTypes/subNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/componentTypes/subNavItem.d.ts +14 -0
- package/types/themes/newThemeTokens/componentTypes/subNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/alert.d.ts +2 -0
- package/types/themes/newThemeTokens/dark/components/alert.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/components/globalNav.d.ts +35 -0
- package/types/themes/newThemeTokens/dark/components/globalNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/imageCard.d.ts +42 -0
- package/types/themes/newThemeTokens/dark/components/imageCard.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/mainNav.d.ts +9 -0
- package/types/themes/newThemeTokens/dark/components/mainNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/mainNavAccountItem.d.ts +19 -0
- package/types/themes/newThemeTokens/dark/components/mainNavAccountItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.d.ts +9 -0
- package/types/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/mainNavItem.d.ts +25 -0
- package/types/themes/newThemeTokens/dark/components/mainNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/pill.d.ts +2 -1
- package/types/themes/newThemeTokens/dark/components/pill.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/components/stepItem.d.ts +10 -0
- package/types/themes/newThemeTokens/dark/components/stepItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/stepper.d.ts +28 -0
- package/types/themes/newThemeTokens/dark/components/stepper.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/subNav.d.ts +13 -0
- package/types/themes/newThemeTokens/dark/components/subNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/components/subNavItem.d.ts +15 -0
- package/types/themes/newThemeTokens/dark/components/subNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/dark/index.d.ts.map +1 -1
- package/types/themes/newThemeTokens/dark/semantics.d.ts +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/alert.d.ts +2 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/alert.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/globalNav.d.ts +35 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/globalNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/imageCard.d.ts +42 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/imageCard.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNav.d.ts +8 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.d.ts +19 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.d.ts +9 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNavItem.d.ts +25 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/mainNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/pill.d.ts +2 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/pill.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/stepItem.d.ts +10 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/stepItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/stepper.d.ts +28 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/stepper.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/subNav.d.ts +13 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/subNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/subNavItem.d.ts +15 -0
- package/types/themes/newThemeTokens/legacyCanvas/components/subNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvas/index.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.d.ts +2 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.d.ts +35 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.d.ts +42 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.d.ts +8 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.d.ts +19 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.d.ts +9 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.d.ts +25 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.d.ts +2 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.d.ts +10 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.d.ts +28 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.d.ts +13 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.d.ts +15 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/index.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/components/alert.d.ts +2 -0
- package/types/themes/newThemeTokens/light/components/alert.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/components/globalNav.d.ts +35 -0
- package/types/themes/newThemeTokens/light/components/globalNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/imageCard.d.ts +42 -0
- package/types/themes/newThemeTokens/light/components/imageCard.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/mainNav.d.ts +9 -0
- package/types/themes/newThemeTokens/light/components/mainNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/mainNavAccountItem.d.ts +19 -0
- package/types/themes/newThemeTokens/light/components/mainNavAccountItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/mainNavInstitutionLogo.d.ts +9 -0
- package/types/themes/newThemeTokens/light/components/mainNavInstitutionLogo.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/mainNavItem.d.ts +25 -0
- package/types/themes/newThemeTokens/light/components/mainNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/pill.d.ts +2 -1
- package/types/themes/newThemeTokens/light/components/pill.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/components/stepItem.d.ts +10 -0
- package/types/themes/newThemeTokens/light/components/stepItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/stepper.d.ts +35 -0
- package/types/themes/newThemeTokens/light/components/stepper.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/subNav.d.ts +13 -0
- package/types/themes/newThemeTokens/light/components/subNav.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/components/subNavItem.d.ts +15 -0
- package/types/themes/newThemeTokens/light/components/subNavItem.d.ts.map +1 -0
- package/types/themes/newThemeTokens/light/index.d.ts.map +1 -1
- package/es/themes/newThemeTokens/dark/components/sideNavBarNew.js +0 -109
- package/es/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.js +0 -109
- package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.js +0 -109
- package/es/themes/newThemeTokens/light/components/sideNavBarNew.js +0 -109
- package/lib/themes/newThemeTokens/dark/components/sideNavBarNew.js +0 -115
- package/lib/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.js +0 -115
- package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.js +0 -115
- package/lib/themes/newThemeTokens/light/components/sideNavBarNew.js +0 -115
- package/src/themes/newThemeTokens/dark/components/sideNavBarNew.ts +0 -109
- package/src/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.ts +0 -109
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.ts +0 -109
- package/src/themes/newThemeTokens/light/components/sideNavBarNew.ts +0 -109
- package/types/themes/newThemeTokens/componentTypes/sideNavBarNew.d.ts +0 -74
- package/types/themes/newThemeTokens/componentTypes/sideNavBarNew.d.ts.map +0 -1
- package/types/themes/newThemeTokens/dark/components/sideNavBarNew.d.ts +0 -87
- package/types/themes/newThemeTokens/dark/components/sideNavBarNew.d.ts.map +0 -1
- package/types/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.d.ts +0 -87
- package/types/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.d.ts.map +0 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.d.ts +0 -87
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.d.ts.map +0 -1
- package/types/themes/newThemeTokens/light/components/sideNavBarNew.d.ts +0 -87
- package/types/themes/newThemeTokens/light/components/sideNavBarNew.d.ts.map +0 -1
- /package/es/themes/newThemeTokens/componentTypes/{sideNavBarNew.js → globalNav.js} +0 -0
- /package/lib/themes/newThemeTokens/componentTypes/{sideNavBarNew.js → globalNav.js} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const mainNavItem = semantic => ({
|
|
32
|
+
horizontalPadding: semantic.spacing.spaceSm,
|
|
33
|
+
verticalPadding: "0.25rem",
|
|
34
|
+
iconWrapperHeight: "2.25rem",
|
|
35
|
+
minimizedItemSize: "2.75rem",
|
|
36
|
+
borderRadius: semantic.borderRadius.md,
|
|
37
|
+
backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
|
|
38
|
+
fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
39
|
+
fontFamily: semantic.fontFamily.base,
|
|
40
|
+
fontSize: semantic.fontSize.textBase,
|
|
41
|
+
fontWeight: semantic.fontWeight.body.base,
|
|
42
|
+
innerFocusOutlineColor: semantic.color.transparentColor,
|
|
43
|
+
outerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
44
|
+
hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
|
|
45
|
+
lineHeight: semantic.lineHeight.paragraph.base,
|
|
46
|
+
linkTextDecoration: "none",
|
|
47
|
+
currentBackgroundColor: semantic.color.institutional.brandPrimary,
|
|
48
|
+
selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
49
|
+
currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
|
|
50
|
+
selectedInnerFocusOutlineColor: semantic.color.transparentColor,
|
|
51
|
+
selectedOuterFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base
|
|
52
|
+
});
|
|
53
|
+
var _default = exports.default = mainNavItem;
|
|
@@ -32,7 +32,6 @@ const pill = semantic => ({
|
|
|
32
32
|
paddingHorizontal: semantic.spacing.spaceSm,
|
|
33
33
|
paddingHorizontalMedium: semantic.spacing.spaceMd,
|
|
34
34
|
paddingHorizontalLarge: semantic.spacing.spaceMd,
|
|
35
|
-
paddingVertical: semantic.spacing.spaceXs,
|
|
36
35
|
gapIconLabel: semantic.spacing.spaceXs,
|
|
37
36
|
gapIconLabelMedium: semantic.spacing.spaceSm,
|
|
38
37
|
gapIconLabelLarge: semantic.spacing.spaceSm,
|
|
@@ -45,7 +44,7 @@ const pill = semantic => ({
|
|
|
45
44
|
textFontSizeMedium: semantic.fontSize.textSm,
|
|
46
45
|
textFontSizeLarge: semantic.fontSize.textBase,
|
|
47
46
|
textFontWeight: semantic.fontWeight.body.base,
|
|
48
|
-
statusLabelFontWeight: semantic.fontWeight.body.
|
|
47
|
+
statusLabelFontWeight: semantic.fontWeight.body.strong,
|
|
49
48
|
maxWidth: "240px",
|
|
50
49
|
baseBorderColor: {
|
|
51
50
|
value: semantic.color.stroke.strong,
|
|
@@ -171,6 +170,8 @@ const pill = semantic => ({
|
|
|
171
170
|
borderRadius: semantic.borderRadius.full,
|
|
172
171
|
borderWidth: semantic.borderWidth.sm,
|
|
173
172
|
lineHeight: semantic.lineHeight.standalone.textSm,
|
|
173
|
+
lineHeightMedium: semantic.lineHeight.standalone.textBase,
|
|
174
|
+
lineHeightLarge: semantic.lineHeight.standalone.textLg,
|
|
174
175
|
fontFamily: semantic.fontFamily.base,
|
|
175
176
|
borderStyle: "solid"
|
|
176
177
|
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const stepItem = semantic => ({
|
|
32
|
+
stepStrokeFilledColor: semantic.color.stroke.info,
|
|
33
|
+
stepStrokeColor: semantic.color.stroke.base,
|
|
34
|
+
stepStrokeFilledWidth: semantic.borderWidth.lg,
|
|
35
|
+
stepStrokeWidth: semantic.borderWidth.md,
|
|
36
|
+
stepStrokeRadius: semantic.borderRadius.xs
|
|
37
|
+
});
|
|
38
|
+
var _default = exports.default = stepItem;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const stepper = semantic => ({
|
|
32
|
+
stepGap: semantic.spacing.spaceSm,
|
|
33
|
+
stepContentGap: semantic.spacing.spaceSm,
|
|
34
|
+
stepPaddingInlineEnd: semantic.spacing.spaceLg,
|
|
35
|
+
stepPaddingBlockEnd: semantic.spacing.spaceXl,
|
|
36
|
+
currentStepTextGap: semantic.spacing.spaceXs,
|
|
37
|
+
compactStrokeFilledColor: semantic.color.stroke.info,
|
|
38
|
+
compactStrokeColor: semantic.color.stroke.base,
|
|
39
|
+
compactStrokeErrorColor: semantic.color.stroke.error,
|
|
40
|
+
compactStrokeGap: semantic.spacing.spaceSm,
|
|
41
|
+
compactStrokeHeight: semantic.borderWidth.lg,
|
|
42
|
+
compactStrokeRadius: semantic.borderRadius.xs,
|
|
43
|
+
mobileToggleBackground: {
|
|
44
|
+
value: semantic.color.background.interactive.action.secondary.base,
|
|
45
|
+
modify: {
|
|
46
|
+
type: "alpha",
|
|
47
|
+
value: 0.2,
|
|
48
|
+
space: "hsl"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
mobileToggleBorderRadius: semantic.borderRadius.interactive.base,
|
|
52
|
+
mobileTogglePaddingHorizontal: semantic.spacing.padding.interactive.horizontal.lg,
|
|
53
|
+
mobileTogglePaddingVertical: semantic.spacing.spaceSm,
|
|
54
|
+
mobileToggleContentGap: semantic.spacing.spaceSm
|
|
55
|
+
});
|
|
56
|
+
var _default = exports.default = stepper;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const subNav = semantic => ({
|
|
32
|
+
strokeColor: semantic.color.stroke.muted,
|
|
33
|
+
textColor: semantic.color.text.base,
|
|
34
|
+
padding: semantic.spacing.spaceMd,
|
|
35
|
+
gap: semantic.spacing.spaceSm,
|
|
36
|
+
navItemsGap: semantic.spacing.spaceXs,
|
|
37
|
+
minimizedVerticalPadding: "1.625rem",
|
|
38
|
+
minimizedWidth: "2rem",
|
|
39
|
+
minimizedHoverWidth: "2.25rem"
|
|
40
|
+
});
|
|
41
|
+
var _default = exports.default = subNav;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const subNavItem = semantic => ({
|
|
32
|
+
backgroundColor: semantic.color.transparentColor,
|
|
33
|
+
hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
|
|
34
|
+
activeBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
35
|
+
selectedBackgroundColor: semantic.color.background.brand,
|
|
36
|
+
textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
37
|
+
selectedTextColor: semantic.color.text.inverse,
|
|
38
|
+
logoutTextColor: semantic.color.text.error,
|
|
39
|
+
borderRadius: semantic.borderRadius.lg,
|
|
40
|
+
padding: semantic.spacing.spaceSm,
|
|
41
|
+
gap: semantic.spacing.spaceSm
|
|
42
|
+
});
|
|
43
|
+
var _default = exports.default = subNavItem;
|
|
@@ -37,15 +37,21 @@ var _fileDrop = _interopRequireDefault(require("./components/fileDrop"));
|
|
|
37
37
|
var _flex = _interopRequireDefault(require("./components/flex"));
|
|
38
38
|
var _formFieldLayout = _interopRequireDefault(require("./components/formFieldLayout"));
|
|
39
39
|
var _formFieldMessage = _interopRequireDefault(require("./components/formFieldMessage"));
|
|
40
|
+
var _globalNav = _interopRequireDefault(require("./components/globalNav"));
|
|
40
41
|
var _gridCol = _interopRequireDefault(require("./components/gridCol"));
|
|
41
42
|
var _gridRow = _interopRequireDefault(require("./components/gridRow"));
|
|
42
43
|
var _heading = _interopRequireDefault(require("./components/heading"));
|
|
43
44
|
var _icon = _interopRequireDefault(require("./components/icon"));
|
|
45
|
+
var _imageCard = _interopRequireDefault(require("./components/imageCard"));
|
|
44
46
|
var _img = _interopRequireDefault(require("./components/img"));
|
|
45
47
|
var _inlineListItem = _interopRequireDefault(require("./components/inlineListItem"));
|
|
46
48
|
var _link = _interopRequireDefault(require("./components/link"));
|
|
47
49
|
var _list = _interopRequireDefault(require("./components/list"));
|
|
48
50
|
var _listItem = _interopRequireDefault(require("./components/listItem"));
|
|
51
|
+
var _mainNav = _interopRequireDefault(require("./components/mainNav"));
|
|
52
|
+
var _mainNavAccountItem = _interopRequireDefault(require("./components/mainNavAccountItem"));
|
|
53
|
+
var _mainNavInstitutionLogo = _interopRequireDefault(require("./components/mainNavInstitutionLogo"));
|
|
54
|
+
var _mainNavItem = _interopRequireDefault(require("./components/mainNavItem"));
|
|
49
55
|
var _mask = _interopRequireDefault(require("./components/mask"));
|
|
50
56
|
var _menu = _interopRequireDefault(require("./components/menu"));
|
|
51
57
|
var _menuGroup = _interopRequireDefault(require("./components/menuGroup"));
|
|
@@ -76,11 +82,14 @@ var _segmentedControl = _interopRequireDefault(require("./components/segmentedCo
|
|
|
76
82
|
var _select = _interopRequireDefault(require("./components/select"));
|
|
77
83
|
var _sideNavBar = _interopRequireDefault(require("./components/sideNavBar"));
|
|
78
84
|
var _sideNavBarItem = _interopRequireDefault(require("./components/sideNavBarItem"));
|
|
79
|
-
var _sideNavBarNew = _interopRequireDefault(require("./components/sideNavBarNew"));
|
|
80
85
|
var _skeletonLoader = _interopRequireDefault(require("./components/skeletonLoader"));
|
|
81
86
|
var _slider = _interopRequireDefault(require("./components/slider"));
|
|
82
87
|
var _sourceCodeEditor = _interopRequireDefault(require("./components/sourceCodeEditor"));
|
|
83
88
|
var _spinner = _interopRequireDefault(require("./components/spinner"));
|
|
89
|
+
var _stepItem = _interopRequireDefault(require("./components/stepItem"));
|
|
90
|
+
var _stepper = _interopRequireDefault(require("./components/stepper"));
|
|
91
|
+
var _subNav = _interopRequireDefault(require("./components/subNav"));
|
|
92
|
+
var _subNavItem = _interopRequireDefault(require("./components/subNavItem"));
|
|
84
93
|
var _table = _interopRequireDefault(require("./components/table"));
|
|
85
94
|
var _tableBody = _interopRequireDefault(require("./components/tableBody"));
|
|
86
95
|
var _tableCell = _interopRequireDefault(require("./components/tableCell"));
|
|
@@ -146,6 +155,8 @@ const theme = {
|
|
|
146
155
|
Pill: _pill.default,
|
|
147
156
|
FormFieldMessage: _formFieldMessage.default,
|
|
148
157
|
Spinner: _spinner.default,
|
|
158
|
+
StepItem: _stepItem.default,
|
|
159
|
+
Stepper: _stepper.default,
|
|
149
160
|
Link: _link.default,
|
|
150
161
|
TextInput: _textInput.default,
|
|
151
162
|
TextArea: _textArea.default,
|
|
@@ -234,10 +245,17 @@ const theme = {
|
|
|
234
245
|
AppNav: _appNav.default,
|
|
235
246
|
AppNavItem: _appNavItem.default,
|
|
236
247
|
Byline: _byline.default,
|
|
237
|
-
|
|
248
|
+
GlobalNav: _globalNav.default,
|
|
249
|
+
MainNav: _mainNav.default,
|
|
250
|
+
MainNavItem: _mainNavItem.default,
|
|
251
|
+
SubNavItem: _subNavItem.default,
|
|
252
|
+
SubNav: _subNav.default,
|
|
253
|
+
MainNavInstitutionLogo: _mainNavInstitutionLogo.default,
|
|
254
|
+
MainNavAccountItem: _mainNavAccountItem.default,
|
|
238
255
|
Img: _img.default,
|
|
239
256
|
Chart: _chart.default,
|
|
240
257
|
Card: _card.default,
|
|
258
|
+
ImageCard: _imageCard.default,
|
|
241
259
|
Banner: _banner.default,
|
|
242
260
|
MobileSharedTokens: _mobileSharedTokens.default,
|
|
243
261
|
SkeletonLoader: _skeletonLoader.default,
|
|
@@ -742,7 +742,7 @@ const semantics = primitives => ({
|
|
|
742
742
|
}
|
|
743
743
|
},
|
|
744
744
|
"brandButtonSecondaryText": primitives.color.white,
|
|
745
|
-
"brandGlobalNavBgd": primitives.color.grey.
|
|
745
|
+
"brandGlobalNavBgd": primitives.color.grey.grey180,
|
|
746
746
|
"globalNavLinkHover": primitives.color.grey.grey170,
|
|
747
747
|
"brandGlobalNavMenuItemTextColor": primitives.color.white,
|
|
748
748
|
"brandGlobalNavMenuItemTextColorActive": primitives.color.grey.grey180
|
|
@@ -37,7 +37,7 @@ const alert = semantic => ({
|
|
|
37
37
|
contentFontFamily: semantic.fontFamily.base,
|
|
38
38
|
contentFontSize: semantic.fontSize.textBase,
|
|
39
39
|
contentFontWeight: semantic.fontWeight.body.base,
|
|
40
|
-
contentLineHeight: semantic.lineHeight.
|
|
40
|
+
contentLineHeight: semantic.lineHeight.paragraph.textBase,
|
|
41
41
|
dangerBackground: semantic.color.background.error,
|
|
42
42
|
dangerBackgroundInline: semantic.color.background.base,
|
|
43
43
|
dangerBorderColor: semantic.color.stroke.error,
|
|
@@ -58,6 +58,8 @@ const alert = semantic => ({
|
|
|
58
58
|
warningBorderColor: semantic.color.stroke.warning,
|
|
59
59
|
warningBorderColorInline: semantic.color.stroke.warning,
|
|
60
60
|
warningIconBackground: semantic.color.background.base,
|
|
61
|
+
textOnColor: semantic.color.text.onColor,
|
|
62
|
+
textBase: semantic.color.text.base,
|
|
61
63
|
contentPaddingVertical: semantic.spacing.spaceMd,
|
|
62
64
|
contentPaddingHorizontal: semantic.spacing.spaceXl,
|
|
63
65
|
iconPaddingLeft: semantic.spacing.spaceSm,
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const globalNav = semantic => ({
|
|
32
|
+
backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
|
|
33
|
+
fill: semantic.color.icon.onColor,
|
|
34
|
+
textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
35
|
+
minimizedminWidth: "5.75rem",
|
|
36
|
+
toggleTransition: "300ms",
|
|
37
|
+
minWidth: "14.5rem",
|
|
38
|
+
margin: "0rem",
|
|
39
|
+
minimizedMargin: "0rem",
|
|
40
|
+
boxShadow: {
|
|
41
|
+
0: {
|
|
42
|
+
x: "0rem",
|
|
43
|
+
y: "0rem",
|
|
44
|
+
blur: "0rem",
|
|
45
|
+
spread: "0rem",
|
|
46
|
+
color: semantic.color.transparentColor,
|
|
47
|
+
type: "dropShadow"
|
|
48
|
+
},
|
|
49
|
+
1: {
|
|
50
|
+
x: "0rem",
|
|
51
|
+
y: "0rem",
|
|
52
|
+
blur: "0rem",
|
|
53
|
+
spread: "0rem",
|
|
54
|
+
color: semantic.color.transparentColor,
|
|
55
|
+
type: "dropShadow"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
borderRadius: "0rem",
|
|
59
|
+
minimizedBorderRadius: "0rem",
|
|
60
|
+
borderColor: semantic.color.stroke.base,
|
|
61
|
+
borderWidth: semantic.borderWidth.sm
|
|
62
|
+
});
|
|
63
|
+
var _default = exports.default = globalNav;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const imageCard = semantic => ({
|
|
32
|
+
borderRadiusBaseSm: semantic.borderRadius.container.sm,
|
|
33
|
+
borderRadiusBaseMd: semantic.borderRadius.container.md,
|
|
34
|
+
borderRadiusBaseLg: semantic.borderRadius.container.md,
|
|
35
|
+
paddingBaseSm: semantic.spacing.padding.container.xs,
|
|
36
|
+
paddingBaseMd: semantic.spacing.padding.container.sm,
|
|
37
|
+
paddingBaseLg: semantic.spacing.padding.container.md,
|
|
38
|
+
boxShadow: {
|
|
39
|
+
0: {
|
|
40
|
+
x: semantic.dropShadow.x.elevation1.dropshadow1,
|
|
41
|
+
y: semantic.dropShadow.y.elevation1.dropshadow1,
|
|
42
|
+
blur: semantic.dropShadow.blur.elevation1.dropshadow1,
|
|
43
|
+
spread: semantic.dropShadow.spread.elevation1.dropshadow1,
|
|
44
|
+
color: semantic.color.dropShadow.shadowColor1,
|
|
45
|
+
type: "dropShadow"
|
|
46
|
+
},
|
|
47
|
+
1: {
|
|
48
|
+
x: semantic.dropShadow.x.elevation1.dropshadow1,
|
|
49
|
+
y: semantic.dropShadow.y.elevation1.dropshadow2,
|
|
50
|
+
blur: semantic.dropShadow.blur.elevation1.dropshadow2,
|
|
51
|
+
spread: semantic.dropShadow.spread.elevation1.dropshadow2,
|
|
52
|
+
color: semantic.color.dropShadow.shadowColor2,
|
|
53
|
+
type: "dropShadow"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
backgroundColor: semantic.color.background.container,
|
|
57
|
+
breakpointMd: "20rem",
|
|
58
|
+
breakpointLg: "40rem",
|
|
59
|
+
imgTextGapSm: semantic.spacing.gap.cards.md,
|
|
60
|
+
imgTextGapMd: "1.25rem",
|
|
61
|
+
imgTextGapLg: semantic.spacing.gap.cards.lg,
|
|
62
|
+
imgBorderRadiusSm: semantic.borderRadius.md,
|
|
63
|
+
imgBorderRadiusMd: semantic.borderRadius.lg,
|
|
64
|
+
imgBorderRadiusLg: semantic.borderRadius.lg,
|
|
65
|
+
titleContentGapSm: semantic.spacing.spaceSm,
|
|
66
|
+
titleContentGapMd: semantic.spacing.spaceSm,
|
|
67
|
+
titleContentGapLg: semantic.spacing.spaceSm,
|
|
68
|
+
imgAspectRatio: 1.77778
|
|
69
|
+
});
|
|
70
|
+
var _default = exports.default = imageCard;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const mainNav = () => ({
|
|
32
|
+
margin: "0rem",
|
|
33
|
+
minimizedMargin: "0rem",
|
|
34
|
+
gap: "0rem",
|
|
35
|
+
navItemsGap: "0rem"
|
|
36
|
+
});
|
|
37
|
+
var _default = exports.default = mainNav;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const mainNavAccountItem = semantic => ({
|
|
32
|
+
backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
|
|
33
|
+
fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
34
|
+
innerFocusOutlineColor: semantic.color.transparentColor,
|
|
35
|
+
outerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
36
|
+
hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
|
|
37
|
+
currentBackgroundColor: semantic.color.institutional.brandPrimary,
|
|
38
|
+
selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
39
|
+
currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
|
|
40
|
+
selectedInnerFocusOutlineColor: semantic.color.transparentColor,
|
|
41
|
+
selectedOuterFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
42
|
+
padding: semantic.spacing.padding.container.xxs,
|
|
43
|
+
borderRadius: "0rem",
|
|
44
|
+
borderColor: semantic.color.stroke.base,
|
|
45
|
+
minimizedItemSize: "2.75rem"
|
|
46
|
+
});
|
|
47
|
+
var _default = exports.default = mainNavAccountItem;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const mainNavInstitutionLogo = semantic => ({
|
|
32
|
+
textColor: semantic.color.text.onColor,
|
|
33
|
+
strokeColor: semantic.color.stroke.base,
|
|
34
|
+
padding: semantic.spacing.spaceSm,
|
|
35
|
+
gap: semantic.spacing.spaceMd
|
|
36
|
+
});
|
|
37
|
+
var _default = exports.default = mainNavInstitutionLogo;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
* The MIT License (MIT)
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
11
|
+
*
|
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
* in the Software without restriction, including without limitation the rights
|
|
15
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
* furnished to do so, subject to the following conditions:
|
|
18
|
+
*
|
|
19
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
* copies or substantial portions of the Software.
|
|
21
|
+
*
|
|
22
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
* SOFTWARE.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
const mainNavItem = semantic => ({
|
|
32
|
+
iconWrapperHeight: "2.25rem",
|
|
33
|
+
borderRadius: "0rem",
|
|
34
|
+
backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
|
|
35
|
+
horizontalPadding: "0.5rem",
|
|
36
|
+
verticalPadding: "0.375rem",
|
|
37
|
+
fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
38
|
+
fontFamily: semantic.fontFamily.base,
|
|
39
|
+
fontSize: semantic.fontSize.textBase,
|
|
40
|
+
fontWeight: semantic.fontWeight.body.base,
|
|
41
|
+
hoverBackgroundColor: semantic.color.institutional.globalNavLinkHover,
|
|
42
|
+
lineHeight: semantic.lineHeight.paragraph.base,
|
|
43
|
+
linkTextDecoration: "none",
|
|
44
|
+
currentBackgroundColor: semantic.color.background.base,
|
|
45
|
+
selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
46
|
+
currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
|
|
47
|
+
innerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.onColor,
|
|
48
|
+
selectedInnerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
49
|
+
outerFocusOutlineColor: semantic.color.transparentColor,
|
|
50
|
+
selectedOuterFocusOutlineColor: semantic.color.transparentColor,
|
|
51
|
+
minimizedItemSize: "2.75rem"
|
|
52
|
+
});
|
|
53
|
+
var _default = exports.default = mainNavItem;
|