@innovaccer/design-system 2.7.0 → 2.9.0-0

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 (427) hide show
  1. package/.github/workflows/chromatic.yml +3 -1
  2. package/.github/workflows/docs_pull_request.yml +20 -0
  3. package/.github/workflows/main.yml +1 -1
  4. package/.github/workflows/manual.yml +1 -1
  5. package/.github/workflows/pull_request.yml +1 -1
  6. package/.github/workflows/test.yml +1 -1
  7. package/CHANGELOG.md +68 -0
  8. package/README.md +6 -0
  9. package/core/components/atoms/_chip/__tests__/__snapshots__/_chip.test.tsx.snap +8 -8
  10. package/core/components/atoms/_chip/index.tsx +1 -1
  11. package/core/components/atoms/avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +20 -0
  12. package/core/components/atoms/avatarGroup/AvatarCount.tsx +29 -0
  13. package/core/components/atoms/avatarGroup/AvatarGroup.tsx +16 -62
  14. package/core/components/atoms/avatarGroup/AvatarPopperBody.tsx +37 -0
  15. package/core/components/atoms/avatarGroup/Avatars.tsx +23 -0
  16. package/core/components/atoms/avatarGroup/__stories__/index.story.tsx +41 -0
  17. package/core/components/atoms/avatarGroup/__tests__/AvatarGroup.test.tsx +1 -1
  18. package/core/components/atoms/avatarGroup/__tests__/__snapshots__/AvatarGroup.test.tsx.snap +8 -4
  19. package/core/components/atoms/button/Button.tsx +1 -2
  20. package/core/components/atoms/checkbox/__stories__/Group.story.tsx +1 -1
  21. package/core/components/atoms/checkbox/__stories__/Nested.story.tsx +2 -0
  22. package/core/components/atoms/chip/__tests__/__snapshots__/Chip.test.tsx.snap +11 -11
  23. package/core/components/atoms/chipGroup/__tests__/__snapshots__/chipGroup.test.tsx.snap +4 -4
  24. package/core/components/atoms/dropdown/DropdownButton.tsx +1 -1
  25. package/core/components/atoms/dropdown/DropdownList.tsx +56 -29
  26. package/core/components/atoms/dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +29 -2
  27. package/core/components/atoms/popperWrapper/PopperWrapper.tsx +104 -12
  28. package/core/components/atoms/toast/__stories__/WithDescription.story.tsx +3 -1
  29. package/core/components/css-utilities/designTokens/Data.tsx +18 -0
  30. package/core/components/css-utilities/designTokens/Transitions.story.tsx +37 -0
  31. package/core/components/molecules/chipInput/__tests__/__snapshots__/ChipInput.test.tsx.snap +4 -4
  32. package/core/components/molecules/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +260 -195
  33. package/core/components/molecules/editableChipInput/__tests__/__snapshots__/EditableChipInput.test.tsx.snap +4 -4
  34. package/core/components/molecules/editableDropdown/__tests__/__snapshots__/EditableDropdown.test.tsx.snap +1 -0
  35. package/core/components/molecules/fullscreenModal/FullscreenModal.tsx +13 -12
  36. package/core/components/molecules/fullscreenModal/__tests__/Fullscreen.test.tsx +2 -5
  37. package/core/components/molecules/fullscreenModal/__tests__/__snapshots__/Fullscreen.test.tsx.snap +126 -96
  38. package/core/components/molecules/modal/Modal.tsx +11 -9
  39. package/core/components/molecules/modal/__tests__/__snapshots__/Modal.test.tsx.snap +240 -180
  40. package/core/components/molecules/popover/Popover.tsx +9 -0
  41. package/core/components/molecules/popover/__tests__/__snapshots__/Popover.test.tsx.snap +16 -8
  42. package/core/components/molecules/sidesheet/Sidesheet.tsx +23 -22
  43. package/core/components/molecules/sidesheet/__tests__/__snapshots__/Sidesheet.test.tsx.snap +40 -30
  44. package/core/components/molecules/tooltip/Tooltip.tsx +20 -1
  45. package/core/components/molecules/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +8 -0
  46. package/core/components/organisms/calendar/__tests__/__snapshots__/Calendar.test.tsx.snap +8 -8
  47. package/core/components/organisms/datePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +14 -13
  48. package/core/components/organisms/dateRangePicker/__tests__/__snapshots__/DateRangePicker.test.tsx.snap +42 -30
  49. package/core/components/organisms/grid/GridBody.tsx +1 -2
  50. package/core/components/organisms/table/Table.tsx +0 -1
  51. package/core/components/organisms/table/__stories__/NestedTableWithNestedCard.story.tsx +2 -2
  52. package/core/components/organisms/table/__tests__/__snapshots__/Table.test.tsx.snap +1544 -0
  53. package/core/components/organisms/verticalNav/MenuItem.tsx +6 -2
  54. package/core/components/organisms/verticalNav/VerticalNav.tsx +8 -2
  55. package/core/components/organisms/verticalNav/__stories__/CustomItemsRenderer.story.tsx +238 -0
  56. package/core/utils/__tests__/__snapshots__/TS.test.tsx.snap +168 -3
  57. package/css/dist/index.css +300 -62
  58. package/css/dist/index.css.map +1 -1
  59. package/css/src/components/ProgressBar.css +1 -1
  60. package/css/src/components/avatarGroup.css +0 -9
  61. package/css/src/components/button.css +4 -4
  62. package/css/src/components/chip.css +4 -0
  63. package/css/src/components/dropdown.css +5 -9
  64. package/css/src/components/dropdownButton.css +2 -0
  65. package/css/src/components/fullscreenModal.css +0 -5
  66. package/css/src/components/grid.css +0 -11
  67. package/css/src/components/overlay.css +0 -11
  68. package/css/src/components/popover.css +12 -0
  69. package/css/src/components/slider.css +1 -0
  70. package/css/src/components/tabs.css +1 -1
  71. package/css/src/components/textarea.css +0 -11
  72. package/css/src/components/tooltip.css +115 -0
  73. package/css/src/components/verticalNav.css +2 -0
  74. package/css/src/core/animation.css +8 -0
  75. package/css/src/core/utilities.css +11 -0
  76. package/css/src/utils/utility.css +4 -0
  77. package/css/src/variables/index.css +19 -0
  78. package/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts +2 -0
  79. package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -2
  80. package/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts +2 -0
  81. package/dist/core/components/atoms/avatarGroup/Avatars.d.ts +2 -0
  82. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +61 -54
  83. package/dist/core/components/css-utilities/designTokens/Data.d.ts +8 -0
  84. package/dist/core/components/css-utilities/designTokens/Transitions.story.d.ts +12 -0
  85. package/dist/core/components/molecules/popover/Popover.d.ts +4 -0
  86. package/dist/core/components/molecules/sidesheet/Sidesheet.d.ts +1 -0
  87. package/dist/core/components/organisms/verticalNav/MenuItem.d.ts +1 -0
  88. package/dist/core/components/organisms/verticalNav/VerticalNav.d.ts +2 -0
  89. package/dist/index.esm.js +278 -142
  90. package/dist/index.js +282 -149
  91. package/dist/index.js.map +1 -1
  92. package/dist/index.umd.js +1 -1
  93. package/dist/index.umd.js.br +0 -0
  94. package/dist/index.umd.js.gz +0 -0
  95. package/docs/.eslintrc.json +1 -0
  96. package/docs/.unotes/templates/title_date.hbs +4 -0
  97. package/docs/.unotes/unotes_meta.json +302 -0
  98. package/docs/LICENSE +21 -0
  99. package/docs/README.md +31 -0
  100. package/docs/gatsby-browser.js +6 -0
  101. package/docs/gatsby-config.js +171 -0
  102. package/docs/gatsby-node.js +75 -0
  103. package/docs/index.js +1 -0
  104. package/docs/package.json +54 -0
  105. package/docs/src/components/Colors/Colors.css +19 -0
  106. package/docs/src/components/Colors/Colors.js +82 -0
  107. package/docs/src/components/Container/ComponentsContainer.js +75 -0
  108. package/docs/src/components/Container/Container.js +114 -0
  109. package/docs/src/components/Container/index.js +3 -0
  110. package/docs/src/components/Footer/Footer.css +7 -0
  111. package/docs/src/components/Footer/Footer.js +40 -0
  112. package/docs/src/components/Header/Header.css +32 -0
  113. package/docs/src/components/Header/Header.js +60 -0
  114. package/docs/src/components/Header/index.js +3 -0
  115. package/docs/src/components/LastModifiedDate/LastModifiedDate.js +24 -0
  116. package/docs/src/components/LastModifiedDate/index.js +3 -0
  117. package/docs/src/components/Layout.js +291 -0
  118. package/docs/src/components/LeftNav/LeftNav.js +101 -0
  119. package/docs/src/components/LeftNav/index.js +3 -0
  120. package/docs/src/components/Logos/Logos.css +29 -0
  121. package/docs/src/components/Logos/Logos.js +64 -0
  122. package/docs/src/components/Meta.js +101 -0
  123. package/docs/src/components/PropsTable/ArgJsDoc.tsx +102 -0
  124. package/docs/src/components/PropsTable/ArgRow.tsx +142 -0
  125. package/docs/src/components/PropsTable/ArgValue.tsx +182 -0
  126. package/docs/src/components/PropsTable/EmptyBlock.tsx +22 -0
  127. package/docs/src/components/PropsTable/SectionRow.tsx +126 -0
  128. package/docs/src/components/PropsTable/Shared.tsx +53 -0
  129. package/docs/src/components/PropsTable/Table.tsx +463 -0
  130. package/docs/src/components/PropsTable/card.css +7 -0
  131. package/docs/src/components/PropsTable/generateImports.tsx +20 -0
  132. package/docs/src/components/PropsTable/index.js +248 -0
  133. package/docs/src/components/PropsTable/prism.css +146 -0
  134. package/docs/src/components/PropsTable/sandbox.tsx +81 -0
  135. package/docs/src/components/PropsTable/theme.js +53 -0
  136. package/docs/src/components/PropsTable/types.tsx +44 -0
  137. package/docs/src/components/Rules/DONTs.js +13 -0
  138. package/docs/src/components/Rules/DOs.js +13 -0
  139. package/docs/src/components/Rules/IconWrapper.js +18 -0
  140. package/docs/src/components/Rules/InlineMessage.js +11 -0
  141. package/docs/src/components/Rules/Rules.css +17 -0
  142. package/docs/src/components/Rules/Rules.js +39 -0
  143. package/docs/src/components/TableOfContent/TableOfContent.css +37 -0
  144. package/docs/src/components/TableOfContent/TableOfContent.js +126 -0
  145. package/docs/src/components/css/global.css +15 -0
  146. package/docs/src/components/css/prism.css +38 -0
  147. package/docs/src/components/css/style.css +97 -0
  148. package/docs/src/components/templates/Default.js +24 -0
  149. package/docs/src/components/templates/Homepage.js +13 -0
  150. package/docs/src/data/components/images/Avatars.png +0 -0
  151. package/docs/src/data/components/images/Datepicker.png +0 -0
  152. package/docs/src/data/components/images/EditableChipInput.png +0 -0
  153. package/docs/src/data/components/images/Modal.png +0 -0
  154. package/docs/src/data/components/images/Sidesheet.png +0 -0
  155. package/docs/src/data/components/images/Table.png +0 -0
  156. package/docs/src/data/components/index.js +285 -0
  157. package/docs/src/data/footer-items.yaml +16 -0
  158. package/docs/src/data/header-items.yaml +20 -0
  159. package/docs/src/data/home-menu.yaml +23 -0
  160. package/docs/src/data/home-resources.yaml +14 -0
  161. package/docs/src/data/nav/components.yaml +45 -0
  162. package/docs/src/data/nav/content.yaml +25 -0
  163. package/docs/src/data/nav/default.yaml +11 -0
  164. package/docs/src/data/nav/foundations.yaml +22 -0
  165. package/docs/src/data/nav/guide-items.yaml +6 -0
  166. package/docs/src/data/nav/introduction.yaml +11 -0
  167. package/docs/src/data/storybook.json +345189 -0
  168. package/docs/src/pages/404.js +31 -0
  169. package/docs/src/pages/components/avatar/code.mdx +14 -0
  170. package/docs/src/pages/components/avatar/images/avatar-1.png +0 -0
  171. package/docs/src/pages/components/avatar/images/avatar-2.png +0 -0
  172. package/docs/src/pages/components/avatar/images/avatar-3.png +0 -0
  173. package/docs/src/pages/components/avatar/images/avatar-4.png +0 -0
  174. package/docs/src/pages/components/avatar/images/avatar-5.png +0 -0
  175. package/docs/src/pages/components/avatar/usage.mdx +53 -0
  176. package/docs/src/pages/components/badges/code.mdx +15 -0
  177. package/docs/src/pages/components/badges/images/badges-1.png +0 -0
  178. package/docs/src/pages/components/badges/images/badges-2.png +0 -0
  179. package/docs/src/pages/components/badges/usage.mdx +43 -0
  180. package/docs/src/pages/components/breadcrumbs/code.mdx +15 -0
  181. package/docs/src/pages/components/breadcrumbs/usage.mdx +30 -0
  182. package/docs/src/pages/components/button/code.mdx +18 -0
  183. package/docs/src/pages/components/button/content.mdx +652 -0
  184. package/docs/src/pages/components/button/images/buttons-1.png +0 -0
  185. package/docs/src/pages/components/button/images/buttons-2.png +0 -0
  186. package/docs/src/pages/components/button/usage.mdx +100 -0
  187. package/docs/src/pages/components/calendar/code.mdx +15 -0
  188. package/docs/src/pages/components/calendar/usage.mdx +9 -0
  189. package/docs/src/pages/components/card/code.mdx +15 -0
  190. package/docs/src/pages/components/card/usage.mdx +54 -0
  191. package/docs/src/pages/components/checkbox/code.mdx +16 -0
  192. package/docs/src/pages/components/checkbox/usage.mdx +49 -0
  193. package/docs/src/pages/components/chips/code.mdx +15 -0
  194. package/docs/src/pages/components/chips/usage.mdx +34 -0
  195. package/docs/src/pages/components/datePicker/code.mdx +7 -0
  196. package/docs/src/pages/components/datePicker/images/datePicker-1.png +0 -0
  197. package/docs/src/pages/components/datePicker/images/datePicker-2.png +0 -0
  198. package/docs/src/pages/components/datePicker/images/datePicker-3.png +0 -0
  199. package/docs/src/pages/components/datePicker/images/datePicker-4.png +0 -0
  200. package/docs/src/pages/components/datePicker/images/datePicker-5.png +0 -0
  201. package/docs/src/pages/components/datePicker/usage.mdx +58 -0
  202. package/docs/src/pages/components/index.mdx +7 -0
  203. package/docs/src/pages/components/message/code.mdx +16 -0
  204. package/docs/src/pages/components/message/usage.mdx +26 -0
  205. package/docs/src/pages/components/overview/index.mdx +6 -0
  206. package/docs/src/pages/components/overview/tabs/Overview.js +72 -0
  207. package/docs/src/pages/components/overview/tabs/all-components.mdx +10 -0
  208. package/docs/src/pages/components/overview/tabs/overview.css +30 -0
  209. package/docs/src/pages/components/overview/tabs/status.mdx +22 -0
  210. package/docs/src/pages/components/radio/code.mdx +17 -0
  211. package/docs/src/pages/components/radio/usage.mdx +126 -0
  212. package/docs/src/pages/components/sidesheet/code.mdx +8 -0
  213. package/docs/src/pages/components/sidesheet/interactions.mdx +8 -0
  214. package/docs/src/pages/components/sidesheet/usage.mdx +25 -0
  215. package/docs/src/pages/components/slider/code.mdx +15 -0
  216. package/docs/src/pages/components/slider/usage.mdx +49 -0
  217. package/docs/src/pages/components/statushint/code.mdx +15 -0
  218. package/docs/src/pages/components/statushint/usage.mdx +19 -0
  219. package/docs/src/pages/components/steppers/code.mdx +16 -0
  220. package/docs/src/pages/components/steppers/images/stepper-1.gif +0 -0
  221. package/docs/src/pages/components/steppers/images/stepper-2.png +0 -0
  222. package/docs/src/pages/components/steppers/images/stepper-3.png +0 -0
  223. package/docs/src/pages/components/steppers/images/stepper-4.png +0 -0
  224. package/docs/src/pages/components/steppers/images/stepper-5.png +0 -0
  225. package/docs/src/pages/components/steppers/images/stepper-6.png +0 -0
  226. package/docs/src/pages/components/steppers/interactions.mdx +28 -0
  227. package/docs/src/pages/components/steppers/usage.mdx +201 -0
  228. package/docs/src/pages/components/switch/code.mdx +16 -0
  229. package/docs/src/pages/components/switch/images/switch-1.gif +0 -0
  230. package/docs/src/pages/components/switch/images/switch-2.gif +0 -0
  231. package/docs/src/pages/components/switch/images/switch-3.png +0 -0
  232. package/docs/src/pages/components/switch/interactions.mdx +392 -0
  233. package/docs/src/pages/components/switch/usage.mdx +114 -0
  234. package/docs/src/pages/components/table/code.mdx +14 -0
  235. package/docs/src/pages/components/table/images/table-1.png +0 -0
  236. package/docs/src/pages/components/table/images/table-10.png +0 -0
  237. package/docs/src/pages/components/table/images/table-11.gif +0 -0
  238. package/docs/src/pages/components/table/images/table-12.png +0 -0
  239. package/docs/src/pages/components/table/images/table-13.png +0 -0
  240. package/docs/src/pages/components/table/images/table-14.png +0 -0
  241. package/docs/src/pages/components/table/images/table-15.png +0 -0
  242. package/docs/src/pages/components/table/images/table-16.png +0 -0
  243. package/docs/src/pages/components/table/images/table-17.png +0 -0
  244. package/docs/src/pages/components/table/images/table-18.png +0 -0
  245. package/docs/src/pages/components/table/images/table-19.png +0 -0
  246. package/docs/src/pages/components/table/images/table-2.png +0 -0
  247. package/docs/src/pages/components/table/images/table-20.png +0 -0
  248. package/docs/src/pages/components/table/images/table-21.png +0 -0
  249. package/docs/src/pages/components/table/images/table-22.png +0 -0
  250. package/docs/src/pages/components/table/images/table-23.png +0 -0
  251. package/docs/src/pages/components/table/images/table-24.png +0 -0
  252. package/docs/src/pages/components/table/images/table-25.png +0 -0
  253. package/docs/src/pages/components/table/images/table-26.png +0 -0
  254. package/docs/src/pages/components/table/images/table-27.png +0 -0
  255. package/docs/src/pages/components/table/images/table-28.png +0 -0
  256. package/docs/src/pages/components/table/images/table-29.png +0 -0
  257. package/docs/src/pages/components/table/images/table-3.png +0 -0
  258. package/docs/src/pages/components/table/images/table-30.png +0 -0
  259. package/docs/src/pages/components/table/images/table-4.png +0 -0
  260. package/docs/src/pages/components/table/images/table-5.png +0 -0
  261. package/docs/src/pages/components/table/images/table-6.png +0 -0
  262. package/docs/src/pages/components/table/images/table-7.png +0 -0
  263. package/docs/src/pages/components/table/images/table-8.png +0 -0
  264. package/docs/src/pages/components/table/images/table-9.png +0 -0
  265. package/docs/src/pages/components/table/interactions.mdx +97 -0
  266. package/docs/src/pages/components/table/usage.mdx +364 -0
  267. package/docs/src/pages/components/tabs/code.mdx +15 -0
  268. package/docs/src/pages/components/tabs/images/tabs-1.png +0 -0
  269. package/docs/src/pages/components/tabs/images/tabs-2.png +0 -0
  270. package/docs/src/pages/components/tabs/images/tabs-3.png +0 -0
  271. package/docs/src/pages/components/tabs/images/tabs-4.png +0 -0
  272. package/docs/src/pages/components/tabs/images/tabs-5.png +0 -0
  273. package/docs/src/pages/components/tabs/images/tabs-6.png +0 -0
  274. package/docs/src/pages/components/tabs/images/tabs-7.png +0 -0
  275. package/docs/src/pages/components/tabs/interactions.mdx +487 -0
  276. package/docs/src/pages/components/tabs/usage.mdx +164 -0
  277. package/docs/src/pages/components/toast/code.mdx +15 -0
  278. package/docs/src/pages/components/toast/images/toast-1.png +0 -0
  279. package/docs/src/pages/components/toast/images/toast-2.gif +0 -0
  280. package/docs/src/pages/components/toast/images/toast-3.gif +0 -0
  281. package/docs/src/pages/components/toast/images/toast-4.png +0 -0
  282. package/docs/src/pages/components/toast/images/toast-5.gif +0 -0
  283. package/docs/src/pages/components/toast/images/toast-6.gif +0 -0
  284. package/docs/src/pages/components/toast/interactions.mdx +218 -0
  285. package/docs/src/pages/components/toast/usage.mdx +156 -0
  286. package/docs/src/pages/components/tooltip/code.mdx +16 -0
  287. package/docs/src/pages/components/tooltip/images/Tooltip-1.png +0 -0
  288. package/docs/src/pages/components/tooltip/images/tooltip-2.gif +0 -0
  289. package/docs/src/pages/components/tooltip/images/tooltip-3.gif +0 -0
  290. package/docs/src/pages/components/tooltip/interactions.mdx +219 -0
  291. package/docs/src/pages/components/tooltip/usage.mdx +80 -0
  292. package/docs/src/pages/content/button-guidelines/index.mdx +7 -0
  293. package/docs/src/pages/content/button-guidelines/tabs/button-glossary.mdx +144 -0
  294. package/docs/src/pages/content/button-guidelines/tabs/confusing-buttons.mdx +184 -0
  295. package/docs/src/pages/content/email-guidelines.mdx +107 -0
  296. package/docs/src/pages/content/empty-states.mdx +8 -0
  297. package/docs/src/pages/content/error-messages.mdx +165 -0
  298. package/docs/src/pages/content/house-rules/tabs/basics.mdx +236 -0
  299. package/docs/src/pages/content/house-rules/tabs/date,-time-&-numbers.mdx +462 -0
  300. package/docs/src/pages/content/house-rules/tabs/grammer.mdx +744 -0
  301. package/docs/src/pages/content/house-rules/tabs/punctuations.mdx +666 -0
  302. package/docs/src/pages/content/placeholder-text.mdx +58 -0
  303. package/docs/src/pages/content/rules.mdx +136 -0
  304. package/docs/src/pages/content/voice-and-tone-guidelines/index.mdx +7 -0
  305. package/docs/src/pages/content/voice-and-tone-guidelines/tabs/usage.mdx +309 -0
  306. package/docs/src/pages/content/voice-and-tone-guidelines/tabs/voice-and-tone.mdx +38 -0
  307. package/docs/src/pages/contributions.mdx +16 -0
  308. package/docs/src/pages/foundations/colors.mdx +149 -0
  309. package/docs/src/pages/foundations/interactions.mdx +192 -0
  310. package/docs/src/pages/foundations/layout/images/baseline-grid.png +0 -0
  311. package/docs/src/pages/foundations/layout/images/grid-column.jpeg +0 -0
  312. package/docs/src/pages/foundations/layout/images/grid-layout.jpeg +0 -0
  313. package/docs/src/pages/foundations/layout/images/grid-margin.jpeg +0 -0
  314. package/docs/src/pages/foundations/layout/images/spacing.png +0 -0
  315. package/docs/src/pages/foundations/layout/images/typography.png +0 -0
  316. package/docs/src/pages/foundations/layout/index.mdx +151 -0
  317. package/docs/src/pages/foundations/logos.mdx +88 -0
  318. package/docs/src/pages/foundations/principles.mdx +60 -0
  319. package/docs/src/pages/foundations/response-time.mdx +124 -0
  320. package/docs/src/pages/foundations/typography.mdx +8 -0
  321. package/docs/src/pages/getting-started/index.mdx +9 -0
  322. package/docs/src/pages/guides/MDX.mdx +17 -0
  323. package/docs/src/pages/home/HomeBanner.png +0 -0
  324. package/docs/src/pages/home/homepage.css +23 -0
  325. package/docs/src/pages/index.js +241 -0
  326. package/docs/src/pages/introduction/get-started/designers.mdx +89 -0
  327. package/docs/src/pages/introduction/get-started/developers.mdx +128 -0
  328. package/docs/src/pages/introduction/what's-new.mdx +801 -0
  329. package/docs/src/pages/mobile/components/avatar/code.mdx +12 -0
  330. package/docs/src/pages/mobile/components/avatar/usage.mdx +20 -0
  331. package/docs/src/pages/mobile/components/badges/code.mdx +16 -0
  332. package/docs/src/pages/mobile/components/badges/usage.mdx +23 -0
  333. package/docs/src/pages/mobile/components/breadcrumbs/code.mdx +16 -0
  334. package/docs/src/pages/mobile/components/breadcrumbs/usage.mdx +34 -0
  335. package/docs/src/pages/mobile/components/button/code.mdx +12 -0
  336. package/docs/src/pages/mobile/components/button/content.mdx +1 -0
  337. package/docs/src/pages/mobile/components/button/usage.mdx +55 -0
  338. package/docs/src/pages/mobile/components/card/code.mdx +16 -0
  339. package/docs/src/pages/mobile/components/card/usage.mdx +23 -0
  340. package/docs/src/pages/mobile/components/checkbox/code.mdx +16 -0
  341. package/docs/src/pages/mobile/components/checkbox/usage.mdx +49 -0
  342. package/docs/src/pages/mobile/components/index.mdx +7 -0
  343. package/docs/src/pages/mobile/components/message/code.mdx +16 -0
  344. package/docs/src/pages/mobile/components/message/usage.mdx +26 -0
  345. package/docs/src/pages/mobile/components/overview/index.mdx +8 -0
  346. package/docs/src/pages/mobile/components/overview/tabs/all-components.mdx +8 -0
  347. package/docs/src/pages/mobile/components/overview/tabs/status.mdx +115 -0
  348. package/docs/src/pages/mobile/foundations/colors.mdx +149 -0
  349. package/docs/src/pages/mobile/foundations/interactions.mdx +192 -0
  350. package/docs/src/pages/mobile/foundations/layout/images/baseline-grid.png +0 -0
  351. package/docs/src/pages/mobile/foundations/layout/images/grid-column.jpeg +0 -0
  352. package/docs/src/pages/mobile/foundations/layout/images/grid-layout.jpeg +0 -0
  353. package/docs/src/pages/mobile/foundations/layout/images/grid-margin.jpeg +0 -0
  354. package/docs/src/pages/mobile/foundations/layout/images/spacing.png +0 -0
  355. package/docs/src/pages/mobile/foundations/layout/images/typography.png +0 -0
  356. package/docs/src/pages/mobile/foundations/layout/index.mdx +151 -0
  357. package/docs/src/pages/mobile/foundations/logos.mdx +88 -0
  358. package/docs/src/pages/mobile/foundations/principles.mdx +47 -0
  359. package/docs/src/pages/mobile/foundations/response-time.mdx +124 -0
  360. package/docs/src/pages/mobile/foundations/typography.mdx +8 -0
  361. package/docs/src/pages/patterns/index.mdx +7 -0
  362. package/docs/src/pages/resources/index.mdx +7 -0
  363. package/docs/src/util/FooterItems.js +21 -0
  364. package/docs/src/util/Frontmatter.js +35 -0
  365. package/docs/src/util/HeaderItems.js +21 -0
  366. package/docs/src/util/Helpers.js +7 -0
  367. package/docs/src/util/HomeMenu.js +24 -0
  368. package/docs/src/util/HomeResources.js +23 -0
  369. package/docs/src/util/InPageNavItems.js +36 -0
  370. package/docs/src/util/Logos.js +19 -0
  371. package/docs/src/util/MdsChangelog.js +55 -0
  372. package/docs/src/util/MediumBlogs.js +27 -0
  373. package/docs/src/util/NavItems.js +82 -0
  374. package/docs/src/util/StorybookData.js +24 -0
  375. package/docs/src/util/constants.js +7 -0
  376. package/docs/src/util/context/NavContext.js +54 -0
  377. package/docs/src/util/hooks/index.js +1 -0
  378. package/docs/src/util/hooks/useMetadata.js +21 -0
  379. package/docs/src/util/index.js +4 -0
  380. package/docs/static/icons/4691539_codesandbox_icon.svg +1 -0
  381. package/docs/static/icons/card-image.png +0 -0
  382. package/docs/static/icons/favicon_io/android-chrome-192x192.png +0 -0
  383. package/docs/static/icons/favicon_io/android-chrome-512x512.png +0 -0
  384. package/docs/static/icons/favicon_io/apple-touch-icon.png +0 -0
  385. package/docs/static/icons/favicon_io/favicon-16x16.png +0 -0
  386. package/docs/static/icons/favicon_io/favicon-32x32.png +0 -0
  387. package/docs/static/icons/favicon_io/favicon.ico +0 -0
  388. package/docs/static/images/P360.png +0 -0
  389. package/docs/static/images/dap.png +0 -0
  390. package/docs/static/images/default.png +0 -0
  391. package/docs/static/images/designtoken.png +0 -0
  392. package/docs/static/images/figma.png +0 -0
  393. package/docs/static/images/headerLogo.png +0 -0
  394. package/docs/static/images/inacademy.png +0 -0
  395. package/docs/static/images/inapi.png +0 -0
  396. package/docs/static/images/incare.png +0 -0
  397. package/docs/static/images/inconnect.png +0 -0
  398. package/docs/static/images/indata.png +0 -0
  399. package/docs/static/images/ingraph.png +0 -0
  400. package/docs/static/images/innote.png +0 -0
  401. package/docs/static/images/inoffice.png +0 -0
  402. package/docs/static/images/inreport.png +0 -0
  403. package/docs/static/images/storybook.png +0 -0
  404. package/docs/static/images/withoutType.png +0 -0
  405. package/docs/tools/build.sh +6 -0
  406. package/docs/tools/changelog.sh +1 -0
  407. package/docs/tools/changeloghead.md +14 -0
  408. package/docs/tools/develop.sh +5 -0
  409. package/docs/tools/extract.js +52 -0
  410. package/docs/tools/update-mds.sh +3 -0
  411. package/package.json +1 -1
  412. package/tsconfig.json +1 -1
  413. package/tsconfig.type.json +2 -1
  414. package/docs/AppTutorial.md +0 -474
  415. package/docs/images/BasicLayout.png +0 -0
  416. package/docs/images/Breadcrumb.png +0 -0
  417. package/docs/images/Covid-App.png +0 -0
  418. package/docs/images/DrilledLayout.png +0 -0
  419. package/docs/images/DrilledPage.png +0 -0
  420. package/docs/images/Footer.png +0 -0
  421. package/docs/images/Graph1.png +0 -0
  422. package/docs/images/Graph2.png +0 -0
  423. package/docs/images/Header.png +0 -0
  424. package/docs/images/Map.png +0 -0
  425. package/docs/images/StaticComponent.png +0 -0
  426. package/docs/images/Summary.png +0 -0
  427. package/docs/images/Table.png +0 -0
