@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
@@ -0,0 +1,45 @@
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
+ export type Stepper = {
26
+ stepGap: string
27
+ stepContentGap: string
28
+ stepPaddingInlineEnd: string
29
+ /** Vertical only. */
30
+ stepPaddingBlockEnd: string
31
+ currentStepTextGap: string
32
+ compactStrokeFilledColor: string
33
+ compactStrokeColor: string
34
+ compactStrokeErrorColor: string
35
+ compactStrokeGap: string
36
+ compactStrokeHeight: string
37
+ compactStrokeRadius: string
38
+ mobileToggleBackground: string
39
+ mobileToggleBorderRadius: string
40
+ mobileTogglePaddingHorizontal: string
41
+ mobileTogglePaddingVertical: string
42
+ mobileToggleContentGap: string
43
+ }
44
+
45
+ export default Stepper
@@ -0,0 +1,36 @@
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
+ export type SubNav = {
26
+ strokeColor: string
27
+ textColor: string
28
+ padding: string
29
+ gap: string
30
+ navItemsGap: string
31
+ minimizedVerticalPadding: string
32
+ minimizedWidth: string
33
+ minimizedHoverWidth: string
34
+ }
35
+
36
+ export default SubNav
@@ -0,0 +1,38 @@
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
+ export type SubNavItem = {
26
+ backgroundColor: string
27
+ hoverBackgroundColor: string
28
+ activeBackgroundColor: string
29
+ selectedBackgroundColor: string
30
+ textColor: string
31
+ selectedTextColor: string
32
+ logoutTextColor: string
33
+ borderRadius: string
34
+ padding: string
35
+ gap: string
36
+ }
37
+
38
+ export default SubNavItem
@@ -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.pastel.error,
39
39
  dangerBorderColor: semantic.color.stroke.error,
