@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,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.muted,
33
+ textColor: semantic.color.text.base,
34
+ padding: semantic.spacing.spaceMd,
35
+ gap: semantic.spacing.spaceSm,
36
+ navItemsGap: semantic.spacing.spaceXs,
37
+ minimizedVerticalPadding: "1.625rem",
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.tertiary.hover,
34
+ activeBackgroundColor: semantic.color.background.interactive.action.tertiary.active,
35
+ selectedBackgroundColor: semantic.color.background.brand,
36
+ textColor: semantic.color.institutional.brandGlobalNavMenuItemTextColor,
37
+ selectedTextColor: semantic.color.text.inverse,
38
+ logoutTextColor: semantic.color.text.error,
39
+ borderRadius: semantic.borderRadius.lg,
40
+ padding: semantic.spacing.spaceSm,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-themes",
3
- "version": "11.7.10",
3
+ "version": "11.7.11-snapshot-4",
4
4
  "description": "A library of instructure themes",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -14,12 +14,12 @@
14
14
  "bugs": "https://github.com/instructure/instructure-ui/issues",
15
15
  "license": "MIT",
16
16
  "devDependencies": {
17
- "@instructure/ui-babel-preset": "11.7.10",
17
+ "@instructure/ui-babel-preset": "11.7.11-snapshot-4",
18
18
  "vitest": "^5.0.0"
19
19
  },
20
20
  "dependencies": {
21
21
  "@babel/runtime": "^7.29.7",
22
- "@instructure/shared-types": "11.7.10",
22
+ "@instructure/shared-types": "11.7.11-snapshot-4",
23
23
  "@tokens-studio/types": "^0.5.2"
24
24
  },
