@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,66 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const imageCard = (semantic: Semantics) => ({
|
|
28
|
+
borderRadiusBaseSm: "0.75rem",
|
|
29
|
+
borderRadiusBaseMd: semantic.borderRadius.container.md,
|
|
30
|
+
borderRadiusBaseLg: semantic.borderRadius.container.md,
|
|
31
|
+
paddingBaseSm: semantic.spacing.padding.container.xs,
|
|
32
|
+
paddingBaseMd: semantic.spacing.padding.container.sm,
|
|
33
|
+
paddingBaseLg: semantic.spacing.padding.container.md,
|
|
34
|
+
boxShadow: {
|
|
35
|
+
0: {
|
|
36
|
+
x: semantic.dropShadow.x.elevation1.dropshadow1,
|
|
37
|
+
y: semantic.dropShadow.y.elevation1.dropshadow1,
|
|
38
|
+
blur: semantic.dropShadow.blur.elevation1.dropshadow1,
|
|
39
|
+
spread: semantic.dropShadow.spread.elevation1.dropshadow1,
|
|
40
|
+
color: semantic.color.dropShadow.shadowColor1,
|
|
41
|
+
type: "dropShadow",
|
|
42
|
+
},
|
|
43
|
+
1: {
|
|
44
|
+
x: semantic.dropShadow.x.elevation1.dropshadow1,
|
|
45
|
+
y: semantic.dropShadow.y.elevation1.dropshadow2,
|
|
46
|
+
blur: semantic.dropShadow.blur.elevation1.dropshadow2,
|
|
47
|
+
spread: semantic.dropShadow.spread.elevation1.dropshadow2,
|
|
48
|
+
color: semantic.color.dropShadow.shadowColor2,
|
|
49
|
+
type: "dropShadow",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
backgroundColor: semantic.color.background.container,
|
|
53
|
+
breakpointMd: "20rem",
|
|
54
|
+
breakpointLg: "40rem",
|
|
55
|
+
imgTextGapSm: semantic.spacing.gap.cards.md,
|
|
56
|
+
imgTextGapMd: "1.25rem",
|
|
57
|
+
imgTextGapLg: semantic.spacing.gap.cards.lg,
|
|
58
|
+
imgBorderRadiusSm: semantic.borderRadius.md,
|
|
59
|
+
imgBorderRadiusMd: semantic.borderRadius.lg,
|
|
60
|
+
imgBorderRadiusLg: semantic.borderRadius.lg,
|
|
61
|
+
titleContentGapSm: semantic.spacing.spaceSm,
|
|
62
|
+
titleContentGapMd: semantic.spacing.spaceSm,
|
|
63
|
+
titleContentGapLg: semantic.spacing.spaceSm,
|
|
64
|
+
imgAspectRatio: 1.77778,
|
|
65
|
+
})
|
|
66
|
+
export default imageCard
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const mainNav = (semantic: Semantics) => ({
|
|
28
|
+
margin: "0.75rem",
|
|
29
|
+
minimizedMargin: "0rem",
|
|
30
|
+
gap: semantic.spacing.padding.container.xxs,
|
|
31
|
+
navItemsGap: semantic.spacing.spaceXs,
|
|
32
|
+
})
|
|
33
|
+
export default mainNav
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const mainNavAccountItem = (semantic: Semantics) => ({
|
|
28
|
+
backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
|
|
29
|
+
fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
30
|
+
innerFocusOutlineColor: semantic.color.transparentColor,
|
|
31
|
+
outerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
32
|
+
hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
|
|
33
|
+
currentBackgroundColor: semantic.color.institutional.brandPrimary,
|
|
34
|
+
selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
35
|
+
currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
|
|
36
|
+
selectedInnerFocusOutlineColor: semantic.color.transparentColor,
|
|
37
|
+
selectedOuterFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
38
|
+
padding: semantic.spacing.padding.container.xxs,
|
|
39
|
+
borderRadius: semantic.borderRadius.container.sm,
|
|
40
|
+
borderColor: semantic.color.stroke.muted,
|
|
41
|
+
minimizedItemSize: "2.75rem",
|
|
42
|
+
})
|
|
43
|
+
export default mainNavAccountItem
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const mainNavInstitutionLogo = (semantic: Semantics) => ({
|
|
28
|
+
textColor: semantic.color.text.base,
|
|
29
|
+
strokeColor: semantic.color.stroke.muted,
|
|
30
|
+
padding: semantic.spacing.spaceSm,
|
|
31
|
+
gap: semantic.spacing.spaceMd,
|
|
32
|
+
})
|
|
33
|
+
export default mainNavInstitutionLogo
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const mainNavItem = (semantic: Semantics) => ({
|
|
28
|
+
horizontalPadding: semantic.spacing.spaceSm,
|
|
29
|
+
verticalPadding: "0.25rem",
|
|
30
|
+
iconWrapperHeight: "2.25rem",
|
|
31
|
+
minimizedItemSize: "2.75rem",
|
|
32
|
+
borderRadius: semantic.borderRadius.md,
|
|
33
|
+
backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
|
|
34
|
+
fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
35
|
+
fontFamily: semantic.fontFamily.base,
|
|
36
|
+
fontSize: semantic.fontSize.textBase,
|
|
37
|
+
fontWeight: semantic.fontWeight.body.base,
|
|
38
|
+
innerFocusOutlineColor: semantic.color.transparentColor,
|
|
39
|
+
outerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
40
|
+
hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
|
|
41
|
+
lineHeight: semantic.lineHeight.paragraph.base,
|
|
42
|
+
linkTextDecoration: "none",
|
|
43
|
+
currentBackgroundColor: semantic.color.institutional.brandPrimary,
|
|
44
|
+
selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
45
|
+
currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
|
|
46
|
+
selectedInnerFocusOutlineColor: semantic.color.transparentColor,
|
|
47
|
+
selectedOuterFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
|
|
48
|
+
})
|
|
49
|
+
export default mainNavItem
|
|
@@ -28,7 +28,6 @@ const pill = (semantic: Semantics) => ({
|
|
|
28
28
|
paddingHorizontal: semantic.spacing.spaceSm,
|
|
29
29
|
paddingHorizontalMedium: semantic.spacing.spaceMd,
|
|
30
30
|
paddingHorizontalLarge: semantic.spacing.spaceMd,
|
|
31
|
-
paddingVertical: semantic.spacing.spaceXs,
|
|
32
31
|
gapIconLabel: semantic.spacing.spaceXs,
|
|
33
32
|
gapIconLabelMedium: semantic.spacing.spaceSm,
|
|
34
33
|
gapIconLabelLarge: semantic.spacing.spaceSm,
|
|
@@ -41,7 +40,7 @@ const pill = (semantic: Semantics) => ({
|
|
|
41
40
|
textFontSizeMedium: semantic.fontSize.textSm,
|
|
42
41
|
textFontSizeLarge: semantic.fontSize.textBase,
|
|
43
42
|
textFontWeight: semantic.fontWeight.body.base,
|
|
44
|
-
statusLabelFontWeight: semantic.fontWeight.body.
|
|
43
|
+
statusLabelFontWeight: semantic.fontWeight.body.strong,
|
|
45
44
|
maxWidth: "240px",
|
|
46
45
|
baseBorderColor: { value: semantic.color.stroke.strong, modify: { type: "alpha", value: 0.2, space: "hsl" } },
|
|
47
46
|
baseTextColor: semantic.color.text.base,
|
|
@@ -83,6 +82,8 @@ const pill = (semantic: Semantics) => ({
|
|
|
83
82
|
borderRadius: semantic.borderRadius.full,
|
|
84
83
|
borderWidth: semantic.borderWidth.sm,
|
|
85
84
|
lineHeight: semantic.lineHeight.standalone.textSm,
|
|
85
|
+
lineHeightMedium: semantic.lineHeight.standalone.textBase,
|
|
86
|
+
lineHeightLarge: semantic.lineHeight.standalone.textLg,
|
|
86
87
|
fontFamily: semantic.fontFamily.base,
|
|
87
88
|
borderStyle: "solid",
|
|
88
89
|
})
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const stepItem = (semantic: Semantics) => ({
|
|
28
|
+
stepStrokeFilledColor: semantic.color.stroke.info,
|
|
29
|
+
stepStrokeColor: semantic.color.stroke.base,
|
|
30
|
+
stepStrokeFilledWidth: semantic.borderWidth.lg,
|
|
31
|
+
stepStrokeWidth: semantic.borderWidth.md,
|
|
32
|
+
stepStrokeRadius: semantic.borderRadius.xs,
|
|
33
|
+
})
|
|
34
|
+
export default stepItem
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const stepper = (semantic: Semantics) => ({
|
|
28
|
+
stepGap: semantic.spacing.spaceSm,
|
|
29
|
+
stepContentGap: semantic.spacing.spaceSm,
|
|
30
|
+
stepPaddingInlineEnd: semantic.spacing.spaceLg,
|
|
31
|
+
stepPaddingBlockEnd: semantic.spacing.spaceXl,
|
|
32
|
+
currentStepTextGap: semantic.spacing.spaceXs,
|
|
33
|
+
compactStrokeFilledColor: semantic.color.stroke.info,
|
|
34
|
+
compactStrokeColor: semantic.color.stroke.base,
|
|
35
|
+
compactStrokeErrorColor: semantic.color.stroke.error,
|
|
36
|
+
compactStrokeGap: semantic.spacing.spaceSm,
|
|
37
|
+
compactStrokeHeight: semantic.borderWidth.lg,
|
|
38
|
+
compactStrokeRadius: semantic.borderRadius.xs,
|
|
39
|
+
mobileToggleBackground: {
|
|
40
|
+
value: semantic.color.background.interactive.action.secondary.base,
|
|
41
|
+
modify: { type: "alpha", value: 0.2, space: "hsl" },
|
|
42
|
+
},
|
|
43
|
+
mobileToggleBorderRadius: semantic.borderRadius.interactive.base,
|
|
44
|
+
mobileTogglePaddingHorizontal: semantic.spacing.padding.interactive.horizontal.lg,
|
|
45
|
+
mobileTogglePaddingVertical: semantic.spacing.spaceSm,
|
|
46
|
+
mobileToggleContentGap: semantic.spacing.spaceSm,
|
|
47
|
+
})
|
|
48
|
+
export default stepper
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const subNav = (semantic: Semantics) => ({
|
|
28
|
+
strokeColor: semantic.color.stroke.muted,
|
|
29
|
+
textColor: semantic.color.text.base,
|
|
30
|
+
padding: semantic.spacing.spaceMd,
|
|
31
|
+
gap: semantic.spacing.spaceSm,
|
|
32
|
+
navItemsGap: semantic.spacing.spaceXs,
|
|
33
|
+
minimizedVerticalPadding: "1.625rem",
|
|
34
|
+
minimizedWidth: "2rem",
|
|
35
|
+
minimizedHoverWidth: "2.25rem",
|
|
36
|
+
})
|
|
37
|
+
export default subNav
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { Semantics } from "../semantics"
|
|
26
|
+
|
|
27
|
+
const subNavItem = (semantic: Semantics) => ({
|
|
28
|
+
backgroundColor: semantic.color.transparentColor,
|
|
29
|
+
hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
|
|
30
|
+
activeBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
|
|
31
|
+
selectedBackgroundColor: semantic.color.background.brand,
|
|
32
|
+
textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
|
|
33
|
+
selectedTextColor: semantic.color.text.inverse,
|
|
34
|
+
logoutTextColor: semantic.color.text.error,
|
|
35
|
+
borderRadius: semantic.borderRadius.lg,
|
|
36
|
+
padding: semantic.spacing.spaceSm,
|
|
37
|
+
gap: semantic.spacing.spaceSm,
|
|
38
|
+
})
|
|
39
|
+
export default subNavItem
|
|
@@ -55,15 +55,21 @@ import fileDrop from "./components/fileDrop"
|
|
|
55
55
|
import flex from "./components/flex"
|
|
56
56
|
import formFieldLayout from "./components/formFieldLayout"
|
|
57
57
|
import formFieldMessage from "./components/formFieldMessage"
|
|
58
|
+
import globalNav from "./components/globalNav"
|
|
58
59
|
import gridCol from "./components/gridCol"
|
|
59
60
|
import gridRow from "./components/gridRow"
|
|
60
61
|
import heading from "./components/heading"
|
|
61
62
|
import icon from "./components/icon"
|
|
63
|
+
import imageCard from "./components/imageCard"
|
|
62
64
|
import img from "./components/img"
|
|
63
65
|
import inlineListItem from "./components/inlineListItem"
|
|
64
66
|
import link from "./components/link"
|
|
65
67
|
import list from "./components/list"
|
|
66
68
|
import listItem from "./components/listItem"
|
|
69
|
+
import mainNav from "./components/mainNav"
|
|
70
|
+
import mainNavAccountItem from "./components/mainNavAccountItem"
|
|
71
|
+
import mainNavInstitutionLogo from "./components/mainNavInstitutionLogo"
|
|
72
|
+
import mainNavItem from "./components/mainNavItem"
|
|
67
73
|
import mask from "./components/mask"
|
|
68
74
|
import menu from "./components/menu"
|
|
69
75
|
import menuGroup from "./components/menuGroup"
|
|
@@ -94,11 +100,14 @@ import segmentedControl from "./components/segmentedControl"
|
|
|
94
100
|
import select from "./components/select"
|
|
95
101
|
import sideNavBar from "./components/sideNavBar"
|
|
96
102
|
import sideNavBarItem from "./components/sideNavBarItem"
|
|
97
|
-
import sideNavBarNew from "./components/sideNavBarNew"
|
|
98
103
|
import skeletonLoader from "./components/skeletonLoader"
|
|
99
104
|
import slider from "./components/slider"
|
|
100
105
|
import sourceCodeEditor from "./components/sourceCodeEditor"
|
|
101
106
|
import spinner from "./components/spinner"
|
|
107
|
+
import stepItem from "./components/stepItem"
|
|
108
|
+
import stepper from "./components/stepper"
|
|
109
|
+
import subNav from "./components/subNav"
|
|
110
|
+
import subNavItem from "./components/subNavItem"
|
|
102
111
|
import table from "./components/table"
|
|
103
112
|
import tableBody from "./components/tableBody"
|
|
104
113
|
import tableCell from "./components/tableCell"
|
|
@@ -144,6 +153,8 @@ const theme: any = {
|
|
|
144
153
|
Pill: pill,
|
|
145
154
|
FormFieldMessage: formFieldMessage,
|
|
146
155
|
Spinner: spinner,
|
|
156
|
+
StepItem: stepItem,
|
|
157
|
+
Stepper: stepper,
|
|
147
158
|
Link: link,
|
|
148
159
|
TextInput: textInput,
|
|
149
160
|
TextArea: textArea,
|
|
@@ -232,10 +243,17 @@ const theme: any = {
|
|
|
232
243
|
AppNav: appNav,
|
|
233
244
|
AppNavItem: appNavItem,
|
|
234
245
|
Byline: byline,
|
|
235
|
-
|
|
246
|
+
GlobalNav: globalNav,
|
|
247
|
+
MainNav: mainNav,
|
|
248
|
+
MainNavItem: mainNavItem,
|
|
249
|
+
SubNavItem: subNavItem,
|
|
250
|
+
SubNav: subNav,
|
|
251
|
+
MainNavInstitutionLogo: mainNavInstitutionLogo,
|
|
252
|
+
MainNavAccountItem: mainNavAccountItem,
|
|
236
253
|
Img: img,
|
|
237
254
|
Chart: chart,
|
|
238
255
|
Card: card,
|
|
256
|
+
ImageCard: imageCard,
|
|
239
257
|
Banner: banner,
|
|
240
258
|
MobileSharedTokens: mobileSharedTokens,
|
|
241
259
|
SkeletonLoader: skeletonLoader,
|