@@ -60,6 +60,8 @@ const alert = (semantic: Semantics) => ({
60
60
  modify: { type: "alpha", value: 0.2, space: "hsl" },
61
61
  },
62
62
  warningIconBackground: semantic.color.background.warning,
63
+ textOnColor: semantic.color.text.onColor,
64
+ textBase: semantic.color.text.base,
63
65
  contentPaddingVertical: semantic.spacing.spaceMd,
64
66
  contentPaddingHorizontal: semantic.spacing.spaceMd,
65
67
  iconPaddingLeft: semantic.spacing.spaceMd,
@@ -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.interactive.action.primaryOnColor.base,
30
+ borderColor: semantic.color.stroke.muted,
31
+ textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
32
+ minimizedminWidth: "6.5rem",
33
+ toggleTransition: "300ms",
34
+ minWidth: "16rem",
35
+ margin: semantic.spacing.spaceMd,
36
+ minimizedMargin: "0.375rem",
37
+ boxShadow: {
38
+ 0: {
39
+ x: "0rem",
40
+ y: "0.0625rem",
41
+ blur: "0.125rem",
42
+ spread: "0rem",
43
+ color: semantic.color.dropShadow.shadowColor1,
44
+ type: "dropShadow",
45
+ },
46
+ 1: {
47
+ x: "0rem",
48
+ y: "0.125rem",
49
+ blur: "0.25rem",
50
+ spread: "0.125rem",
51
+ color: semantic.color.dropShadow.shadowColor2,
52
+ type: "dropShadow",
53
+ },
54
+ },
55
+ borderRadius: semantic.borderRadius.lg,
56
+ minimizedBorderRadius: semantic.borderRadius.container.sm,
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: "0.75rem",
29
+ borderRadiusBaseMd: semantic.borderRadius.container.md,
30
+ borderRadiusBaseLg: semantic.borderRadius.container.md,
31
+ paddingBaseSm: semantic.spacing.padding.container.xs,
32
+ paddingBaseMd: semantic.spacing.padding.container.sm,
33
+ paddingBaseLg: semantic.spacing.padding.container.md,
34
+ boxShadow: {
35
+ 0: {
36
+ x: semantic.dropShadow.x.elevation1.dropshadow1,
37
+ y: semantic.dropShadow.y.elevation1.dropshadow1,
38
+ blur: semantic.dropShadow.blur.elevation1.dropshadow1,
39
+ spread: semantic.dropShadow.spread.elevation1.dropshadow1,
40
+ color: semantic.color.dropShadow.shadowColor1,
41
+ type: "dropShadow",
42
+ },
43
+ 1: {
44
+ x: semantic.dropShadow.x.elevation1.dropshadow1,
45
+ y: semantic.dropShadow.y.elevation1.dropshadow2,
46
+ blur: semantic.dropShadow.blur.elevation1.dropshadow2,
47
+ spread: semantic.dropShadow.spread.elevation1.dropshadow2,
48
+ color: semantic.color.dropShadow.shadowColor2,
49
+ type: "dropShadow",
50
+ },
51
+ },
52
+ backgroundColor: semantic.color.background.container,
53
+ breakpointMd: "20rem",
54
+ breakpointLg: "40rem",
55
+ imgTextGapSm: semantic.spacing.gap.cards.md,
56
+ imgTextGapMd: "1.25rem",
57
+ imgTextGapLg: semantic.spacing.gap.cards.lg,
58
+ imgBorderRadiusSm: semantic.borderRadius.md,
59
+ imgBorderRadiusMd: semantic.borderRadius.lg,
60
+ imgBorderRadiusLg: semantic.borderRadius.lg,
61
+ titleContentGapSm: semantic.spacing.spaceSm,
62
+ titleContentGapMd: semantic.spacing.spaceSm,
63
+ titleContentGapLg: semantic.spacing.spaceSm,
64
+ imgAspectRatio: 1.77778,
65
+ })
66
+ export default imageCard
@@ -0,0 +1,33 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const mainNav = (semantic: Semantics) => ({
28
+ margin: "0.75rem",
29
+ minimizedMargin: "0rem",
30
+ gap: semantic.spacing.padding.container.xxs,
31
+ navItemsGap: semantic.spacing.spaceXs,
32
+ })
33
+ export default mainNav
@@ -0,0 +1,43 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const mainNavAccountItem = (semantic: Semantics) => ({
28
+ backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
29
+ fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
30
+ innerFocusOutlineColor: semantic.color.transparentColor,
31
+ outerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
32
+ hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
33
+ currentBackgroundColor: semantic.color.institutional.brandPrimary,
34
+ selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
35
+ currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
36
+ selectedInnerFocusOutlineColor: semantic.color.transparentColor,
37
+ selectedOuterFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
38
+ padding: semantic.spacing.padding.container.xxs,
39
+ borderRadius: semantic.borderRadius.container.sm,
40
+ borderColor: semantic.color.stroke.muted,
41
+ minimizedItemSize: "2.75rem",
42
+ })
43
+ export default mainNavAccountItem
@@ -0,0 +1,33 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const mainNavInstitutionLogo = (semantic: Semantics) => ({
28
+ textColor: semantic.color.text.base,
29
+ strokeColor: semantic.color.stroke.muted,
30
+ padding: semantic.spacing.spaceSm,
31
+ gap: semantic.spacing.spaceMd,
32
+ })
33
+ export default mainNavInstitutionLogo
@@ -0,0 +1,49 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const mainNavItem = (semantic: Semantics) => ({
28
+ horizontalPadding: semantic.spacing.spaceSm,
29
+ verticalPadding: "0.25rem",
30
+ iconWrapperHeight: "2.25rem",
31
+ minimizedItemSize: "2.75rem",
32
+ borderRadius: semantic.borderRadius.md,
33
+ backgroundColor: semantic.color.institutional.brandGlobalNavBgd,
34
+ fontColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
35
+ fontFamily: semantic.fontFamily.base,
36
+ fontSize: semantic.fontSize.textBase,
37
+ fontWeight: semantic.fontWeight.body.base,
38
+ innerFocusOutlineColor: semantic.color.transparentColor,
39
+ outerFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
40
+ hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
41
+ lineHeight: semantic.lineHeight.paragraph.base,
42
+ linkTextDecoration: "none",
43
+ currentBackgroundColor: semantic.color.institutional.brandPrimary,
44
+ selectedBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
45
+ currentTextColor: semantic.color.institutional.brandGlobalNavMenuItemTextColorActive,
46
+ selectedInnerFocusOutlineColor: semantic.color.transparentColor,
47
+ selectedOuterFocusOutlineColor: semantic.color.stroke.interactive.focusRing.base,
48
+ })
49
+ export default mainNavItem
@@ -28,7 +28,6 @@ const pill = (semantic: Semantics) => ({
28
28
  paddingHorizontal: semantic.spacing.spaceSm,
29
29
  paddingHorizontalMedium: semantic.spacing.spaceMd,
30
30
  paddingHorizontalLarge: semantic.spacing.spaceMd,
31
- paddingVertical: semantic.spacing.spaceXs,
32
31
  gapIconLabel: semantic.spacing.spaceXs,
33
32
  gapIconLabelMedium: semantic.spacing.spaceSm,
34
33
  gapIconLabelLarge: semantic.spacing.spaceSm,
@@ -41,7 +40,7 @@ const pill = (semantic: Semantics) => ({
41
40
  textFontSizeMedium: semantic.fontSize.textSm,
42
41
  textFontSizeLarge: semantic.fontSize.textBase,
43
42
  textFontWeight: semantic.fontWeight.body.base,
44
- statusLabelFontWeight: semantic.fontWeight.body.base,
43
+ statusLabelFontWeight: semantic.fontWeight.body.strong,
45
44
  maxWidth: "240px",
46
45
  baseBorderColor: { value: semantic.color.stroke.strong, modify: { type: "alpha", value: 0.2, space: "hsl" } },
47
46
  baseTextColor: semantic.color.text.base,
@@ -83,6 +82,8 @@ const pill = (semantic: Semantics) => ({
83
82
  borderRadius: semantic.borderRadius.full,
84
83
  borderWidth: semantic.borderWidth.sm,
85
84
  lineHeight: semantic.lineHeight.standalone.textSm,
85
+ lineHeightMedium: semantic.lineHeight.standalone.textBase,
86
+ lineHeightLarge: semantic.lineHeight.standalone.textLg,
86
87
  fontFamily: semantic.fontFamily.base,
87
88
  borderStyle: "solid",
88
89
  })
@@ -0,0 +1,34 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const stepItem = (semantic: Semantics) => ({
28
+ stepStrokeFilledColor: semantic.color.stroke.info,
29
+ stepStrokeColor: semantic.color.stroke.base,
30
+ stepStrokeFilledWidth: semantic.borderWidth.lg,
31
+ stepStrokeWidth: semantic.borderWidth.md,
32
+ stepStrokeRadius: semantic.borderRadius.xs,
33
+ })
34
+ export default stepItem
@@ -0,0 +1,48 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const stepper = (semantic: Semantics) => ({
28
+ stepGap: semantic.spacing.spaceSm,
29
+ stepContentGap: semantic.spacing.spaceSm,
30
+ stepPaddingInlineEnd: semantic.spacing.spaceLg,
31
+ stepPaddingBlockEnd: semantic.spacing.spaceXl,
32
+ currentStepTextGap: semantic.spacing.spaceXs,
33
+ compactStrokeFilledColor: semantic.color.stroke.info,
34
+ compactStrokeColor: semantic.color.stroke.base,
35
+ compactStrokeErrorColor: semantic.color.stroke.error,
36
+ compactStrokeGap: semantic.spacing.spaceSm,
37
+ compactStrokeHeight: semantic.borderWidth.lg,
38
+ compactStrokeRadius: semantic.borderRadius.xs,
39
+ mobileToggleBackground: {
40
+ value: semantic.color.background.interactive.action.secondary.base,
41
+ modify: { type: "alpha", value: 0.2, space: "hsl" },
42
+ },
43
+ mobileToggleBorderRadius: semantic.borderRadius.interactive.base,
44
+ mobileTogglePaddingHorizontal: semantic.spacing.padding.interactive.horizontal.lg,
45
+ mobileTogglePaddingVertical: semantic.spacing.spaceSm,
46
+ mobileToggleContentGap: semantic.spacing.spaceSm,
47
+ })
48
+ export default stepper
@@ -0,0 +1,37 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const subNav = (semantic: Semantics) => ({
28
+ strokeColor: semantic.color.stroke.muted,
29
+ textColor: semantic.color.text.base,
30
+ padding: semantic.spacing.spaceMd,
31
+ gap: semantic.spacing.spaceSm,
32
+ navItemsGap: semantic.spacing.spaceXs,
33
+ minimizedVerticalPadding: "1.625rem",
34
+ minimizedWidth: "2rem",
35
+ minimizedHoverWidth: "2.25rem",
36
+ })
37
+ export default subNav
@@ -0,0 +1,39 @@
1
+ /*
2
+ * The MIT License (MIT)
3
+ *
4
+ * Copyright (c) 2015 - present Instructure, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import type { Semantics } from "../semantics"
26
+
27
+ const subNavItem = (semantic: Semantics) => ({
28
+ backgroundColor: semantic.color.transparentColor,
29
+ hoverBackgroundColor: semantic.color.background.interactive.action.tertiary.hover,
30
+ activeBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
31
+ selectedBackgroundColor: semantic.color.background.brand,
32
+ textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
33
+ selectedTextColor: semantic.color.text.inverse,
34
+ logoutTextColor: semantic.color.text.error,
35
+ borderRadius: semantic.borderRadius.lg,
36
+ padding: semantic.spacing.spaceSm,
37
+ gap: semantic.spacing.spaceSm,
38
+ })
39
+ export default subNavItem