25
25
  "publishConfig": {
@@ -52,6 +52,8 @@ export type Alert = {
52
52
  warningBorderColor: string
53
53
  warningBorderColorInline: string
54
54
  warningIconBackground: string
55
+ textOnColor: string
56
+ textBase: string
55
57
  contentPaddingVertical: string
56
58
  contentPaddingHorizontal: string
57
59
  iconPaddingLeft: string
@@ -24,7 +24,7 @@
24
24
 
25
25
  import type { TokenBoxshadowValueInst } from "../commonTypes"
26
26
 
27
- export type SideNavBarNew = {
27
+ export type GlobalNav = {
28
28
  backgroundColor: string
29
29
  fill: string
30
30
  borderColor: string
@@ -34,51 +34,11 @@ export type SideNavBarNew = {
34
34
  minWidth: string
35
35
  margin: string
36
36
  minimizedMargin: string
37
- mainNavMargin: string
38
- mainNavMinimizedMargin: string
39
- mainNavGap: string
40
- navItemsGap: string
41
37
  /** Do not use this for other components */
42
38
  boxShadow: { "0": TokenBoxshadowValueInst; "1": TokenBoxshadowValueInst }
43
39
  borderRadius: string
44
40
  minimizedBorderRadius: string
45
41
  borderWidth: string
46
- item: {
47
- horizontalPadding: string
48
- verticalPadding: string
49
- iconWrapperHeight: string
50
- borderRadius: string
51
- backgroundColor: string
52
- fontColor: string
53
- fontFamily: string
54
- fontSize: string
55
- fontWeight: string | number
56
- innerFocusOutlineColor: string
57
- outerFocusOutlineColor: string
58
- hoverBackgroundColor: string
59
- lineHeight: string | number
60
- linkTextDecoration: string | number
61
- currentBackgroundColor: string
62
- selectedBackgroundColor: string
63
- currentTextColor: string
64
- selectedAccountBackgroundColor: string
65
- selectedAccountFontColor: string
66
- selectedInnerFocusOutlineColor: string
67
- selectedOuterFocusOutlineColor: string
68
- }
69
- drilldownOption: {
70
- backgroundColor: string
71
- hoverBackgroundColor: string
72
- activeBackgroundColor: string
73
- selectedBackgroundColor: string
74
- textColor: string
75
- selectedTextColor: string
76
- logoutTextColor: string
77
- borderRadius: string
78
- }
79
- button: { textColor: string }
80
- subNav: { strokeColor: string; textColor: string; padding: string; gap: string }
81
- institutionLogo: { textColor: string; strokeColor: string; padding: string; gap: string }
82
42
  }
83
43
 
84
- export default SideNavBarNew
44
+ export default GlobalNav
@@ -0,0 +1,51 @@
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 { TokenBoxshadowValueInst } from "../commonTypes"
26
+
27
+ export type ImageCard = {
28
+ borderRadiusBaseSm: string
29
+ borderRadiusBaseMd: string
30
+ borderRadiusBaseLg: string
31
+ paddingBaseSm: string
32
+ paddingBaseMd: string
33
+ paddingBaseLg: string
34
+ /** Elevated base surfaces: Persistent UI and everyday interactive surfaces like navigation, cards, inputs, and buttons. */
35
+ boxShadow: { "0": TokenBoxshadowValueInst; "1": TokenBoxshadowValueInst }
36
+ backgroundColor: string
37
+ breakpointMd: string
38
+ breakpointLg: string
39
+ imgTextGapSm: string
40
+ imgTextGapMd: string
41
+ imgTextGapLg: string
42
+ imgBorderRadiusSm: string
43
+ imgBorderRadiusMd: string
44
+ imgBorderRadiusLg: string
45
+ titleContentGapSm: string
46
+ titleContentGapMd: string
47
+ titleContentGapLg: string
48
+ imgAspectRatio: number
49
+ }
50
+
51
+ export default ImageCard
@@ -51,15 +51,21 @@ import type FileDrop from "./fileDrop"
51
51
  import type Flex from "./flex"
52
52
  import type FormFieldLayout from "./formFieldLayout"
53
53
  import type FormFieldMessage from "./formFieldMessage"
54
+ import type GlobalNav from "./globalNav"
54
55
  import type GridCol from "./gridCol"
55
56
  import type GridRow from "./gridRow"
56
57
  import type Heading from "./heading"
57
58
  import type Icon from "./icon"
59
+ import type ImageCard from "./imageCard"
58
60
  import type Img from "./img"
59
61
  import type InlineListItem from "./inlineListItem"
60
62
  import type Link from "./link"
61
63
  import type List from "./list"
62
64
  import type ListItem from "./listItem"
65
+ import type MainNav from "./mainNav"
66
+ import type MainNavAccountItem from "./mainNavAccountItem"
67
+ import type MainNavInstitutionLogo from "./mainNavInstitutionLogo"
68
+ import type MainNavItem from "./mainNavItem"
63
69
  import type Mask from "./mask"
64
70
  import type Menu from "./menu"
65
71
  import type MenuGroup from "./menuGroup"
@@ -90,11 +96,14 @@ import type SegmentedControl from "./segmentedControl"
90
96
  import type Select from "./select"
91
97
  import type SideNavBar from "./sideNavBar"
92
98
  import type SideNavBarItem from "./sideNavBarItem"
93
- import type SideNavBarNew from "./sideNavBarNew"
94
99
  import type SkeletonLoader from "./skeletonLoader"
95
100
  import type Slider from "./slider"
96
101
  import type SourceCodeEditor from "./sourceCodeEditor"
97
102
  import type Spinner from "./spinner"
103
+ import type StepItem from "./stepItem"
104
+ import type Stepper from "./stepper"
105
+ import type SubNav from "./subNav"
106
+ import type SubNavItem from "./subNavItem"
98
107
  import type Table from "./table"
99
108
  import type TableBody from "./tableBody"
100
109
  import type TableCell from "./tableCell"
@@ -155,15 +164,21 @@ type ComponentTypes = {
155
164
  Flex: (semantic: any) => Flex
156
165
  FormFieldLayout: (semantic: any) => FormFieldLayout
157
166
  FormFieldMessage: (semantic: any) => FormFieldMessage
167
+ GlobalNav: (semantic: any) => GlobalNav
158
168
  GridCol: (semantic: any) => GridCol
159
169
  GridRow: (semantic: any) => GridRow
160
170
  Heading: (semantic: any) => Heading
161
171
  Icon: (semantic: any) => Icon
172
+ ImageCard: (semantic: any) => ImageCard
162
173
  Img: (semantic: any) => Img
163
174
  InlineListItem: (semantic: any) => InlineListItem
164
175
  Link: (semantic: any) => Link
165
176
  List: (semantic: any) => List
166
177
  ListItem: (semantic: any) => ListItem
178
+ MainNav: (semantic: any) => MainNav
179
+ MainNavAccountItem: (semantic: any) => MainNavAccountItem
180
+ MainNavInstitutionLogo: (semantic: any) => MainNavInstitutionLogo
181
+ MainNavItem: (semantic: any) => MainNavItem
167
182
  Mask: (semantic: any) => Mask
168
183
  Menu: (semantic: any) => Menu
169
184
  MenuGroup: (semantic: any) => MenuGroup
@@ -194,11 +209,14 @@ type ComponentTypes = {
194
209
  Select: (semantic: any) => Select
195
210
  SideNavBar: (semantic: any) => SideNavBar
196
211
  SideNavBarItem: (semantic: any) => SideNavBarItem
197
- SideNavBarNew: (semantic: any) => SideNavBarNew
198
212
  SkeletonLoader: (semantic: any) => SkeletonLoader
199
213
  Slider: (semantic: any) => Slider
200
214
  SourceCodeEditor: (semantic: any) => SourceCodeEditor
201
215
  Spinner: (semantic: any) => Spinner
216
+ StepItem: (semantic: any) => StepItem
217
+ Stepper: (semantic: any) => Stepper
218
+ SubNav: (semantic: any) => SubNav
219
+ SubNavItem: (semantic: any) => SubNavItem
202
220
  Table: (semantic: any) => Table
203
221
  TableBody: (semantic: any) => TableBody
204
222
  TableCell: (semantic: any) => TableCell
@@ -0,0 +1,27 @@
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 MainNav = { margin: string; minimizedMargin: string; gap: string; navItemsGap: string }
26
+
27
+ export default MainNav
@@ -0,0 +1,42 @@
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 MainNavAccountItem = {
26
+ backgroundColor: string
27
+ fontColor: string
28
+ innerFocusOutlineColor: string
29
+ outerFocusOutlineColor: string
30
+ hoverBackgroundColor: string
31
+ currentBackgroundColor: string
32
+ selectedBackgroundColor: string
33
+ currentTextColor: string
34
+ selectedInnerFocusOutlineColor: string
35
+ selectedOuterFocusOutlineColor: string
36
+ padding: string
37
+ borderRadius: string
38
+ borderColor: string
39
+ minimizedItemSize: string
40
+ }
41
+
42
+ export default MainNavAccountItem
@@ -0,0 +1,27 @@
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 MainNavInstitutionLogo = { textColor: string; strokeColor: string; padding: string; gap: string }
26
+
27
+ export default MainNavInstitutionLogo
@@ -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
+ export type MainNavItem = {
26
+ horizontalPadding: string
27
+ verticalPadding: string
28
+ iconWrapperHeight: string
29
+ minimizedItemSize: string
30
+ borderRadius: string
31
+ backgroundColor: string
32
+ fontColor: string
33
+ fontFamily: string
34
+ fontSize: string
35
+ fontWeight: string | number
36
+ innerFocusOutlineColor: string
37
+ outerFocusOutlineColor: string
38
+ hoverBackgroundColor: string
39
+ lineHeight: string | number
40
+ linkTextDecoration: string | number
41
+ currentBackgroundColor: string
42
+ selectedBackgroundColor: string
43
+ currentTextColor: string
44
+ selectedInnerFocusOutlineColor: string
45
+ selectedOuterFocusOutlineColor: string
46
+ }
47
+
48
+ export default MainNavItem
@@ -26,7 +26,6 @@ export type Pill = {
26
26
  paddingHorizontal: string
27
27
  paddingHorizontalMedium: string
28
28
  paddingHorizontalLarge: string
29
- paddingVertical: string
30
29
  gapIconLabel: string
31
30
  gapIconLabelMedium: string
32
31
  gapIconLabelLarge: string
@@ -81,6 +80,8 @@ export type Pill = {
81
80
  borderRadius: string
82
81
  borderWidth: string
83
82
  lineHeight: string | number
83
+ lineHeightMedium: string | number
84
+ lineHeightLarge: string | number
84
85
  fontFamily: string
85
86
  borderStyle: string
86
87
  }
@@ -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
+ export type StepItem = {
26
+ stepStrokeFilledColor: string
27
+ stepStrokeColor: string
28
+ stepStrokeFilledWidth: string
29
+ stepStrokeWidth: string
30
+ stepStrokeRadius: string
31
+ }
32
+
33
+ export default StepItem