@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.
Files changed (345) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/es/themes/newThemeTokens/componentTypes/imageCard.js +1 -0
  3. package/es/themes/newThemeTokens/componentTypes/mainNav.js +1 -0
  4. package/es/themes/newThemeTokens/componentTypes/mainNavAccountItem.js +1 -0
  5. package/es/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.js +1 -0
  6. package/es/themes/newThemeTokens/componentTypes/mainNavItem.js +1 -0
  7. package/es/themes/newThemeTokens/componentTypes/stepItem.js +1 -0
  8. package/es/themes/newThemeTokens/componentTypes/stepper.js +1 -0
  9. package/es/themes/newThemeTokens/componentTypes/subNav.js +1 -0
  10. package/es/themes/newThemeTokens/componentTypes/subNavItem.js +1 -0
  11. package/es/themes/newThemeTokens/dark/components/alert.js +3 -1
  12. package/es/themes/newThemeTokens/dark/components/globalNav.js +57 -0
  13. package/es/themes/newThemeTokens/dark/components/imageCard.js +64 -0
  14. package/es/themes/newThemeTokens/dark/components/mainNav.js +31 -0
  15. package/es/themes/newThemeTokens/dark/components/mainNavAccountItem.js +41 -0
  16. package/es/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.js +31 -0
  17. package/es/themes/newThemeTokens/dark/components/mainNavItem.js +47 -0
  18. package/es/themes/newThemeTokens/dark/components/pill.js +3 -2
  19. package/es/themes/newThemeTokens/dark/components/stepItem.js +32 -0
  20. package/es/themes/newThemeTokens/dark/components/stepper.js +50 -0
  21. package/es/themes/newThemeTokens/dark/components/subNav.js +35 -0
  22. package/es/themes/newThemeTokens/dark/components/subNavItem.js +37 -0
  23. package/es/themes/newThemeTokens/dark/index.js +20 -2
  24. package/es/themes/newThemeTokens/dark/semantics.js +1 -1
  25. package/es/themes/newThemeTokens/legacyCanvas/components/alert.js +3 -1
  26. package/es/themes/newThemeTokens/legacyCanvas/components/globalNav.js +57 -0
  27. package/es/themes/newThemeTokens/legacyCanvas/components/imageCard.js +64 -0
  28. package/es/themes/newThemeTokens/legacyCanvas/components/mainNav.js +31 -0
  29. package/es/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.js +41 -0
  30. package/es/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.js +31 -0
  31. package/es/themes/newThemeTokens/legacyCanvas/components/mainNavItem.js +47 -0
  32. package/es/themes/newThemeTokens/legacyCanvas/components/pill.js +5 -4
  33. package/es/themes/newThemeTokens/legacyCanvas/components/stepItem.js +32 -0
  34. package/es/themes/newThemeTokens/legacyCanvas/components/stepper.js +50 -0
  35. package/es/themes/newThemeTokens/legacyCanvas/components/subNav.js +35 -0
  36. package/es/themes/newThemeTokens/legacyCanvas/components/subNavItem.js +37 -0
  37. package/es/themes/newThemeTokens/legacyCanvas/index.js +20 -2
  38. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.js +3 -1
  39. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.js +57 -0
  40. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.js +64 -0
  41. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.js +31 -0
  42. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.js +41 -0
  43. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.js +31 -0
  44. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.js +47 -0
  45. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.js +5 -4
  46. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.js +32 -0
  47. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.js +50 -0
  48. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.js +35 -0
  49. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.js +37 -0
  50. package/es/themes/newThemeTokens/legacyCanvasHighContrast/index.js +20 -2
  51. package/es/themes/newThemeTokens/light/components/alert.js +3 -1
  52. package/es/themes/newThemeTokens/light/components/globalNav.js +57 -0
  53. package/es/themes/newThemeTokens/light/components/imageCard.js +64 -0
  54. package/es/themes/newThemeTokens/light/components/mainNav.js +31 -0
  55. package/es/themes/newThemeTokens/light/components/mainNavAccountItem.js +41 -0
  56. package/es/themes/newThemeTokens/light/components/mainNavInstitutionLogo.js +31 -0
  57. package/es/themes/newThemeTokens/light/components/mainNavItem.js +47 -0
  58. package/es/themes/newThemeTokens/light/components/pill.js +3 -2
  59. package/es/themes/newThemeTokens/light/components/stepItem.js +32 -0
  60. package/es/themes/newThemeTokens/light/components/stepper.js +50 -0
  61. package/es/themes/newThemeTokens/light/components/subNav.js +35 -0
  62. package/es/themes/newThemeTokens/light/components/subNavItem.js +37 -0
  63. package/es/themes/newThemeTokens/light/index.js +20 -2
  64. package/lib/themes/newThemeTokens/componentTypes/imageCard.js +5 -0
  65. package/lib/themes/newThemeTokens/componentTypes/mainNav.js +5 -0
  66. package/lib/themes/newThemeTokens/componentTypes/mainNavAccountItem.js +5 -0
  67. package/lib/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.js +5 -0
  68. package/lib/themes/newThemeTokens/componentTypes/mainNavItem.js +5 -0
  69. package/lib/themes/newThemeTokens/componentTypes/stepItem.js +5 -0
  70. package/lib/themes/newThemeTokens/componentTypes/stepper.js +5 -0
  71. package/lib/themes/newThemeTokens/componentTypes/subNav.js +5 -0
  72. package/lib/themes/newThemeTokens/componentTypes/subNavItem.js +5 -0
  73. package/lib/themes/newThemeTokens/dark/components/alert.js +3 -1
  74. package/lib/themes/newThemeTokens/dark/components/globalNav.js +63 -0
  75. package/lib/themes/newThemeTokens/dark/components/imageCard.js +70 -0
  76. package/lib/themes/newThemeTokens/dark/components/mainNav.js +37 -0
  77. package/lib/themes/newThemeTokens/dark/components/mainNavAccountItem.js +47 -0
  78. package/lib/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.js +37 -0
  79. package/lib/themes/newThemeTokens/dark/components/mainNavItem.js +53 -0
  80. package/lib/themes/newThemeTokens/dark/components/pill.js +3 -2
  81. package/lib/themes/newThemeTokens/dark/components/stepItem.js +38 -0
  82. package/lib/themes/newThemeTokens/dark/components/stepper.js +56 -0
  83. package/lib/themes/newThemeTokens/dark/components/subNav.js +41 -0
  84. package/lib/themes/newThemeTokens/dark/components/subNavItem.js +43 -0
  85. package/lib/themes/newThemeTokens/dark/index.js +20 -2
  86. package/lib/themes/newThemeTokens/dark/semantics.js +1 -1
  87. package/lib/themes/newThemeTokens/legacyCanvas/components/alert.js +3 -1
  88. package/lib/themes/newThemeTokens/legacyCanvas/components/globalNav.js +63 -0
  89. package/lib/themes/newThemeTokens/legacyCanvas/components/imageCard.js +70 -0
  90. package/lib/themes/newThemeTokens/legacyCanvas/components/mainNav.js +37 -0
  91. package/lib/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.js +47 -0
  92. package/lib/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.js +37 -0
  93. package/lib/themes/newThemeTokens/legacyCanvas/components/mainNavItem.js +53 -0
  94. package/lib/themes/newThemeTokens/legacyCanvas/components/pill.js +5 -4
  95. package/lib/themes/newThemeTokens/legacyCanvas/components/stepItem.js +38 -0
  96. package/lib/themes/newThemeTokens/legacyCanvas/components/stepper.js +56 -0
  97. package/lib/themes/newThemeTokens/legacyCanvas/components/subNav.js +41 -0
  98. package/lib/themes/newThemeTokens/legacyCanvas/components/subNavItem.js +43 -0
  99. package/lib/themes/newThemeTokens/legacyCanvas/index.js +20 -2
  100. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.js +3 -1
  101. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.js +63 -0
  102. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.js +70 -0
  103. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.js +37 -0
  104. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.js +47 -0
  105. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.js +37 -0
  106. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.js +53 -0
  107. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.js +5 -4
  108. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.js +38 -0
  109. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.js +56 -0
  110. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.js +41 -0
  111. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.js +43 -0
  112. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/index.js +20 -2
  113. package/lib/themes/newThemeTokens/light/components/alert.js +3 -1
  114. package/lib/themes/newThemeTokens/light/components/globalNav.js +63 -0
  115. package/lib/themes/newThemeTokens/light/components/imageCard.js +70 -0
  116. package/lib/themes/newThemeTokens/light/components/mainNav.js +37 -0
  117. package/lib/themes/newThemeTokens/light/components/mainNavAccountItem.js +47 -0
  118. package/lib/themes/newThemeTokens/light/components/mainNavInstitutionLogo.js +37 -0
  119. package/lib/themes/newThemeTokens/light/components/mainNavItem.js +53 -0
  120. package/lib/themes/newThemeTokens/light/components/pill.js +3 -2
  121. package/lib/themes/newThemeTokens/light/components/stepItem.js +38 -0
  122. package/lib/themes/newThemeTokens/light/components/stepper.js +56 -0
  123. package/lib/themes/newThemeTokens/light/components/subNav.js +41 -0
  124. package/lib/themes/newThemeTokens/light/components/subNavItem.js +43 -0
  125. package/lib/themes/newThemeTokens/light/index.js +20 -2
  126. package/package.json +3 -3
  127. package/src/themes/newThemeTokens/componentTypes/alert.ts +2 -0
  128. package/src/themes/newThemeTokens/componentTypes/{sideNavBarNew.ts → globalNav.ts} +2 -42
  129. package/src/themes/newThemeTokens/componentTypes/imageCard.ts +51 -0
  130. package/src/themes/newThemeTokens/componentTypes/index.ts +20 -2
  131. package/src/themes/newThemeTokens/componentTypes/mainNav.ts +27 -0
  132. package/src/themes/newThemeTokens/componentTypes/mainNavAccountItem.ts +42 -0
  133. package/src/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.ts +27 -0
  134. package/src/themes/newThemeTokens/componentTypes/mainNavItem.ts +48 -0
  135. package/src/themes/newThemeTokens/componentTypes/pill.ts +2 -1
  136. package/src/themes/newThemeTokens/componentTypes/stepItem.ts +33 -0
  137. package/src/themes/newThemeTokens/componentTypes/stepper.ts +45 -0
  138. package/src/themes/newThemeTokens/componentTypes/subNav.ts +36 -0
  139. package/src/themes/newThemeTokens/componentTypes/subNavItem.ts +38 -0
  140. package/src/themes/newThemeTokens/dark/components/alert.ts +3 -1
  141. package/src/themes/newThemeTokens/dark/components/globalNav.ts +59 -0
  142. package/src/themes/newThemeTokens/dark/components/imageCard.ts +66 -0
  143. package/src/themes/newThemeTokens/dark/components/mainNav.ts +33 -0
  144. package/src/themes/newThemeTokens/dark/components/mainNavAccountItem.ts +43 -0
  145. package/src/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.ts +33 -0
  146. package/src/themes/newThemeTokens/dark/components/mainNavItem.ts +49 -0
  147. package/src/themes/newThemeTokens/dark/components/pill.ts +3 -2
  148. package/src/themes/newThemeTokens/dark/components/stepItem.ts +34 -0
  149. package/src/themes/newThemeTokens/dark/components/stepper.ts +48 -0
  150. package/src/themes/newThemeTokens/dark/components/subNav.ts +37 -0
  151. package/src/themes/newThemeTokens/dark/components/subNavItem.ts +39 -0
  152. package/src/themes/newThemeTokens/dark/index.ts +20 -2
  153. package/src/themes/newThemeTokens/dark/semantics.ts +2 -2
  154. package/src/themes/newThemeTokens/legacyCanvas/components/alert.ts +3 -1
  155. package/src/themes/newThemeTokens/legacyCanvas/components/globalNav.ts +59 -0
  156. package/src/themes/newThemeTokens/legacyCanvas/components/imageCard.ts +66 -0
  157. package/src/themes/newThemeTokens/legacyCanvas/components/mainNav.ts +26 -0
  158. package/src/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.ts +43 -0
  159. package/src/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.ts +33 -0
  160. package/src/themes/newThemeTokens/legacyCanvas/components/mainNavItem.ts +49 -0
  161. package/src/themes/newThemeTokens/legacyCanvas/components/pill.ts +5 -4
  162. package/src/themes/newThemeTokens/legacyCanvas/components/stepItem.ts +34 -0
  163. package/src/themes/newThemeTokens/legacyCanvas/components/stepper.ts +48 -0
  164. package/src/themes/newThemeTokens/legacyCanvas/components/subNav.ts +37 -0
  165. package/src/themes/newThemeTokens/legacyCanvas/components/subNavItem.ts +39 -0
  166. package/src/themes/newThemeTokens/legacyCanvas/index.ts +20 -2
  167. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.ts +3 -1
  168. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.ts +59 -0
  169. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.ts +66 -0
  170. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.ts +26 -0
  171. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.ts +43 -0
  172. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.ts +33 -0
  173. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.ts +49 -0
  174. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.ts +5 -4
  175. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.ts +34 -0
  176. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.ts +48 -0
  177. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.ts +37 -0
  178. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.ts +39 -0
  179. package/src/themes/newThemeTokens/legacyCanvasHighContrast/index.ts +20 -2
  180. package/src/themes/newThemeTokens/light/components/alert.ts +3 -1
  181. package/src/themes/newThemeTokens/light/components/globalNav.ts +59 -0
  182. package/src/themes/newThemeTokens/light/components/imageCard.ts +66 -0
  183. package/src/themes/newThemeTokens/light/components/mainNav.ts +33 -0
  184. package/src/themes/newThemeTokens/light/components/mainNavAccountItem.ts +43 -0
  185. package/src/themes/newThemeTokens/light/components/mainNavInstitutionLogo.ts +33 -0
  186. package/src/themes/newThemeTokens/light/components/mainNavItem.ts +49 -0
  187. package/src/themes/newThemeTokens/light/components/pill.ts +3 -2
  188. package/src/themes/newThemeTokens/light/components/stepItem.ts +34 -0
  189. package/src/themes/newThemeTokens/light/components/stepper.ts +48 -0
  190. package/src/themes/newThemeTokens/light/components/subNav.ts +37 -0
  191. package/src/themes/newThemeTokens/light/components/subNavItem.ts +39 -0
  192. package/src/themes/newThemeTokens/light/index.ts +20 -2
  193. package/tokens/canvas/source.json +1 -1
  194. package/tsconfig.build.tsbuildinfo +1 -1
  195. package/types/themes/newThemeTokens/componentTypes/alert.d.ts +2 -0
  196. package/types/themes/newThemeTokens/componentTypes/alert.d.ts.map +1 -1
  197. package/types/themes/newThemeTokens/componentTypes/globalNav.d.ts +22 -0
  198. package/types/themes/newThemeTokens/componentTypes/globalNav.d.ts.map +1 -0
  199. package/types/themes/newThemeTokens/componentTypes/imageCard.d.ts +29 -0
  200. package/types/themes/newThemeTokens/componentTypes/imageCard.d.ts.map +1 -0
  201. package/types/themes/newThemeTokens/componentTypes/index.d.ts +20 -2
  202. package/types/themes/newThemeTokens/componentTypes/index.d.ts.map +1 -1
  203. package/types/themes/newThemeTokens/componentTypes/mainNav.d.ts +8 -0
  204. package/types/themes/newThemeTokens/componentTypes/mainNav.d.ts.map +1 -0
  205. package/types/themes/newThemeTokens/componentTypes/mainNavAccountItem.d.ts +18 -0
  206. package/types/themes/newThemeTokens/componentTypes/mainNavAccountItem.d.ts.map +1 -0
  207. package/types/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.d.ts +8 -0
  208. package/types/themes/newThemeTokens/componentTypes/mainNavInstitutionLogo.d.ts.map +1 -0
  209. package/types/themes/newThemeTokens/componentTypes/mainNavItem.d.ts +24 -0
  210. package/types/themes/newThemeTokens/componentTypes/mainNavItem.d.ts.map +1 -0
  211. package/types/themes/newThemeTokens/componentTypes/pill.d.ts +2 -1
  212. package/types/themes/newThemeTokens/componentTypes/pill.d.ts.map +1 -1
  213. package/types/themes/newThemeTokens/componentTypes/stepItem.d.ts +9 -0
  214. package/types/themes/newThemeTokens/componentTypes/stepItem.d.ts.map +1 -0
  215. package/types/themes/newThemeTokens/componentTypes/stepper.d.ts +21 -0
  216. package/types/themes/newThemeTokens/componentTypes/stepper.d.ts.map +1 -0
  217. package/types/themes/newThemeTokens/componentTypes/subNav.d.ts +12 -0
  218. package/types/themes/newThemeTokens/componentTypes/subNav.d.ts.map +1 -0
  219. package/types/themes/newThemeTokens/componentTypes/subNavItem.d.ts +14 -0
  220. package/types/themes/newThemeTokens/componentTypes/subNavItem.d.ts.map +1 -0
  221. package/types/themes/newThemeTokens/dark/components/alert.d.ts +2 -0
  222. package/types/themes/newThemeTokens/dark/components/alert.d.ts.map +1 -1
  223. package/types/themes/newThemeTokens/dark/components/globalNav.d.ts +35 -0
  224. package/types/themes/newThemeTokens/dark/components/globalNav.d.ts.map +1 -0
  225. package/types/themes/newThemeTokens/dark/components/imageCard.d.ts +42 -0
  226. package/types/themes/newThemeTokens/dark/components/imageCard.d.ts.map +1 -0
  227. package/types/themes/newThemeTokens/dark/components/mainNav.d.ts +9 -0
  228. package/types/themes/newThemeTokens/dark/components/mainNav.d.ts.map +1 -0
  229. package/types/themes/newThemeTokens/dark/components/mainNavAccountItem.d.ts +19 -0
  230. package/types/themes/newThemeTokens/dark/components/mainNavAccountItem.d.ts.map +1 -0
  231. package/types/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.d.ts +9 -0
  232. package/types/themes/newThemeTokens/dark/components/mainNavInstitutionLogo.d.ts.map +1 -0
  233. package/types/themes/newThemeTokens/dark/components/mainNavItem.d.ts +25 -0
  234. package/types/themes/newThemeTokens/dark/components/mainNavItem.d.ts.map +1 -0
  235. package/types/themes/newThemeTokens/dark/components/pill.d.ts +2 -1
  236. package/types/themes/newThemeTokens/dark/components/pill.d.ts.map +1 -1
  237. package/types/themes/newThemeTokens/dark/components/stepItem.d.ts +10 -0
  238. package/types/themes/newThemeTokens/dark/components/stepItem.d.ts.map +1 -0
  239. package/types/themes/newThemeTokens/dark/components/stepper.d.ts +28 -0
  240. package/types/themes/newThemeTokens/dark/components/stepper.d.ts.map +1 -0
  241. package/types/themes/newThemeTokens/dark/components/subNav.d.ts +13 -0
  242. package/types/themes/newThemeTokens/dark/components/subNav.d.ts.map +1 -0
  243. package/types/themes/newThemeTokens/dark/components/subNavItem.d.ts +15 -0
  244. package/types/themes/newThemeTokens/dark/components/subNavItem.d.ts.map +1 -0
  245. package/types/themes/newThemeTokens/dark/index.d.ts.map +1 -1
  246. package/types/themes/newThemeTokens/dark/semantics.d.ts +1 -1
  247. package/types/themes/newThemeTokens/legacyCanvas/components/alert.d.ts +2 -0
  248. package/types/themes/newThemeTokens/legacyCanvas/components/alert.d.ts.map +1 -1
  249. package/types/themes/newThemeTokens/legacyCanvas/components/globalNav.d.ts +35 -0
  250. package/types/themes/newThemeTokens/legacyCanvas/components/globalNav.d.ts.map +1 -0
  251. package/types/themes/newThemeTokens/legacyCanvas/components/imageCard.d.ts +42 -0
  252. package/types/themes/newThemeTokens/legacyCanvas/components/imageCard.d.ts.map +1 -0
  253. package/types/themes/newThemeTokens/legacyCanvas/components/mainNav.d.ts +8 -0
  254. package/types/themes/newThemeTokens/legacyCanvas/components/mainNav.d.ts.map +1 -0
  255. package/types/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.d.ts +19 -0
  256. package/types/themes/newThemeTokens/legacyCanvas/components/mainNavAccountItem.d.ts.map +1 -0
  257. package/types/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.d.ts +9 -0
  258. package/types/themes/newThemeTokens/legacyCanvas/components/mainNavInstitutionLogo.d.ts.map +1 -0
  259. package/types/themes/newThemeTokens/legacyCanvas/components/mainNavItem.d.ts +25 -0
  260. package/types/themes/newThemeTokens/legacyCanvas/components/mainNavItem.d.ts.map +1 -0
  261. package/types/themes/newThemeTokens/legacyCanvas/components/pill.d.ts +2 -1
  262. package/types/themes/newThemeTokens/legacyCanvas/components/pill.d.ts.map +1 -1
  263. package/types/themes/newThemeTokens/legacyCanvas/components/stepItem.d.ts +10 -0
  264. package/types/themes/newThemeTokens/legacyCanvas/components/stepItem.d.ts.map +1 -0
  265. package/types/themes/newThemeTokens/legacyCanvas/components/stepper.d.ts +28 -0
  266. package/types/themes/newThemeTokens/legacyCanvas/components/stepper.d.ts.map +1 -0
  267. package/types/themes/newThemeTokens/legacyCanvas/components/subNav.d.ts +13 -0
  268. package/types/themes/newThemeTokens/legacyCanvas/components/subNav.d.ts.map +1 -0
  269. package/types/themes/newThemeTokens/legacyCanvas/components/subNavItem.d.ts +15 -0
  270. package/types/themes/newThemeTokens/legacyCanvas/components/subNavItem.d.ts.map +1 -0
  271. package/types/themes/newThemeTokens/legacyCanvas/index.d.ts.map +1 -1
  272. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.d.ts +2 -0
  273. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/alert.d.ts.map +1 -1
  274. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.d.ts +35 -0
  275. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/globalNav.d.ts.map +1 -0
  276. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.d.ts +42 -0
  277. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/imageCard.d.ts.map +1 -0
  278. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.d.ts +8 -0
  279. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNav.d.ts.map +1 -0
  280. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.d.ts +19 -0
  281. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavAccountItem.d.ts.map +1 -0
  282. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.d.ts +9 -0
  283. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavInstitutionLogo.d.ts.map +1 -0
  284. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.d.ts +25 -0
  285. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/mainNavItem.d.ts.map +1 -0
  286. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.d.ts +2 -1
  287. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/pill.d.ts.map +1 -1
  288. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.d.ts +10 -0
  289. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepItem.d.ts.map +1 -0
  290. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.d.ts +28 -0
  291. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/stepper.d.ts.map +1 -0
  292. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.d.ts +13 -0
  293. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNav.d.ts.map +1 -0
  294. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.d.ts +15 -0
  295. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/subNavItem.d.ts.map +1 -0
  296. package/types/themes/newThemeTokens/legacyCanvasHighContrast/index.d.ts.map +1 -1
  297. package/types/themes/newThemeTokens/light/components/alert.d.ts +2 -0
  298. package/types/themes/newThemeTokens/light/components/alert.d.ts.map +1 -1
  299. package/types/themes/newThemeTokens/light/components/globalNav.d.ts +35 -0
  300. package/types/themes/newThemeTokens/light/components/globalNav.d.ts.map +1 -0
  301. package/types/themes/newThemeTokens/light/components/imageCard.d.ts +42 -0
  302. package/types/themes/newThemeTokens/light/components/imageCard.d.ts.map +1 -0
  303. package/types/themes/newThemeTokens/light/components/mainNav.d.ts +9 -0
  304. package/types/themes/newThemeTokens/light/components/mainNav.d.ts.map +1 -0
  305. package/types/themes/newThemeTokens/light/components/mainNavAccountItem.d.ts +19 -0
  306. package/types/themes/newThemeTokens/light/components/mainNavAccountItem.d.ts.map +1 -0
  307. package/types/themes/newThemeTokens/light/components/mainNavInstitutionLogo.d.ts +9 -0
  308. package/types/themes/newThemeTokens/light/components/mainNavInstitutionLogo.d.ts.map +1 -0
  309. package/types/themes/newThemeTokens/light/components/mainNavItem.d.ts +25 -0
  310. package/types/themes/newThemeTokens/light/components/mainNavItem.d.ts.map +1 -0
  311. package/types/themes/newThemeTokens/light/components/pill.d.ts +2 -1
  312. package/types/themes/newThemeTokens/light/components/pill.d.ts.map +1 -1
  313. package/types/themes/newThemeTokens/light/components/stepItem.d.ts +10 -0
  314. package/types/themes/newThemeTokens/light/components/stepItem.d.ts.map +1 -0
  315. package/types/themes/newThemeTokens/light/components/stepper.d.ts +35 -0
  316. package/types/themes/newThemeTokens/light/components/stepper.d.ts.map +1 -0
  317. package/types/themes/newThemeTokens/light/components/subNav.d.ts +13 -0
  318. package/types/themes/newThemeTokens/light/components/subNav.d.ts.map +1 -0
  319. package/types/themes/newThemeTokens/light/components/subNavItem.d.ts +15 -0
  320. package/types/themes/newThemeTokens/light/components/subNavItem.d.ts.map +1 -0
  321. package/types/themes/newThemeTokens/light/index.d.ts.map +1 -1
  322. package/es/themes/newThemeTokens/dark/components/sideNavBarNew.js +0 -109
  323. package/es/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.js +0 -109
  324. package/es/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.js +0 -109
  325. package/es/themes/newThemeTokens/light/components/sideNavBarNew.js +0 -109
  326. package/lib/themes/newThemeTokens/dark/components/sideNavBarNew.js +0 -115
  327. package/lib/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.js +0 -115
  328. package/lib/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.js +0 -115
  329. package/lib/themes/newThemeTokens/light/components/sideNavBarNew.js +0 -115
  330. package/src/themes/newThemeTokens/dark/components/sideNavBarNew.ts +0 -109
  331. package/src/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.ts +0 -109
  332. package/src/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.ts +0 -109
  333. package/src/themes/newThemeTokens/light/components/sideNavBarNew.ts +0 -109
  334. package/types/themes/newThemeTokens/componentTypes/sideNavBarNew.d.ts +0 -74
  335. package/types/themes/newThemeTokens/componentTypes/sideNavBarNew.d.ts.map +0 -1
  336. package/types/themes/newThemeTokens/dark/components/sideNavBarNew.d.ts +0 -87
  337. package/types/themes/newThemeTokens/dark/components/sideNavBarNew.d.ts.map +0 -1
  338. package/types/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.d.ts +0 -87
  339. package/types/themes/newThemeTokens/legacyCanvas/components/sideNavBarNew.d.ts.map +0 -1
  340. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.d.ts +0 -87
  341. package/types/themes/newThemeTokens/legacyCanvasHighContrast/components/sideNavBarNew.d.ts.map +0 -1
  342. package/types/themes/newThemeTokens/light/components/sideNavBarNew.d.ts +0 -87
  343. package/types/themes/newThemeTokens/light/components/sideNavBarNew.d.ts.map +0 -1
  344. /package/es/themes/newThemeTokens/componentTypes/{sideNavBarNew.js → globalNav.js} +0 -0
  345. /package/lib/themes/newThemeTokens/componentTypes/{sideNavBarNew.js → globalNav.js} +0 -0
