@instructure/ui-themes 11.7.2-snapshot-12 → 11.7.2-snapshot-17
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 +1 -1
- package/es/themes/newThemes/componentTypes/img.js +1 -0
- package/es/themes/newThemes/dark/components/img.js +29 -0
- package/es/themes/newThemes/dark/components/sideNavBarItemNew.js +3 -2
- package/es/themes/newThemes/dark/components/sideNavBarNew.js +7 -4
- package/es/themes/newThemes/dark/index.js +3 -1
- package/es/themes/newThemes/legacyCanvas/components/img.js +29 -0
- package/es/themes/newThemes/legacyCanvas/components/sideNavBarItemNew.js +2 -1
- package/es/themes/newThemes/legacyCanvas/components/sideNavBarNew.js +7 -4
- package/es/themes/newThemes/legacyCanvas/index.js +3 -1
- package/es/themes/newThemes/legacyCanvasHighContrast/components/img.js +29 -0
- package/es/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarItemNew.js +2 -1
- package/es/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarNew.js +7 -4
- package/es/themes/newThemes/legacyCanvasHighContrast/index.js +3 -1
- package/es/themes/newThemes/light/components/img.js +29 -0
- package/es/themes/newThemes/light/components/sideNavBarItemNew.js +3 -2
- package/es/themes/newThemes/light/components/sideNavBarNew.js +7 -4
- package/es/themes/newThemes/light/index.js +3 -1
- package/lib/themes/newThemes/componentTypes/img.js +5 -0
- package/lib/themes/newThemes/dark/components/img.js +35 -0
- package/lib/themes/newThemes/dark/components/sideNavBarItemNew.js +3 -2
- package/lib/themes/newThemes/dark/components/sideNavBarNew.js +7 -4
- package/lib/themes/newThemes/dark/index.js +3 -1
- package/lib/themes/newThemes/legacyCanvas/components/img.js +35 -0
- package/lib/themes/newThemes/legacyCanvas/components/sideNavBarItemNew.js +2 -1
- package/lib/themes/newThemes/legacyCanvas/components/sideNavBarNew.js +7 -4
- package/lib/themes/newThemes/legacyCanvas/index.js +3 -1
- package/lib/themes/newThemes/legacyCanvasHighContrast/components/img.js +35 -0
- package/lib/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarItemNew.js +2 -1
- package/lib/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarNew.js +7 -4
- package/lib/themes/newThemes/legacyCanvasHighContrast/index.js +3 -1
- package/lib/themes/newThemes/light/components/img.js +35 -0
- package/lib/themes/newThemes/light/components/sideNavBarItemNew.js +3 -2
- package/lib/themes/newThemes/light/components/sideNavBarNew.js +7 -4
- package/lib/themes/newThemes/light/index.js +3 -1
- package/package.json +3 -3
- package/src/themes/newThemes/componentTypes/img.ts +27 -0
- package/src/themes/newThemes/componentTypes/index.ts +2 -0
- package/src/themes/newThemes/componentTypes/sideNavBarItemNew.ts +2 -1
- package/src/themes/newThemes/componentTypes/sideNavBarNew.ts +7 -4
- package/src/themes/newThemes/dark/components/img.ts +28 -0
- package/src/themes/newThemes/dark/components/sideNavBarItemNew.ts +2 -1
- package/src/themes/newThemes/dark/components/sideNavBarNew.ts +7 -4
- package/src/themes/newThemes/dark/index.ts +2 -0
- package/src/themes/newThemes/legacyCanvas/components/img.ts +28 -0
- package/src/themes/newThemes/legacyCanvas/components/sideNavBarItemNew.ts +2 -1
- package/src/themes/newThemes/legacyCanvas/components/sideNavBarNew.ts +7 -4
- package/src/themes/newThemes/legacyCanvas/index.ts +2 -0
- package/src/themes/newThemes/legacyCanvasHighContrast/components/img.ts +28 -0
- package/src/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarItemNew.ts +2 -1
- package/src/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarNew.ts +7 -4
- package/src/themes/newThemes/legacyCanvasHighContrast/index.ts +2 -0
- package/src/themes/newThemes/light/components/img.ts +28 -0
- package/src/themes/newThemes/light/components/sideNavBarItemNew.ts +2 -1
- package/src/themes/newThemes/light/components/sideNavBarNew.ts +7 -4
- package/src/themes/newThemes/light/index.ts +2 -0
- package/tokens/canvas/scss/_variables.scss +11 -5
- package/tokens/canvas/source.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/themes/newThemes/componentTypes/img.d.ts +6 -0
- package/types/themes/newThemes/componentTypes/img.d.ts.map +1 -0
- package/types/themes/newThemes/componentTypes/index.d.ts +2 -0
- package/types/themes/newThemes/componentTypes/index.d.ts.map +1 -1
- package/types/themes/newThemes/componentTypes/sideNavBarItemNew.d.ts +2 -1
- package/types/themes/newThemes/componentTypes/sideNavBarItemNew.d.ts.map +1 -1
- package/types/themes/newThemes/componentTypes/sideNavBarNew.d.ts +7 -4
- package/types/themes/newThemes/componentTypes/sideNavBarNew.d.ts.map +1 -1
- package/types/themes/newThemes/dark/components/img.d.ts +4 -0
- package/types/themes/newThemes/dark/components/img.d.ts.map +1 -0
- package/types/themes/newThemes/dark/components/sideNavBarItemNew.d.ts.map +1 -1
- package/types/themes/newThemes/dark/components/sideNavBarNew.d.ts.map +1 -1
- package/types/themes/newThemes/dark/index.d.ts.map +1 -1
- package/types/themes/newThemes/legacyCanvas/components/img.d.ts +4 -0
- package/types/themes/newThemes/legacyCanvas/components/img.d.ts.map +1 -0
- package/types/themes/newThemes/legacyCanvas/components/sideNavBarItemNew.d.ts.map +1 -1
- package/types/themes/newThemes/legacyCanvas/components/sideNavBarNew.d.ts.map +1 -1
- package/types/themes/newThemes/legacyCanvas/index.d.ts.map +1 -1
- package/types/themes/newThemes/legacyCanvasHighContrast/components/img.d.ts +4 -0
- package/types/themes/newThemes/legacyCanvasHighContrast/components/img.d.ts.map +1 -0
- package/types/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarItemNew.d.ts.map +1 -1
- package/types/themes/newThemes/legacyCanvasHighContrast/components/sideNavBarNew.d.ts.map +1 -1
- package/types/themes/newThemes/legacyCanvasHighContrast/index.d.ts.map +1 -1
- package/types/themes/newThemes/light/components/img.d.ts +4 -0
- package/types/themes/newThemes/light/components/img.d.ts.map +1 -0
- package/types/themes/newThemes/light/components/sideNavBarItemNew.d.ts.map +1 -1
- package/types/themes/newThemes/light/components/sideNavBarNew.d.ts.map +1 -1
- package/types/themes/newThemes/light/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.2-snapshot-
|
|
6
|
+
## [11.7.2-snapshot-17](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-17) (2026-04-01)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-themes
|
|
9
9
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
const img = {
|
|
26
|
+
effectTransitionDuration: "1s",
|
|
27
|
+
imageBlurAmount: "0.25em"
|
|
28
|
+
};
|
|
29
|
+
export default img;
|
|
@@ -26,7 +26,7 @@ const sideNavBarItemNew = {
|
|
|
26
26
|
iconWrapperHeight: "2.25rem",
|
|
27
27
|
borderRadius: semantics.borderRadius.lg,
|
|
28
28
|
backgroundColor: "transparent",
|
|
29
|
-
|
|
29
|
+
horizontalPadding: semantics.spacing.spaceSm,
|
|
30
30
|
fontColor: semantics.color.text.base,
|
|
31
31
|
fontFamily: semantics.fontFamily.base,
|
|
32
32
|
fontSize: semantics.fontSize.textSm,
|
|
@@ -39,6 +39,7 @@ const sideNavBarItemNew = {
|
|
|
39
39
|
innerFocusOutlineColor: semantics.color.stroke.interactive.focusRing.base,
|
|
40
40
|
selectedInnerFocusOutlineColor: semantics.color.icon.inverse,
|
|
41
41
|
outerFocusOutlineColor: semantics.color.transparentColor,
|
|
42
|
-
selectedOuterFocusOutlineColor: semantics.color.transparentColor
|
|
42
|
+
selectedOuterFocusOutlineColor: semantics.color.transparentColor,
|
|
43
|
+
verticalPadding: "0.25rem"
|
|
43
44
|
};
|
|
44
45
|
export default sideNavBarItemNew;
|
|
@@ -27,13 +27,16 @@ const sideNavBarNew = {
|
|
|
27
27
|
fill: semantics.color.icon.interactive.action.primaryOnColor.base,
|
|
28
28
|
borderColor: semantics.color.stroke.muted,
|
|
29
29
|
fontColor: semantics.color.text.base,
|
|
30
|
-
|
|
30
|
+
minimizedminWidth: "6.75rem",
|
|
31
31
|
toggleTransition: "300ms",
|
|
32
|
-
|
|
32
|
+
minWidth: "17rem",
|
|
33
33
|
margin: semantics.spacing.spaceMd,
|
|
34
34
|
minimizedMargin: "0.375rem",
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
mainNavMargin: "0.75rem",
|
|
36
|
+
mainNavMinimizedMargin: "0rem",
|
|
37
|
+
mainNavGap: semantics.spacing.padding.container.xxs,
|
|
38
|
+
mainNavMinimizedGap: "0rem",
|
|
39
|
+
navItemsGap: semantics.spacing.spaceXs,
|
|
37
40
|
boxShadow: {
|
|
38
41
|
0: {
|
|
39
42
|
x: "0rem",
|
|
@@ -55,6 +55,7 @@ import gridCol from "./components/gridCol.js";
|
|
|
55
55
|
import gridRow from "./components/gridRow.js";
|
|
56
56
|
import heading from "./components/heading.js";
|
|
57
57
|
import icon from "./components/icon.js";
|
|
58
|
+
import img from "./components/img.js";
|
|
58
59
|
import inlineListItem from "./components/inlineListItem.js";
|
|
59
60
|
import link from "./components/link.js";
|
|
60
61
|
import list from "./components/list.js";
|
|
@@ -222,7 +223,8 @@ const theme = {
|
|
|
222
223
|
AppNavItem: appNavItem,
|
|
223
224
|
Byline: byline,
|
|
224
225
|
SideNavBarNew: sideNavBarNew,
|
|
225
|
-
SideNavBarItemNew: sideNavBarItemNew
|
|
226
|
+
SideNavBarItemNew: sideNavBarItemNew,
|
|
227
|
+
Img: img
|
|
226
228
|
}
|
|
227
229
|
};
|
|
228
230
|
export default theme;
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
const img = {
|
|
26
|
+
effectTransitionDuration: "1s",
|
|
27
|
+
imageBlurAmount: "0.25em"
|
|
28
|
+
};
|
|
29
|
+
export default img;
|
|
@@ -26,7 +26,8 @@ const sideNavBarItemNew = {
|
|
|
26
26
|
iconWrapperHeight: "2.25rem",
|
|
27
27
|
borderRadius: "0rem",
|
|
28
28
|
backgroundColor: "transparent",
|
|
29
|
-
|
|
29
|
+
horizontalPadding: "0.375rem",
|
|
30
|
+
verticalPadding: "0.25rem",
|
|
30
31
|
fontColor: semantics.color.text.onColor,
|
|
31
32
|
fontFamily: semantics.fontFamily.base,
|
|
32
33
|
fontSize: semantics.fontSize.textSm,
|
|
@@ -26,13 +26,16 @@ const sideNavBarNew = {
|
|
|
26
26
|
backgroundColor: semantics.color.background.dark,
|
|
27
27
|
fill: semantics.color.icon.onColor,
|
|
28
28
|
fontColor: semantics.color.text.onColor,
|
|
29
|
-
|
|
29
|
+
minimizedminWidth: "3.375rem",
|
|
30
30
|
toggleTransition: "300ms",
|
|
31
|
-
|
|
31
|
+
minWidth: "5.25rem",
|
|
32
32
|
margin: "0rem",
|
|
33
33
|
minimizedMargin: "0rem",
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
mainNavMargin: "0rem",
|
|
35
|
+
mainNavMinimizedMargin: "0rem",
|
|
36
|
+
mainNavGap: semantics.spacing.padding.container.xxs,
|
|
37
|
+
mainNavMinimizedGap: "0rem",
|
|
38
|
+
navItemsGap: "0rem",
|
|
36
39
|
boxShadow: {
|
|
37
40
|
0: {
|
|
38
41
|
x: "0rem",
|
|
@@ -55,6 +55,7 @@ import gridCol from "./components/gridCol.js";
|
|
|
55
55
|
import gridRow from "./components/gridRow.js";
|
|
56
56
|
import heading from "./components/heading.js";
|
|
57
57
|
import icon from "./components/icon.js";
|
|
58
|
+
import img from "./components/img.js";
|
|
58
59
|
import inlineListItem from "./components/inlineListItem.js";
|
|
59
60
|
import link from "./components/link.js";
|
|
60
61
|
import list from "./components/list.js";
|
|
@@ -222,7 +223,8 @@ const theme = {
|
|
|
222
223
|
AppNavItem: appNavItem,
|
|
223
224
|
Byline: byline,
|
|
224
225
|
SideNavBarNew: sideNavBarNew,
|
|
225
|
-
SideNavBarItemNew: sideNavBarItemNew
|
|
226
|
+
SideNavBarItemNew: sideNavBarItemNew,
|
|
227
|
+
Img: img
|
|
226
228
|
}
|
|
227
229
|
};
|
|
228
230
|
export default theme;
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
const img = {
|
|
26
|
+
effectTransitionDuration: "1s",
|
|
27
|
+
imageBlurAmount: "0.25em"
|
|
28
|
+
};
|
|
29
|
+
export default img;
|
|
@@ -26,7 +26,8 @@ const sideNavBarItemNew = {
|
|
|
26
26
|
iconWrapperHeight: "2.25rem",
|
|
27
27
|
borderRadius: "0rem",
|
|
28
28
|
backgroundColor: "transparent",
|
|
29
|
-
|
|
29
|
+
horizontalPadding: "0.375rem",
|
|
30
|
+
verticalPadding: "0.25rem",
|
|
30
31
|
fontColor: semantics.color.text.onColor,
|
|
31
32
|
fontFamily: semantics.fontFamily.base,
|
|
32
33
|
fontSize: semantics.fontSize.textSm,
|
|
@@ -26,13 +26,16 @@ const sideNavBarNew = {
|
|
|
26
26
|
backgroundColor: semantics.color.background.dark,
|
|
27
27
|
fill: semantics.color.icon.onColor,
|
|
28
28
|
fontColor: semantics.color.text.onColor,
|
|
29
|
-
|
|
29
|
+
minimizedminWidth: "3.375rem",
|
|
30
30
|
toggleTransition: "300ms",
|
|
31
|
-
|
|
31
|
+
minWidth: "5.25rem",
|
|
32
32
|
margin: "0rem",
|
|
33
33
|
minimizedMargin: "0rem",
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
mainNavMargin: "0rem",
|
|
35
|
+
mainNavMinimizedMargin: "0rem",
|
|
36
|
+
mainNavGap: semantics.spacing.padding.container.xxs,
|
|
37
|
+
mainNavMinimizedGap: "0rem",
|
|
38
|
+
navItemsGap: "0rem",
|
|
36
39
|
boxShadow: {
|
|
37
40
|
0: {
|
|
38
41
|
x: "0rem",
|
|
@@ -55,6 +55,7 @@ import gridCol from "./components/gridCol.js";
|
|
|
55
55
|
import gridRow from "./components/gridRow.js";
|
|
56
56
|
import heading from "./components/heading.js";
|
|
57
57
|
import icon from "./components/icon.js";
|
|
58
|
+
import img from "./components/img.js";
|
|
58
59
|
import inlineListItem from "./components/inlineListItem.js";
|
|
59
60
|
import link from "./components/link.js";
|
|
60
61
|
import list from "./components/list.js";
|
|
@@ -222,7 +223,8 @@ const theme = {
|
|
|
222
223
|
AppNavItem: appNavItem,
|
|
223
224
|
Byline: byline,
|
|
224
225
|
SideNavBarNew: sideNavBarNew,
|
|
225
|
-
SideNavBarItemNew: sideNavBarItemNew
|
|
226
|
+
SideNavBarItemNew: sideNavBarItemNew,
|
|
227
|
+
Img: img
|
|
226
228
|
}
|
|
227
229
|
};
|
|
228
230
|
export default theme;
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
const img = {
|
|
26
|
+
effectTransitionDuration: "1s",
|
|
27
|
+
imageBlurAmount: "0.25em"
|
|
28
|
+
};
|
|
29
|
+
export default img;
|
|
@@ -26,7 +26,7 @@ const sideNavBarItemNew = {
|
|
|
26
26
|
iconWrapperHeight: "2.25rem",
|
|
27
27
|
borderRadius: semantics.borderRadius.lg,
|
|
28
28
|
backgroundColor: "transparent",
|
|
29
|
-
|
|
29
|
+
horizontalPadding: semantics.spacing.spaceSm,
|
|
30
30
|
fontColor: semantics.color.text.base,
|
|
31
31
|
fontFamily: semantics.fontFamily.base,
|
|
32
32
|
fontSize: semantics.fontSize.textSm,
|
|
@@ -39,6 +39,7 @@ const sideNavBarItemNew = {
|
|
|
39
39
|
innerFocusOutlineColor: semantics.color.stroke.interactive.focusRing.base,
|
|
40
40
|
selectedInnerFocusOutlineColor: semantics.color.icon.inverse,
|
|
41
41
|
outerFocusOutlineColor: semantics.color.transparentColor,
|
|
42
|
-
selectedOuterFocusOutlineColor: semantics.color.transparentColor
|
|
42
|
+
selectedOuterFocusOutlineColor: semantics.color.transparentColor,
|
|
43
|
+
verticalPadding: "0.25rem"
|
|
43
44
|
};
|
|
44
45
|
export default sideNavBarItemNew;
|
|
@@ -27,13 +27,16 @@ const sideNavBarNew = {
|
|
|
27
27
|
fill: semantics.color.icon.interactive.action.primaryOnColor.base,
|
|
28
28
|
borderColor: semantics.color.stroke.muted,
|
|
29
29
|
fontColor: semantics.color.text.base,
|
|
30
|
-
|
|
30
|
+
minimizedminWidth: "6.75rem",
|
|
31
31
|
toggleTransition: "300ms",
|
|
32
|
-
|
|
32
|
+
minWidth: "17rem",
|
|
33
33
|
margin: semantics.spacing.spaceMd,
|
|
34
34
|
minimizedMargin: "0.375rem",
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
mainNavMargin: "0.75rem",
|
|
36
|
+
mainNavMinimizedMargin: "0rem",
|
|
37
|
+
mainNavGap: semantics.spacing.padding.container.xxs,
|
|
38
|
+
mainNavMinimizedGap: "0rem",
|
|
39
|
+
navItemsGap: semantics.spacing.spaceXs,
|
|
37
40
|
boxShadow: {
|
|
38
41
|
0: {
|
|
39
42
|
x: "0rem",
|
|
@@ -55,6 +55,7 @@ import gridCol from "./components/gridCol.js";
|
|
|
55
55
|
import gridRow from "./components/gridRow.js";
|
|
56
56
|
import heading from "./components/heading.js";
|
|
57
57
|
import icon from "./components/icon.js";
|
|
58
|
+
import img from "./components/img.js";
|
|
58
59
|
import inlineListItem from "./components/inlineListItem.js";
|
|
59
60
|
import link from "./components/link.js";
|
|
60
61
|
import list from "./components/list.js";
|
|
@@ -222,7 +223,8 @@ const theme = {
|
|
|
222
223
|
AppNavItem: appNavItem,
|
|
223
224
|
Byline: byline,
|
|
224
225
|
SideNavBarNew: sideNavBarNew,
|
|
225
|
-
SideNavBarItemNew: sideNavBarItemNew
|
|
226
|
+
SideNavBarItemNew: sideNavBarItemNew,
|
|
227
|
+
Img: img
|
|
226
228
|
}
|
|
227
229
|
};
|
|
228
230
|
export default theme;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 img = {
|
|
32
|
+
effectTransitionDuration: "1s",
|
|
33
|
+
imageBlurAmount: "0.25em"
|
|
34
|
+
};
|
|
35
|
+
var _default = exports.default = img;
|
|
@@ -34,7 +34,7 @@ const sideNavBarItemNew = {
|
|
|
34
34
|
iconWrapperHeight: "2.25rem",
|
|
35
35
|
borderRadius: _semantics.default.borderRadius.lg,
|
|
36
36
|
backgroundColor: "transparent",
|
|
37
|
-
|
|
37
|
+
horizontalPadding: _semantics.default.spacing.spaceSm,
|
|
38
38
|
fontColor: _semantics.default.color.text.base,
|
|
39
39
|
fontFamily: _semantics.default.fontFamily.base,
|
|
40
40
|
fontSize: _semantics.default.fontSize.textSm,
|
|
@@ -47,6 +47,7 @@ const sideNavBarItemNew = {
|
|
|
47
47
|
innerFocusOutlineColor: _semantics.default.color.stroke.interactive.focusRing.base,
|
|
48
48
|
selectedInnerFocusOutlineColor: _semantics.default.color.icon.inverse,
|
|
49
49
|
outerFocusOutlineColor: _semantics.default.color.transparentColor,
|
|
50
|
-
selectedOuterFocusOutlineColor: _semantics.default.color.transparentColor
|
|
50
|
+
selectedOuterFocusOutlineColor: _semantics.default.color.transparentColor,
|
|
51
|
+
verticalPadding: "0.25rem"
|
|
51
52
|
};
|
|
52
53
|
var _default = exports.default = sideNavBarItemNew;
|
|
@@ -35,13 +35,16 @@ const sideNavBarNew = {
|
|
|
35
35
|
fill: _semantics.default.color.icon.interactive.action.primaryOnColor.base,
|
|
36
36
|
borderColor: _semantics.default.color.stroke.muted,
|
|
37
37
|
fontColor: _semantics.default.color.text.base,
|
|
38
|
-
|
|
38
|
+
minimizedminWidth: "6.75rem",
|
|
39
39
|
toggleTransition: "300ms",
|
|
40
|
-
|
|
40
|
+
minWidth: "17rem",
|
|
41
41
|
margin: _semantics.default.spacing.spaceMd,
|
|
42
42
|
minimizedMargin: "0.375rem",
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
mainNavMargin: "0.75rem",
|
|
44
|
+
mainNavMinimizedMargin: "0rem",
|
|
45
|
+
mainNavGap: _semantics.default.spacing.padding.container.xxs,
|
|
46
|
+
mainNavMinimizedGap: "0rem",
|
|
47
|
+
navItemsGap: _semantics.default.spacing.spaceXs,
|
|
45
48
|
boxShadow: {
|
|
46
49
|
0: {
|
|
47
50
|
x: "0rem",
|
|
@@ -39,6 +39,7 @@ var _gridCol = _interopRequireDefault(require("./components/gridCol"));
|
|
|
39
39
|
var _gridRow = _interopRequireDefault(require("./components/gridRow"));
|
|
40
40
|
var _heading = _interopRequireDefault(require("./components/heading"));
|
|
41
41
|
var _icon = _interopRequireDefault(require("./components/icon"));
|
|
42
|
+
var _img = _interopRequireDefault(require("./components/img"));
|
|
42
43
|
var _inlineListItem = _interopRequireDefault(require("./components/inlineListItem"));
|
|
43
44
|
var _link = _interopRequireDefault(require("./components/link"));
|
|
44
45
|
var _list = _interopRequireDefault(require("./components/list"));
|
|
@@ -230,7 +231,8 @@ const theme = {
|
|
|
230
231
|
AppNavItem: _appNavItem.default,
|
|
231
232
|
Byline: _byline.default,
|
|
232
233
|
SideNavBarNew: _sideNavBarNew.default,
|
|
233
|
-
SideNavBarItemNew: _sideNavBarItemNew.default
|
|
234
|
+
SideNavBarItemNew: _sideNavBarItemNew.default,
|
|
235
|
+
Img: _img.default
|
|
234
236
|
}
|
|
235
237
|
};
|
|
236
238
|
var _default = exports.default = theme;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 img = {
|
|
32
|
+
effectTransitionDuration: "1s",
|
|
33
|
+
imageBlurAmount: "0.25em"
|
|
34
|
+
};
|
|
35
|
+
var _default = exports.default = img;
|
|
@@ -34,7 +34,8 @@ const sideNavBarItemNew = {
|
|
|
34
34
|
iconWrapperHeight: "2.25rem",
|
|
35
35
|
borderRadius: "0rem",
|
|
36
36
|
backgroundColor: "transparent",
|
|
37
|
-
|
|
37
|
+
horizontalPadding: "0.375rem",
|
|
38
|
+
verticalPadding: "0.25rem",
|
|
38
39
|
fontColor: _semantics.default.color.text.onColor,
|
|
39
40
|
fontFamily: _semantics.default.fontFamily.base,
|
|
40
41
|
fontSize: _semantics.default.fontSize.textSm,
|
|
@@ -34,13 +34,16 @@ const sideNavBarNew = {
|
|
|
34
34
|
backgroundColor: _semantics.default.color.background.dark,
|
|
35
35
|
fill: _semantics.default.color.icon.onColor,
|
|
36
36
|
fontColor: _semantics.default.color.text.onColor,
|
|
37
|
-
|
|
37
|
+
minimizedminWidth: "3.375rem",
|
|
38
38
|
toggleTransition: "300ms",
|
|
39
|
-
|
|
39
|
+
minWidth: "5.25rem",
|
|
40
40
|
margin: "0rem",
|
|
41
41
|
minimizedMargin: "0rem",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
mainNavMargin: "0rem",
|
|
43
|
+
mainNavMinimizedMargin: "0rem",
|
|
44
|
+
mainNavGap: _semantics.default.spacing.padding.container.xxs,
|
|
45
|
+
mainNavMinimizedGap: "0rem",
|
|
46
|
+
navItemsGap: "0rem",
|
|
44
47
|
boxShadow: {
|
|
45
48
|
0: {
|
|
46
49
|
x: "0rem",
|
|
@@ -39,6 +39,7 @@ var _gridCol = _interopRequireDefault(require("./components/gridCol"));
|
|
|
39
39
|
var _gridRow = _interopRequireDefault(require("./components/gridRow"));
|
|
40
40
|
var _heading = _interopRequireDefault(require("./components/heading"));
|
|
41
41
|
var _icon = _interopRequireDefault(require("./components/icon"));
|
|
42
|
+
var _img = _interopRequireDefault(require("./components/img"));
|
|
42
43
|
var _inlineListItem = _interopRequireDefault(require("./components/inlineListItem"));
|
|
43
44
|
var _link = _interopRequireDefault(require("./components/link"));
|
|
44
45
|
var _list = _interopRequireDefault(require("./components/list"));
|
|
@@ -230,7 +231,8 @@ const theme = {
|
|
|
230
231
|
AppNavItem: _appNavItem.default,
|
|
231
232
|
Byline: _byline.default,
|
|
232
233
|
SideNavBarNew: _sideNavBarNew.default,
|
|
233
|
-
SideNavBarItemNew: _sideNavBarItemNew.default
|
|
234
|
+
SideNavBarItemNew: _sideNavBarItemNew.default,
|
|
235
|
+
Img: _img.default
|
|
234
236
|
}
|
|
235
237
|
};
|
|
236
238
|
var _default = exports.default = theme;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 img = {
|
|
32
|
+
effectTransitionDuration: "1s",
|
|
33
|
+
imageBlurAmount: "0.25em"
|
|
34
|
+
};
|
|
35
|
+
var _default = exports.default = img;
|
|
@@ -34,7 +34,8 @@ const sideNavBarItemNew = {
|
|
|
34
34
|
iconWrapperHeight: "2.25rem",
|
|
35
35
|
borderRadius: "0rem",
|
|
36
36
|
backgroundColor: "transparent",
|
|
37
|
-
|
|
37
|
+
horizontalPadding: "0.375rem",
|
|
38
|
+
verticalPadding: "0.25rem",
|
|
38
39
|
fontColor: _semantics.default.color.text.onColor,
|
|
39
40
|
fontFamily: _semantics.default.fontFamily.base,
|
|
40
41
|
fontSize: _semantics.default.fontSize.textSm,
|
|
@@ -34,13 +34,16 @@ const sideNavBarNew = {
|
|
|
34
34
|
backgroundColor: _semantics.default.color.background.dark,
|
|
35
35
|
fill: _semantics.default.color.icon.onColor,
|
|
36
36
|
fontColor: _semantics.default.color.text.onColor,
|
|
37
|
-
|
|
37
|
+
minimizedminWidth: "3.375rem",
|
|
38
38
|
toggleTransition: "300ms",
|
|
39
|
-
|
|
39
|
+
minWidth: "5.25rem",
|
|
40
40
|
margin: "0rem",
|
|
41
41
|
minimizedMargin: "0rem",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
mainNavMargin: "0rem",
|
|
43
|
+
mainNavMinimizedMargin: "0rem",
|
|
44
|
+
mainNavGap: _semantics.default.spacing.padding.container.xxs,
|
|
45
|
+
mainNavMinimizedGap: "0rem",
|
|
46
|
+
navItemsGap: "0rem",
|
|
44
47
|
boxShadow: {
|
|
45
48
|
0: {
|
|
46
49
|
x: "0rem",
|
|
@@ -39,6 +39,7 @@ var _gridCol = _interopRequireDefault(require("./components/gridCol"));
|
|
|
39
39
|
var _gridRow = _interopRequireDefault(require("./components/gridRow"));
|
|
40
40
|
var _heading = _interopRequireDefault(require("./components/heading"));
|
|
41
41
|
var _icon = _interopRequireDefault(require("./components/icon"));
|
|
42
|
+
var _img = _interopRequireDefault(require("./components/img"));
|
|
42
43
|
var _inlineListItem = _interopRequireDefault(require("./components/inlineListItem"));
|
|
43
44
|
var _link = _interopRequireDefault(require("./components/link"));
|
|
44
45
|
var _list = _interopRequireDefault(require("./components/list"));
|
|
@@ -230,7 +231,8 @@ const theme = {
|
|
|
230
231
|
AppNavItem: _appNavItem.default,
|
|
231
232
|
Byline: _byline.default,
|
|
232
233
|
SideNavBarNew: _sideNavBarNew.default,
|
|
233
|
-
SideNavBarItemNew: _sideNavBarItemNew.default
|
|
234
|
+
SideNavBarItemNew: _sideNavBarItemNew.default,
|
|
235
|
+
Img: _img.default
|
|
234
236
|
}
|
|
235
237
|
};
|
|
236
238
|
var _default = exports.default = theme;
|