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