@@ -0,0 +1,136 @@
1
+ ---
2
+ title: Rules guidelines
3
+ description: Use this guide to make DOs & DONTs components.
4
+ ---
5
+
6
+ Use this guide to make DOs & DONTs components.
7
+
8
+ #### Single
9
+
10
+ <Rules>
11
+ <DOs>
12
+ <InlineMessage>
13
+ <IconWrapper> Create account </IconWrapper>
14
+ </InlineMessage>
15
+ </DOs>
16
+
17
+ <DONTs>
18
+ <InlineMessage>
19
+ <IconWrapper iconType = 'error'> Create a new account </IconWrapper>
20
+ </InlineMessage>
21
+ </DONTs>
22
+ </Rules>
23
+
24
+ <br />
25
+
26
+ #### Multiple
27
+
28
+ <Rules>
29
+ <DOs>
30
+ <InlineMessage>
31
+ <IconWrapper> Create account </IconWrapper>
32
+ </InlineMessage>
33
+ <InlineMessage>
34
+ <IconWrapper> Create group </IconWrapper>
35
+ </InlineMessage>
36
+ </DOs>
37
+
38
+ <DONTs>
39
+ <InlineMessage>
40
+ <IconWrapper iconType = 'error'> Create a new account </IconWrapper>
41
+ </InlineMessage>
42
+ <InlineMessage>
43
+ <IconWrapper iconType = 'error'> Create this group </IconWrapper>
44
+ </InlineMessage>
45
+ </DONTs>
46
+ </Rules>
47
+
48
+ <br />
49
+
50
+ #### Multi-line
51
+
52
+ <Rules>
53
+ <DOs>
54
+ <InlineMessage>
55
+ <IconWrapper> This is where all the care conversations happen between the team members. </IconWrapper>
56
+ </InlineMessage>
57
+ </DOs>
58
+
59
+ <DONTs>
60
+ <InlineMessage>
61
+ <IconWrapper iconType = 'error'> This is where all the care conversations happen between the team members. </IconWrapper>
62
+ </InlineMessage>
63
+ </DONTs>
64
+ </Rules>
65
+
66
+ <br />
67
+
68
+ #### Multi-line with a heading
69
+
70
+ <Rules>
71
+ <DOs>
72
+ <InlineMessage>
73
+ <IconWrapper>
74
+ <b>Here's to new beginnings! Let all your care conversations happen here</b>
75
+ </IconWrapper>
76
+ <p class='ml-7'>This is where all the care conversations happen between the team members.</p>
77
+ </InlineMessage>
78
+ </DOs>
79
+
80
+ <DONTs>
81
+ <InlineMessage>
82
+ <IconWrapper iconType = 'error'> <b>No Messages</b> </IconWrapper>
83
+ <p class='ml-7'>This is where all the care conversations happen between the team members.</p>
84
+ </InlineMessage>
85
+ </DONTs>
86
+ </Rules>
87
+
88
+ <br />
89
+
90
+ #### Multi-line with a heading
91
+
92
+ <Rules>
93
+ <DOs>
94
+ <InlineMessage>
95
+ <IconWrapper>
96
+ <b>Here's to new beginnings! Let all your care conversations happen here</b>
97
+ </IconWrapper>
98
+ <div class='ml-7'>
99
+ <p>Let all your care conversations happen here.</p>
100
+ <Button>Start conversation</Button>
101
+ </div>
102
+ </InlineMessage>
103
+ </DOs>
104
+
105
+ <DONTs>
106
+ <InlineMessage>
107
+ <IconWrapper iconType = 'error'> <b>No Messages</b> </IconWrapper>
108
+ <div class='ml-7'>
109
+ <p>This is where all the care conversations happen between the team members.</p>
110
+ <Button>Begin conversation</Button>
111
+ </div>
112
+ </InlineMessage>
113
+ </DONTs>
114
+ </Rules>
115
+
116
+ <br />
117
+
118
+ #### Landscape
119
+
120
+ <Rules isPortraitMode={true} BgColor='#f4f4f4'>
121
+ <DOs>
122
+ <InlineMessage>
123
+ <IconWrapper>
124
+ <b>Here's to new beginnings! Here's to new beginnings Here's to new</b>
125
+ </IconWrapper>
126
+ <p class='ml-7' >Let all your care conversations happen here.</p>
127
+ </InlineMessage>
128
+ </DOs>
129
+
130
+ <DONTs>
131
+ <InlineMessage>
132
+ <IconWrapper iconType = 'error'> <b>No Messages</b> </IconWrapper>
133
+ <p class='ml-7'>This is where all the care conversations happen between the team members.</p>
134
+ </InlineMessage>
135
+ </DONTs>
136
+ </Rules>
@@ -0,0 +1,7 @@
1
+ ---
2
+ title: Voice and tone guidelines
3
+ description: Our voice and tone is our identity. It helps us build trust, connection and a memorable image for our brand. Use it to make the content distinct, effective and consistent for all products and features.
4
+ tabs: ['Voice and tone', 'Usage']
5
+ ---
6
+
7
+ Our voice and tone is our identity. It helps us build trust, connection and a memorable image for our brand. Use it to make the content distinct, effective and consistent for all products and features.
@@ -0,0 +1,309 @@
1
+ #### Daily tasks and activities
2
+
3
+ <Rules>
4
+ <DOs>
5
+ <InlineMessage>
6
+ <IconWrapper>
7
+ <b>Here's to new beginnings!</b>
8
+ </IconWrapper>
9
+ <div class='ml-7'>
10
+ Let all your care conversations happen here.
11
+ <Button class='mt-6' >Start conversation</Button>
12
+ </div>
13
+ </InlineMessage>
14
+ <br/>
15
+ <InlineMessage>
16
+ <IconWrapper>
17
+ <b>Ahead of schedule? </b>
18
+ </IconWrapper>
19
+ <div class='ml-7 mb-0'>We don't see any appointments at the moment. Feel free to search for patients instead.</div>
20
+ </InlineMessage>
21
+ <InlineMessage>
22
+ <IconWrapper>
23
+ <b>890 of 1020 patients uploaded...</b>
24
+ </IconWrapper>
25
+ <div class='ml-7'>
26
+ Phew! Just a couple more to go.
27
+ <div class='d-flex mt-6'>
28
+ <Button>View patients</Button>
29
+ <Button class='ml-4'>Download report</Button>
30
+ </div>
31
+ </div>
32
+ </InlineMessage>
33
+ </DOs>
34
+
35
+ <DONTs>
36
+ <InlineMessage>
37
+ <IconWrapper iconType = 'error'>
38
+ <b>No Messages</b>
39
+ </IconWrapper>
40
+ <div class='ml-7'>
41
+ This is where all the care conversations happen between the team members.
42
+ <Button class='mt-6'>Begin conversation</Button>
43
+ </div>
44
+ </InlineMessage>
45
+ <InlineMessage>
46
+ <IconWrapper iconType = 'error'>
47
+ <b>No Appointments</b>
48
+ </IconWrapper>
49
+ <div class='ml-7'>You have got no appointments for today!</div>
50
+ </InlineMessage>
51
+ <br/>
52
+ <InlineMessage>
53
+ <IconWrapper iconType = 'error'>
54
+ <b>Please wait...</b>
55
+ </IconWrapper>
56
+ <div class='ml-7'>
57
+ 890 of 1020 patients uploaded!
58
+ <div class='d-flex mt-6'>
59
+ <Button>View patients</Button>
60
+ <Button class='ml-4'>Download report</Button>
61
+ </div>
62
+ </div>
63
+ </InlineMessage>
64
+ </DONTs>
65
+ </Rules>
66
+
67
+ #### Progress and completion messages
68
+
69
+ <Rules>
70
+ <DOs>
71
+ <InlineMessage>
72
+ <IconWrapper>
73
+ <b>You nailed it!</b>
74
+ </IconWrapper>
75
+ <div class='ml-7'>
76
+ You finished all your activities for the day. Enjoy the rest.
77
+ </div>
78
+ </InlineMessage>
79
+ <InlineMessage>
80
+ <IconWrapper>
81
+ <b>Feedback submitted successfully!</b>
82
+ </IconWrapper>
83
+ <div class='ml-7'>
84
+ Thank you for giving us your feedback. That's how we'll improve and make things better for you.
85
+ </div>
86
+ </InlineMessage>
87
+ <InlineMessage>
88
+ <IconWrapper>
89
+ <b>Kudos! </b>
90
+ </IconWrapper>
91
+ <div class='ml-7'>
92
+ You've filled all the quality gaps.
93
+ </div>
94
+ </InlineMessage>
95
+ </DOs>
96
+
97
+ <DONTs>
98
+ <InlineMessage>
99
+ <IconWrapper iconType = 'error'>
100
+ <b>No activities pending!</b>
101
+ </IconWrapper>
102
+ <div class='ml-7'>
103
+ You have finished all your activities.
104
+ </div>
105
+ </InlineMessage>
106
+ <InlineMessage>
107
+ <IconWrapper iconType = 'error'>
108
+ <b>Feedback submitted</b>
109
+ </IconWrapper>
110
+ <div class='ml-7'>
111
+ Thanks for sharing your experience. Once submitted, this action can't be undone.
112
+ </div>
113
+ </InlineMessage>
114
+ <InlineMessage>
115
+ <IconWrapper iconType = 'error'>
116
+ No open quality gaps.
117
+ </IconWrapper>
118
+ </InlineMessage>
119
+ </DONTs>
120
+ </Rules>
121
+
122
+ #### Features and updates
123
+
124
+ <Rules>
125
+ <DOs>
126
+ <InlineMessage>
127
+ <IconWrapper>
128
+ <b>Things are about to get better! </b>
129
+ </IconWrapper>
130
+ <div class='ml-7'>
131
+ A new and improved version of InNote is available.
132
+ <div class='d-flex mt-6'>
133
+ <Button>Upgrade now</Button>
134
+ <Button class='ml-4'>Remind me later</Button>
135
+ </div>
136
+ </div>
137
+ </InlineMessage>
138
+ <InlineMessage>
139
+ <IconWrapper>
140
+ <b>Track referrals and get notified at every step.</b>
141
+ </IconWrapper>
142
+ <div class='ml-7'>
143
+ Stay connected with social workers to better understand client's needs.
144
+ <Button class='mt-6' >Get started</Button>
145
+ </div>
146
+ </InlineMessage>
147
+ </DOs>
148
+
149
+ <DONTs>
150
+ <InlineMessage>
151
+ <IconWrapper iconType = 'error'>
152
+ <b>Update to new version</b>
153
+ </IconWrapper>
154
+ <div class='ml-7'>
155
+ A new software update is available. Please download now.
156
+ <div class='d-flex mt-6'>
157
+ <Button>Download now</Button>
158
+ <Button class='ml-4'>Remind me later</Button>
159
+ </div>
160
+ </div>
161
+ </InlineMessage>
162
+ <InlineMessage>
163
+ <IconWrapper iconType = 'error'>
164
+ <b>Coordinate and track bidirectional referrals across the network.</b>
165
+ </IconWrapper>
166
+ <div class='ml-7'>
167
+ Connect with social workers to better understand client's needs and problems.
168
+ <Button class='mt-6'>Get started</Button>
169
+ </div>
170
+ </InlineMessage>
171
+ </DONTs>
172
+ </Rules>
173
+
174
+ #### Empty states
175
+
176
+ <Rules>
177
+ <DOs>
178
+ <InlineMessage>
179
+ <IconWrapper>
180
+ <b>Together we can do so much!</b>
181
+ </IconWrapper>
182
+ <div class='ml-7'>
183
+ Start adding your first community resource here.
184
+ <Button class='mt-6' >Add resource(s)</Button>
185
+ </div>
186
+ </InlineMessage>
187
+ <InlineMessage>
188
+ <IconWrapper>
189
+ <b>Somethings are not in our hands</b>
190
+ </IconWrapper>
191
+ <div class='ml-7'>
192
+ Sorry, we are facing a technical issue at the moment.
193
+ <Button class='mt-6' >Try again</Button>
194
+ </div>
195
+ </InlineMessage>
196
+ <InlineMessage>
197
+ <IconWrapper>
198
+ <b>This page doesn't exist </b>
199
+ </IconWrapper>
200
+ <div class='ml-7'>
201
+ You seem to have followed a dead link. Trust us, this only happens once in a blue moon.
202
+ <div class='d-flex mt-6'>
203
+ <Button>Go back</Button>
204
+ <Button class='ml-4'>Home</Button>
205
+ </div>
206
+ </div>
207
+ </InlineMessage>
208
+ </DOs>
209
+
210
+ <DONTs>
211
+ <InlineMessage>
212
+ <IconWrapper iconType = 'error'>
213
+ <b>No community resources!</b>
214
+ </IconWrapper>
215
+ <div class='ml-7'>
216
+ Add resources by clicking the button below.
217
+ <Button class='mt-6'>Add a community resource</Button>
218
+ </div>
219
+ </InlineMessage>
220
+ <InlineMessage>
221
+ <IconWrapper iconType = 'error'>
222
+ <b>Oops! Something went wrong</b>
223
+ </IconWrapper>
224
+ <div class='ml-7'>
225
+ Please try again.
226
+ </div>
227
+ </InlineMessage>
228
+ <br/> <br/>
229
+ <InlineMessage>
230
+ <IconWrapper iconType = 'error'>
231
+ <b>Error 404</b>
232
+ </IconWrapper>
233
+ <div class='ml-7'>
234
+ Page not found!
235
+ </div>
236
+ </InlineMessage>
237
+ </DONTs>
238
+ </Rules>
239
+
240
+ #### Error messages
241
+
242
+ <Rules>
243
+ <DOs>
244
+ <InlineMessage>
245
+ <IconWrapper>
246
+ These passwords look poles apart. Please recheck.
247
+ </IconWrapper>
248
+ </InlineMessage>
249
+ <InlineMessage>
250
+ <IconWrapper>
251
+ <b>Oh no!</b>
252
+ </IconWrapper>
253
+ <div class='ml-7'>
254
+ You have stepped into the most deserted space called 404. Let's get you back home.
255
+ </div>
256
+ </InlineMessage>
257
+ <InlineMessage>
258
+ <IconWrapper>
259
+ Hey, that mobile number looks familiar. Want to sign in?
260
+ </IconWrapper>
261
+ </InlineMessage>
262
+ <InlineMessage>
263
+ <IconWrapper>
264
+ <b>Your upload failed! </b>
265
+ </IconWrapper>
266
+ <div class='ml-7'>
267
+ Don't worry this is not the last resort.
268
+ <div class='d-flex mt-6'>
269
+ <Button>Try again</Button>
270
+ <Button class='ml-4'>Download report</Button>
271
+ </div>
272
+ </div>
273
+ </InlineMessage>
274
+ </DOs>
275
+
276
+ <DONTs>
277
+ <InlineMessage>
278
+ <IconWrapper iconType = 'error'>
279
+ Passwords do not match.
280
+ </IconWrapper>
281
+ </InlineMessage>
282
+ <InlineMessage>
283
+ <IconWrapper iconType = 'error'>
284
+ <b>Error 404</b>
285
+ </IconWrapper>
286
+ <div class='ml-7'>Page not found!</div>
287
+ </InlineMessage>
288
+ <br/>
289
+ <InlineMessage>
290
+ <IconWrapper iconType = 'error'>
291
+ Mobile number already registered please sign in to proceed.
292
+ </IconWrapper>
293
+ </InlineMessage>
294
+ <InlineMessage>
295
+ <IconWrapper iconType = 'error'>
296
+ <b>Upload failed!</b>
297
+ </IconWrapper>
298
+ <div class='ml-7'>
299
+ Try again,<br/>
300
+ Fail again,<br/>
301
+ Fail better!
302
+ <div class='d-flex mt-6'>
303
+ <Button>Try again</Button>
304
+ <Button class='ml-4'>Download report</Button>
305
+ </div>
306
+ </div>
307
+ </InlineMessage>
308
+ </DONTs>
309
+ </Rules>
@@ -0,0 +1,38 @@
1
+ ---
2
+ title: Voice and tone guidelines
3
+ description: Our voice and tone is our identity. It helps us build trust, connection and a memorable image for our brand. Use it to make the content distinct, effective and consistent for all products and features.
4
+ tabs: ['Voice and tone', 'Usage']
5
+ ---
6
+
7
+ #### Voice
8
+
9
+ **Purposeful**
10
+
11
+ Our center is our customers and we always put their needs before ours. We take charge to provide our customers with an instant solution. By building every feature, every button, and every copy with an aim to serve a purpose.
12
+
13
+ **Friendly**
14
+
15
+ We are friendly but never cocky. We are approachable, honest and reliable, always willing to help our customers. Because making our customers heroes is top of our list.
16
+
17
+ **Optimistic to the core**
18
+
19
+ Optimism is in our DNA and we want to imbibe that in every aspect of our brand. We are constantly building things which are meaningful and impactful for our customers. Because we truly believe in what we are doing.
20
+
21
+ <br />
22
+
23
+ #### Tone
24
+
25
+ Our tone varies according to our customers' needs. We are conversational, empathetic and direct but never blunt, too emotional or robotic in our messaging. We sound clear, concise and friendly when addressing an email. But we are more optimistic, friendly, and purpose-driven for our product & feature content. We always stick to the brand voice and use the right tone to convey our message across.
26
+
27
+ <br />
28
+
29
+ #### Things to remember
30
+
31
+ <ul>
32
+ <li>Be friendly but never cocky</li>
33
+ <li>Be empathetic but never too emotional</li>
34
+ <li>Be optimistic but never overconfident</li>
35
+ <li>Be direct but never robotic</li>
36
+ <li>Be conversational but never blunt</li>
37
+ <li>Be concise but never odd</li>
38
+ </ul>
@@ -0,0 +1,16 @@
1
+ ---
2
+ description: Instructions for developing and contributing. Here's how you can contribute.
3
+ date: 15 June 2021
4
+ ---
5
+
6
+ Using design system font:
7
+ The css sets the font family as 'Nunito Sans' for the body. To add this font in your project you need to load this font. The recommended way to do it is by adding the following google font cdn link to your app's head.
8
+ Updating Font:
9
+ If you don't add the font described above font family will not be affected by css. However, if you want to update the font family update it via the following css variable.
10
+
11
+ --font-family
12
+ Reset Styles
13
+ As BEM is used reset.css is not used and no style reset is done.
14
+
15
+ Polyfill for IE
16
+ For css variables to work on IE we use a polyfill at runtime to achieve dynamic theming through variables. Please add the following polyfill in your page.
@@ -0,0 +1,149 @@
1
+ ---
2
+ title: Colors
3
+ description: Maintaining consistent and engaging digital interfaces, whether applications or experiences, demands extended guidance around color usage
4
+ date: 15 June 2021
5
+ showMobile: true
6
+ ---
7
+
8
+ export const PRIMARY_COLORS = [
9
+ {
10
+ name: 'Jal - Darker',
11
+ backgroundColor: 'var(--primary-darker)',
12
+ hexCode: '#003365',
13
+ colorCode: 'rgb(0, 51, 101)',
14
+ },
15
+ {
16
+ name: 'Jal - Dark',
17
+ backgroundColor: 'var(--primary-dark)',
18
+ hexCode: '#00509F',
19
+ colorCode: 'rgb(0, 51, 101)',
20
+ },
21
+ {
22
+ name: 'Jal - Default',
23
+ backgroundColor: 'var(--primary)',
24
+ hexCode: '#0070DD',
25
+ colorCode: 'rgb(0, 51, 101)',
26
+ },
27
+ {
28
+ name: 'Jal - Light',
29
+ backgroundColor: 'var(--primary-light)',
30
+ hexCode: '#4F9DE7',
31
+ colorCode: 'rgb(0, 51, 101)',
32
+ },
33
+ {
34
+ name: 'Jal - Lighter',
35
+ backgroundColor: 'var(--primary-lighter)',
36
+ hexCode: '#97C5F0',
37
+ colorCode: 'rgb(0, 51, 101)',
38
+ },
39
+ {
40
+ name: 'Jal - Lightest',
41
+ backgroundColor: 'var(--primary-lightest)',
42
+ hexCode: '#DCECF9',
43
+ colorCode: 'rgb(0, 51, 101)',
44
+ },
45
+ ];
46
+
47
+ export const ALERT_COLORS = [
48
+ {
49
+ name: 'Jal - Darker',
50
+ backgroundColor: 'var(--alert-darker)',
51
+ hexCode: '#631919',
52
+ colorCode: 'rgb(0, 51, 101)',
53
+ },
54
+ {
55
+ name: 'Jal - Dark',
56
+ backgroundColor: 'var(--alert-dark)',
57
+ hexCode: '#9C2828',
58
+ colorCode: 'rgb(0, 51, 101)',
59
+ },
60
+ {
61
+ name: 'Jal - Default',
62
+ backgroundColor: 'var(--alert)',
63
+ hexCode: '#D93737',
64
+ colorCode: 'rgb(0, 51, 101)',
65
+ },
66
+ {
67
+ name: 'Jal - Light',
68
+ backgroundColor: 'var(--alert-light)',
69
+ hexCode: '#EB776C',
70
+ colorCode: 'rgb(0, 51, 101)',
71
+ },
72
+ {
73
+ name: 'Jal - Lighter',
74
+ backgroundColor: 'var(--alert-lighter)',
75
+ hexCode: '#F7ADA5',
76
+ colorCode: 'rgb(0, 51, 101)',
77
+ },
78
+ {
79
+ name: 'Jal - Lightest',
80
+ backgroundColor: 'var(--alert-lightest)',
81
+ hexCode: '#F9E2E2',
82
+ colorCode: 'rgb(0, 51, 101)',
83
+ },
84
+ ];
85
+
86
+ export const WARNING_COLORS = [
87
+ {
88
+ name: 'Haldi - Darker',
89
+ backgroundColor: 'var(--warning-darker)',
90
+ hexCode: '#6B4A06',
91
+ colorCode: 'rgb(0, 51, 101)',
92
+ },
93
+ {
94
+ name: 'Haldi - Dark',
95
+ backgroundColor: 'var(--warning-dark)',
96
+ hexCode: '#B78707',
97
+ colorCode: 'rgb(0, 51, 101)',
98
+ },
99
+ {
100
+ name: 'Haldi - Default',
101
+ backgroundColor: 'var(--warning)',
102
+ hexCode: '#FFC208',
103
+ colorCode: 'rgb(0, 51, 101)',
104
+ },
105
+ {
106
+ name: 'Haldi - Light',
107
+ backgroundColor: 'var(--warning-light)',
108
+ hexCode: '#FFD462',
109
+ colorCode: 'rgb(0, 51, 101)',
110
+ },
111
+ {
112
+ name: 'Haldi - Lighter',
113
+ backgroundColor: 'var(--warning-lighter)',
114
+ hexCode: '#FFE597',
115
+ colorCode: 'rgb(0, 51, 101)',
116
+ },
117
+ {
118
+ name: 'Haldi - Lightest',
119
+ backgroundColor: 'var(--warning-lightest)',
120
+ hexCode: '#FFF5C7',
121
+ colorCode: 'rgb(0, 51, 101)',
122
+ },
123
+ ];
124
+
125
+ #### Primary color
126
+
127
+ <br />
128
+
129
+ ##### Jal
130
+
131
+ <Row className='mb-10'>
132
+ <Colors colorData={PRIMARY_COLORS} />
133
+ </Row>
134
+
135
+ #### Secondary colors
136
+
137
+ <br />
138
+
139
+ ##### Mirch
140
+
141
+ <Row className='mb-10'>
142
+ <Colors colorData={ALERT_COLORS} />
143
+ </Row>
144
+
145
+ ##### Haldi
146
+
147
+ <Row>
148
+ <Colors colorData={WARNING_COLORS} />
149
+ </Row>