@@ -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
- SideNavBarNew: sideNavBarNew,
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,
@@ -699,7 +699,7 @@ export type Semantics = {
699
699
  "modify": { "type": string; "value": number; "space": string }
700
700
  }
701
701
  "brandButtonSecondaryText": Primitives["color"]["white"]
702
- "brandGlobalNavBgd": Primitives["color"]["grey"]["grey170"]
702
+ "brandGlobalNavBgd": Primitives["color"]["grey"]["grey180"]
703
703
  "globalNavLinkHover": Primitives["color"]["grey"]["grey170"]
704
704
  "brandGlobalNavMenuItemTextColor": Primitives["color"]["white"]
705
705
  "brandGlobalNavMenuItemTextColorActive": Primitives["color"]["grey"]["grey180"]
@@ -1516,7 +1516,7 @@ const semantics = (primitives: Primitives): Semantics => ({
1516
1516
  "modify": { "type": "alpha", "value": 0.3, "space": "hsl" },
1517
1517
  },
1518
1518
  "brandButtonSecondaryText": primitives.color.white,
1519
- "brandGlobalNavBgd": primitives.color.grey.grey170,
1519
+ "brandGlobalNavBgd": primitives.color.grey.grey180,
1520
1520
  "globalNavLinkHover": primitives.color.grey.grey170,
1521
1521
  "brandGlobalNavMenuItemTextColor": primitives.color.white,
1522
1522
  "brandGlobalNavMenuItemTextColorActive": primitives.color.grey.grey180,
@@ -33,7 +33,7 @@ const alert = (semantic: Semantics) => ({
33
33
  contentFontFamily: semantic.fontFamily.base,
34
34
  contentFontSize: semantic.fontSize.textBase,
35
35
  contentFontWeight: semantic.fontWeight.body.base,
36
- contentLineHeight: semantic.lineHeight.standalone.base,
36
+ contentLineHeight: semantic.lineHeight.paragraph.textBase,
37
37
  dangerBackground: semantic.color.background.error,
38
38
  dangerBackgroundInline: semantic.color.background.base,
39
39
  dangerBorderColor: semantic.color.stroke.error,
@@ -54,6 +54,8 @@ const alert = (semantic: Semantics) => ({
54
54
  warningBorderColor: semantic.color.stroke.warning,
55
55
  warningBorderColorInline: semantic.color.stroke.warning,
56
56
  warningIconBackground: semantic.color.background.base,
57
+ textOnColor: semantic.color.text.onColor,
58
+ textBase: semantic.color.text.base,
57
59
  contentPaddingVertical: semantic.spacing.spaceMd,
58
60
  contentPaddingHorizontal: semantic.spacing.spaceXl,
59
61
  iconPaddingLeft: semantic.spacing.spaceSm,
@@ -0,0 +1,59 @@
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 globalNav = (semantic: Semantics) => ({
28
+ backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
29
+ fill: semantic.color.icon.onColor,
30
+ textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
31
+ minimizedminWidth: "5.75rem",
32
+ toggleTransition: "300ms",
33
+ minWidth: "14.5rem",
34
+ margin: "0rem",
35
+ minimizedMargin: "0rem",
36
+ boxShadow: {
37
+ 0: {
38
+ x: "0rem",
39
+ y: "0rem",
40
+ blur: "0rem",
41
+ spread: "0rem",
42
+ color: semantic.color.transparentColor,
43
+ type: "dropShadow",
44
+ },
45
+ 1: {
46
+ x: "0rem",
47
+ y: "0rem",
48
+ blur: "0rem",
49
+ spread: "0rem",
50
+ color: semantic.color.transparentColor,
51
+ type: "dropShadow",
52
+ },
53
+ },
54
+ borderRadius: "0rem",
55
+ minimizedBorderRadius: "0rem",
56
+ borderColor: semantic.color.stroke.base,
57
+ borderWidth: semantic.borderWidth.sm,
58
+ })
59
+ export default globalNav
@@ -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: semantic.borderRadius.container.sm,
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,26 @@
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 mainNav = () => ({ margin: "0rem", minimizedMargin: "0rem", gap: "0rem", navItemsGap: "0rem" })
26
+ 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: "0rem",
40
+ borderColor: semantic.color.stroke.base,
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.onColor,
29
+ strokeColor: semantic.color.stroke.base,
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
+ iconWrapperHeight: "2.25rem",
29
+ borderRadius: "0rem",
30
+ backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
31
+ horizontalPadding: "0.5rem",
32
+ verticalPadding: "0.375rem",
33
+ fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
34
+ fontFamily: semantic.fontFamily.base,
35
+ fontSize: semantic.fontSize.textBase,
36
+ fontWeight: semantic.fontWeight.body.base,
37
+ hoverBackgroundColor: semantic.color.institutional.globalNavLinkHover,
38
+ lineHeight: semantic.lineHeight.paragraph.base,
39
+ linkTextDecoration: "none",
40
+ currentBackgroundColor: semantic.color.background.base,
41
+ selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
42
+ currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
43
+ innerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.onColor,
44
+ selectedInnerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
45
+ outerFocusOutlineColor: semantic.color.transparentColor,
46
+ selectedOuterFocusOutlineColor: semantic.color.transparentColor,
47
+ minimizedItemSize: "2.75rem",
48
+ })
49
+ export default mainNavItem
@@ -32,10 +32,10 @@ const pill = (semantic: Semantics) => ({
32
32
  height: "1.5rem",
33
33
  heightMedium: "1.75rem",
34
34
  heightLarge: "2rem",
35
- textFontSize: semantic.fontSize.textSm,
35
+ textFontSize: semantic.fontSize.textXs,
36
36
  textFontSizeMedium: semantic.fontSize.textSm,
37
- textFontSizeLarge: semantic.fontSize.textSm,
38
- textFontWeight: semantic.fontWeight.body.strong,
37
+ textFontSizeLarge: semantic.fontSize.textBase,
38
+ textFontWeight: semantic.fontWeight.body.base,
39
39
  statusLabelFontWeight: semantic.fontWeight.body.strong,
40
40
  maxWidth: "240px",
41
41
  baseTextColor: semantic.color.text.base,
@@ -78,9 +78,10 @@ const pill = (semantic: Semantics) => ({
78
78
  borderRadius: semantic.borderRadius.full,
79
79
  borderWidth: semantic.borderWidth.sm,
80
80
  lineHeight: semantic.lineHeight.standalone.textSm,
81
+ lineHeightMedium: semantic.lineHeight.standalone.textBase,
82
+ lineHeightLarge: semantic.lineHeight.standalone.textLg,
81
83
  fontFamily: semantic.fontFamily.base,
82
84
  borderStyle: "solid",
83
- paddingVertical: semantic.spacing.spaceXs,
84
85
  gapIconLabel: semantic.spacing.spaceSm,
85
86
  gapIconLabelMedium: semantic.spacing.spaceSm,
86
87
  gapIconLabelLarge: semantic.spacing.spaceSm,
@@ -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.base,
29
+ textColor: semantic.color.text.onColor,
30
+ padding: semantic.spacing.spaceMd,
31
+ minimizedVerticalPadding: "0.875rem",
32
+ gap: semantic.spacing.spaceSm,
33
+ navItemsGap: "0rem",
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.primary.hover,
30
+ activeBackgroundColor: semantic.color.background.interactive.action.primary.active,
31
+ selectedBackgroundColor: semantic.color.background.brand,
32
+ textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
33
+ selectedTextColor: semantic.color.text.onColor,
34
+ logoutTextColor: semantic.color.text.onColor,
35
+ borderRadius: "0rem",
36
+ padding: semantic.spacing.spaceMd,
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
- SideNavBarNew: sideNavBarNew,
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,
@@ -33,7 +33,7 @@ const alert = (semantic: Semantics) => ({
33
33
  contentFontFamily: semantic.fontFamily.base,
34
34
  contentFontSize: semantic.fontSize.textBase,
35
35
  contentFontWeight: semantic.fontWeight.body.base,
36
- contentLineHeight: semantic.lineHeight.standalone.base,
36
+ contentLineHeight: semantic.lineHeight.paragraph.textBase,
37
37
  dangerBackground: semantic.color.background.error,
38
38
  dangerBackgroundInline: semantic.color.background.base,
39
39
  dangerBorderColor: semantic.color.stroke.error,
@@ -54,6 +54,8 @@ const alert = (semantic: Semantics) => ({
54
54
  warningBorderColor: semantic.color.stroke.warning,
55
55
  warningBorderColorInline: semantic.color.stroke.warning,
56
56
  warningIconBackground: semantic.color.background.base,
57
+ textOnColor: semantic.color.text.onColor,
58
+ textBase: semantic.color.text.base,
57
59
  contentPaddingVertical: semantic.spacing.spaceMd,
58
60
  contentPaddingHorizontal: semantic.spacing.spaceXl,
59
61
  iconPaddingLeft: semantic.spacing.spaceSm,