@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.
- package/.github/workflows/chromatic.yml +3 -1
- package/.github/workflows/docs_pull_request.yml +20 -0
- package/.github/workflows/main.yml +1 -1
- package/.github/workflows/manual.yml +1 -1
- package/.github/workflows/pull_request.yml +1 -1
- package/.github/workflows/test.yml +1 -1
- package/CHANGELOG.md +68 -0
- package/README.md +6 -0
- package/core/components/atoms/_chip/__tests__/__snapshots__/_chip.test.tsx.snap +8 -8
- package/core/components/atoms/_chip/index.tsx +1 -1
- package/core/components/atoms/avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +20 -0
- package/core/components/atoms/avatarGroup/AvatarCount.tsx +29 -0
- package/core/components/atoms/avatarGroup/AvatarGroup.tsx +16 -62
- package/core/components/atoms/avatarGroup/AvatarPopperBody.tsx +37 -0
- package/core/components/atoms/avatarGroup/Avatars.tsx +23 -0
- package/core/components/atoms/avatarGroup/__stories__/index.story.tsx +41 -0
- package/core/components/atoms/avatarGroup/__tests__/AvatarGroup.test.tsx +1 -1
- package/core/components/atoms/avatarGroup/__tests__/__snapshots__/AvatarGroup.test.tsx.snap +8 -4
- package/core/components/atoms/button/Button.tsx +1 -2
- package/core/components/atoms/checkbox/__stories__/Group.story.tsx +1 -1
- package/core/components/atoms/checkbox/__stories__/Nested.story.tsx +2 -0
- package/core/components/atoms/chip/__tests__/__snapshots__/Chip.test.tsx.snap +11 -11
- package/core/components/atoms/chipGroup/__tests__/__snapshots__/chipGroup.test.tsx.snap +4 -4
- package/core/components/atoms/dropdown/DropdownButton.tsx +1 -1
- package/core/components/atoms/dropdown/DropdownList.tsx +56 -29
- package/core/components/atoms/dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +29 -2
- package/core/components/atoms/popperWrapper/PopperWrapper.tsx +104 -12
- package/core/components/atoms/toast/__stories__/WithDescription.story.tsx +3 -1
- package/core/components/css-utilities/designTokens/Data.tsx +18 -0
- package/core/components/css-utilities/designTokens/Transitions.story.tsx +37 -0
- package/core/components/molecules/chipInput/__tests__/__snapshots__/ChipInput.test.tsx.snap +4 -4
- package/core/components/molecules/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +260 -195
- package/core/components/molecules/editableChipInput/__tests__/__snapshots__/EditableChipInput.test.tsx.snap +4 -4
- package/core/components/molecules/editableDropdown/__tests__/__snapshots__/EditableDropdown.test.tsx.snap +1 -0
- package/core/components/molecules/fullscreenModal/FullscreenModal.tsx +13 -12
- package/core/components/molecules/fullscreenModal/__tests__/Fullscreen.test.tsx +2 -5
- package/core/components/molecules/fullscreenModal/__tests__/__snapshots__/Fullscreen.test.tsx.snap +126 -96
- package/core/components/molecules/modal/Modal.tsx +11 -9
- package/core/components/molecules/modal/__tests__/__snapshots__/Modal.test.tsx.snap +240 -180
- package/core/components/molecules/popover/Popover.tsx +9 -0
- package/core/components/molecules/popover/__tests__/__snapshots__/Popover.test.tsx.snap +16 -8
- package/core/components/molecules/sidesheet/Sidesheet.tsx +23 -22
- package/core/components/molecules/sidesheet/__tests__/__snapshots__/Sidesheet.test.tsx.snap +40 -30
- package/core/components/molecules/tooltip/Tooltip.tsx +20 -1
- package/core/components/molecules/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +8 -0
- package/core/components/organisms/calendar/__tests__/__snapshots__/Calendar.test.tsx.snap +8 -8
- package/core/components/organisms/datePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +14 -13
- package/core/components/organisms/dateRangePicker/__tests__/__snapshots__/DateRangePicker.test.tsx.snap +42 -30
- package/core/components/organisms/grid/GridBody.tsx +1 -2
- package/core/components/organisms/table/Table.tsx +0 -1
- package/core/components/organisms/table/__stories__/NestedTableWithNestedCard.story.tsx +2 -2
- package/core/components/organisms/table/__tests__/__snapshots__/Table.test.tsx.snap +1544 -0
- package/core/components/organisms/verticalNav/MenuItem.tsx +6 -2
- package/core/components/organisms/verticalNav/VerticalNav.tsx +8 -2
- package/core/components/organisms/verticalNav/__stories__/CustomItemsRenderer.story.tsx +238 -0
- package/core/utils/__tests__/__snapshots__/TS.test.tsx.snap +168 -3
- package/css/dist/index.css +300 -62
- package/css/dist/index.css.map +1 -1
- package/css/src/components/ProgressBar.css +1 -1
- package/css/src/components/avatarGroup.css +0 -9
- package/css/src/components/button.css +4 -4
- package/css/src/components/chip.css +4 -0
- package/css/src/components/dropdown.css +5 -9
- package/css/src/components/dropdownButton.css +2 -0
- package/css/src/components/fullscreenModal.css +0 -5
- package/css/src/components/grid.css +0 -11
- package/css/src/components/overlay.css +0 -11
- package/css/src/components/popover.css +12 -0
- package/css/src/components/slider.css +1 -0
- package/css/src/components/tabs.css +1 -1
- package/css/src/components/textarea.css +0 -11
- package/css/src/components/tooltip.css +115 -0
- package/css/src/components/verticalNav.css +2 -0
- package/css/src/core/animation.css +8 -0
- package/css/src/core/utilities.css +11 -0
- package/css/src/utils/utility.css +4 -0
- package/css/src/variables/index.css +19 -0
- package/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts +2 -0
- package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts +2 -0
- package/dist/core/components/atoms/avatarGroup/Avatars.d.ts +2 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +61 -54
- package/dist/core/components/css-utilities/designTokens/Data.d.ts +8 -0
- package/dist/core/components/css-utilities/designTokens/Transitions.story.d.ts +12 -0
- package/dist/core/components/molecules/popover/Popover.d.ts +4 -0
- package/dist/core/components/molecules/sidesheet/Sidesheet.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/MenuItem.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/VerticalNav.d.ts +2 -0
- package/dist/index.esm.js +278 -142
- package/dist/index.js +282 -149
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/docs/.eslintrc.json +1 -0
- package/docs/.unotes/templates/title_date.hbs +4 -0
- package/docs/.unotes/unotes_meta.json +302 -0
- package/docs/LICENSE +21 -0
- package/docs/README.md +31 -0
- package/docs/gatsby-browser.js +6 -0
- package/docs/gatsby-config.js +171 -0
- package/docs/gatsby-node.js +75 -0
- package/docs/index.js +1 -0
- package/docs/package.json +54 -0
- package/docs/src/components/Colors/Colors.css +19 -0
- package/docs/src/components/Colors/Colors.js +82 -0
- package/docs/src/components/Container/ComponentsContainer.js +75 -0
- package/docs/src/components/Container/Container.js +114 -0
- package/docs/src/components/Container/index.js +3 -0
- package/docs/src/components/Footer/Footer.css +7 -0
- package/docs/src/components/Footer/Footer.js +40 -0
- package/docs/src/components/Header/Header.css +32 -0
- package/docs/src/components/Header/Header.js +60 -0
- package/docs/src/components/Header/index.js +3 -0
- package/docs/src/components/LastModifiedDate/LastModifiedDate.js +24 -0
- package/docs/src/components/LastModifiedDate/index.js +3 -0
- package/docs/src/components/Layout.js +291 -0
- package/docs/src/components/LeftNav/LeftNav.js +101 -0
- package/docs/src/components/LeftNav/index.js +3 -0
- package/docs/src/components/Logos/Logos.css +29 -0
- package/docs/src/components/Logos/Logos.js +64 -0
- package/docs/src/components/Meta.js +101 -0
- package/docs/src/components/PropsTable/ArgJsDoc.tsx +102 -0
- package/docs/src/components/PropsTable/ArgRow.tsx +142 -0
- package/docs/src/components/PropsTable/ArgValue.tsx +182 -0
- package/docs/src/components/PropsTable/EmptyBlock.tsx +22 -0
- package/docs/src/components/PropsTable/SectionRow.tsx +126 -0
- package/docs/src/components/PropsTable/Shared.tsx +53 -0
- package/docs/src/components/PropsTable/Table.tsx +463 -0
- package/docs/src/components/PropsTable/card.css +7 -0
- package/docs/src/components/PropsTable/generateImports.tsx +20 -0
- package/docs/src/components/PropsTable/index.js +248 -0
- package/docs/src/components/PropsTable/prism.css +146 -0
- package/docs/src/components/PropsTable/sandbox.tsx +81 -0
- package/docs/src/components/PropsTable/theme.js +53 -0
- package/docs/src/components/PropsTable/types.tsx +44 -0
- package/docs/src/components/Rules/DONTs.js +13 -0
- package/docs/src/components/Rules/DOs.js +13 -0
- package/docs/src/components/Rules/IconWrapper.js +18 -0
- package/docs/src/components/Rules/InlineMessage.js +11 -0
- package/docs/src/components/Rules/Rules.css +17 -0
- package/docs/src/components/Rules/Rules.js +39 -0
- package/docs/src/components/TableOfContent/TableOfContent.css +37 -0
- package/docs/src/components/TableOfContent/TableOfContent.js +126 -0
- package/docs/src/components/css/global.css +15 -0
- package/docs/src/components/css/prism.css +38 -0
- package/docs/src/components/css/style.css +97 -0
- package/docs/src/components/templates/Default.js +24 -0
- package/docs/src/components/templates/Homepage.js +13 -0
- package/docs/src/data/components/images/Avatars.png +0 -0
- package/docs/src/data/components/images/Datepicker.png +0 -0
- package/docs/src/data/components/images/EditableChipInput.png +0 -0
- package/docs/src/data/components/images/Modal.png +0 -0
- package/docs/src/data/components/images/Sidesheet.png +0 -0
- package/docs/src/data/components/images/Table.png +0 -0
- package/docs/src/data/components/index.js +285 -0
- package/docs/src/data/footer-items.yaml +16 -0
- package/docs/src/data/header-items.yaml +20 -0
- package/docs/src/data/home-menu.yaml +23 -0
- package/docs/src/data/home-resources.yaml +14 -0
- package/docs/src/data/nav/components.yaml +45 -0
- package/docs/src/data/nav/content.yaml +25 -0
- package/docs/src/data/nav/default.yaml +11 -0
- package/docs/src/data/nav/foundations.yaml +22 -0
- package/docs/src/data/nav/guide-items.yaml +6 -0
- package/docs/src/data/nav/introduction.yaml +11 -0
- package/docs/src/data/storybook.json +345189 -0
- package/docs/src/pages/404.js +31 -0
- package/docs/src/pages/components/avatar/code.mdx +14 -0
- package/docs/src/pages/components/avatar/images/avatar-1.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-2.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-3.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-4.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-5.png +0 -0
- package/docs/src/pages/components/avatar/usage.mdx +53 -0
- package/docs/src/pages/components/badges/code.mdx +15 -0
- package/docs/src/pages/components/badges/images/badges-1.png +0 -0
- package/docs/src/pages/components/badges/images/badges-2.png +0 -0
- package/docs/src/pages/components/badges/usage.mdx +43 -0
- package/docs/src/pages/components/breadcrumbs/code.mdx +15 -0
- package/docs/src/pages/components/breadcrumbs/usage.mdx +30 -0
- package/docs/src/pages/components/button/code.mdx +18 -0
- package/docs/src/pages/components/button/content.mdx +652 -0
- package/docs/src/pages/components/button/images/buttons-1.png +0 -0
- package/docs/src/pages/components/button/images/buttons-2.png +0 -0
- package/docs/src/pages/components/button/usage.mdx +100 -0
- package/docs/src/pages/components/calendar/code.mdx +15 -0
- package/docs/src/pages/components/calendar/usage.mdx +9 -0
- package/docs/src/pages/components/card/code.mdx +15 -0
- package/docs/src/pages/components/card/usage.mdx +54 -0
- package/docs/src/pages/components/checkbox/code.mdx +16 -0
- package/docs/src/pages/components/checkbox/usage.mdx +49 -0
- package/docs/src/pages/components/chips/code.mdx +15 -0
- package/docs/src/pages/components/chips/usage.mdx +34 -0
- package/docs/src/pages/components/datePicker/code.mdx +7 -0
- package/docs/src/pages/components/datePicker/images/datePicker-1.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-2.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-3.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-4.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-5.png +0 -0
- package/docs/src/pages/components/datePicker/usage.mdx +58 -0
- package/docs/src/pages/components/index.mdx +7 -0
- package/docs/src/pages/components/message/code.mdx +16 -0
- package/docs/src/pages/components/message/usage.mdx +26 -0
- package/docs/src/pages/components/overview/index.mdx +6 -0
- package/docs/src/pages/components/overview/tabs/Overview.js +72 -0
- package/docs/src/pages/components/overview/tabs/all-components.mdx +10 -0
- package/docs/src/pages/components/overview/tabs/overview.css +30 -0
- package/docs/src/pages/components/overview/tabs/status.mdx +22 -0
- package/docs/src/pages/components/radio/code.mdx +17 -0
- package/docs/src/pages/components/radio/usage.mdx +126 -0
- package/docs/src/pages/components/sidesheet/code.mdx +8 -0
- package/docs/src/pages/components/sidesheet/interactions.mdx +8 -0
- package/docs/src/pages/components/sidesheet/usage.mdx +25 -0
- package/docs/src/pages/components/slider/code.mdx +15 -0
- package/docs/src/pages/components/slider/usage.mdx +49 -0
- package/docs/src/pages/components/statushint/code.mdx +15 -0
- package/docs/src/pages/components/statushint/usage.mdx +19 -0
- package/docs/src/pages/components/steppers/code.mdx +16 -0
- package/docs/src/pages/components/steppers/images/stepper-1.gif +0 -0
- package/docs/src/pages/components/steppers/images/stepper-2.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-3.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-4.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-5.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-6.png +0 -0
- package/docs/src/pages/components/steppers/interactions.mdx +28 -0
- package/docs/src/pages/components/steppers/usage.mdx +201 -0
- package/docs/src/pages/components/switch/code.mdx +16 -0
- package/docs/src/pages/components/switch/images/switch-1.gif +0 -0
- package/docs/src/pages/components/switch/images/switch-2.gif +0 -0
- package/docs/src/pages/components/switch/images/switch-3.png +0 -0
- package/docs/src/pages/components/switch/interactions.mdx +392 -0
- package/docs/src/pages/components/switch/usage.mdx +114 -0
- package/docs/src/pages/components/table/code.mdx +14 -0
- package/docs/src/pages/components/table/images/table-1.png +0 -0
- package/docs/src/pages/components/table/images/table-10.png +0 -0
- package/docs/src/pages/components/table/images/table-11.gif +0 -0
- package/docs/src/pages/components/table/images/table-12.png +0 -0
- package/docs/src/pages/components/table/images/table-13.png +0 -0
- package/docs/src/pages/components/table/images/table-14.png +0 -0
- package/docs/src/pages/components/table/images/table-15.png +0 -0
- package/docs/src/pages/components/table/images/table-16.png +0 -0
- package/docs/src/pages/components/table/images/table-17.png +0 -0
- package/docs/src/pages/components/table/images/table-18.png +0 -0
- package/docs/src/pages/components/table/images/table-19.png +0 -0
- package/docs/src/pages/components/table/images/table-2.png +0 -0
- package/docs/src/pages/components/table/images/table-20.png +0 -0
- package/docs/src/pages/components/table/images/table-21.png +0 -0
- package/docs/src/pages/components/table/images/table-22.png +0 -0
- package/docs/src/pages/components/table/images/table-23.png +0 -0
- package/docs/src/pages/components/table/images/table-24.png +0 -0
- package/docs/src/pages/components/table/images/table-25.png +0 -0
- package/docs/src/pages/components/table/images/table-26.png +0 -0
- package/docs/src/pages/components/table/images/table-27.png +0 -0
- package/docs/src/pages/components/table/images/table-28.png +0 -0
- package/docs/src/pages/components/table/images/table-29.png +0 -0
- package/docs/src/pages/components/table/images/table-3.png +0 -0
- package/docs/src/pages/components/table/images/table-30.png +0 -0
- package/docs/src/pages/components/table/images/table-4.png +0 -0
- package/docs/src/pages/components/table/images/table-5.png +0 -0
- package/docs/src/pages/components/table/images/table-6.png +0 -0
- package/docs/src/pages/components/table/images/table-7.png +0 -0
- package/docs/src/pages/components/table/images/table-8.png +0 -0
- package/docs/src/pages/components/table/images/table-9.png +0 -0
- package/docs/src/pages/components/table/interactions.mdx +97 -0
- package/docs/src/pages/components/table/usage.mdx +364 -0
- package/docs/src/pages/components/tabs/code.mdx +15 -0
- package/docs/src/pages/components/tabs/images/tabs-1.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-2.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-3.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-4.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-5.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-6.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-7.png +0 -0
- package/docs/src/pages/components/tabs/interactions.mdx +487 -0
- package/docs/src/pages/components/tabs/usage.mdx +164 -0
- package/docs/src/pages/components/toast/code.mdx +15 -0
- package/docs/src/pages/components/toast/images/toast-1.png +0 -0
- package/docs/src/pages/components/toast/images/toast-2.gif +0 -0
- package/docs/src/pages/components/toast/images/toast-3.gif +0 -0
- package/docs/src/pages/components/toast/images/toast-4.png +0 -0
- package/docs/src/pages/components/toast/images/toast-5.gif +0 -0
- package/docs/src/pages/components/toast/images/toast-6.gif +0 -0
- package/docs/src/pages/components/toast/interactions.mdx +218 -0
- package/docs/src/pages/components/toast/usage.mdx +156 -0
- package/docs/src/pages/components/tooltip/code.mdx +16 -0
- package/docs/src/pages/components/tooltip/images/Tooltip-1.png +0 -0
- package/docs/src/pages/components/tooltip/images/tooltip-2.gif +0 -0
- package/docs/src/pages/components/tooltip/images/tooltip-3.gif +0 -0
- package/docs/src/pages/components/tooltip/interactions.mdx +219 -0
- package/docs/src/pages/components/tooltip/usage.mdx +80 -0
- package/docs/src/pages/content/button-guidelines/index.mdx +7 -0
- package/docs/src/pages/content/button-guidelines/tabs/button-glossary.mdx +144 -0
- package/docs/src/pages/content/button-guidelines/tabs/confusing-buttons.mdx +184 -0
- package/docs/src/pages/content/email-guidelines.mdx +107 -0
- package/docs/src/pages/content/empty-states.mdx +8 -0
- package/docs/src/pages/content/error-messages.mdx +165 -0
- package/docs/src/pages/content/house-rules/tabs/basics.mdx +236 -0
- package/docs/src/pages/content/house-rules/tabs/date,-time-&-numbers.mdx +462 -0
- package/docs/src/pages/content/house-rules/tabs/grammer.mdx +744 -0
- package/docs/src/pages/content/house-rules/tabs/punctuations.mdx +666 -0
- package/docs/src/pages/content/placeholder-text.mdx +58 -0
- package/docs/src/pages/content/rules.mdx +136 -0
- package/docs/src/pages/content/voice-and-tone-guidelines/index.mdx +7 -0
- package/docs/src/pages/content/voice-and-tone-guidelines/tabs/usage.mdx +309 -0
- package/docs/src/pages/content/voice-and-tone-guidelines/tabs/voice-and-tone.mdx +38 -0
- package/docs/src/pages/contributions.mdx +16 -0
- package/docs/src/pages/foundations/colors.mdx +149 -0
- package/docs/src/pages/foundations/interactions.mdx +192 -0
- package/docs/src/pages/foundations/layout/images/baseline-grid.png +0 -0
- package/docs/src/pages/foundations/layout/images/grid-column.jpeg +0 -0
- package/docs/src/pages/foundations/layout/images/grid-layout.jpeg +0 -0
- package/docs/src/pages/foundations/layout/images/grid-margin.jpeg +0 -0
- package/docs/src/pages/foundations/layout/images/spacing.png +0 -0
- package/docs/src/pages/foundations/layout/images/typography.png +0 -0
- package/docs/src/pages/foundations/layout/index.mdx +151 -0
- package/docs/src/pages/foundations/logos.mdx +88 -0
- package/docs/src/pages/foundations/principles.mdx +60 -0
- package/docs/src/pages/foundations/response-time.mdx +124 -0
- package/docs/src/pages/foundations/typography.mdx +8 -0
- package/docs/src/pages/getting-started/index.mdx +9 -0
- package/docs/src/pages/guides/MDX.mdx +17 -0
- package/docs/src/pages/home/HomeBanner.png +0 -0
- package/docs/src/pages/home/homepage.css +23 -0
- package/docs/src/pages/index.js +241 -0
- package/docs/src/pages/introduction/get-started/designers.mdx +89 -0
- package/docs/src/pages/introduction/get-started/developers.mdx +128 -0
- package/docs/src/pages/introduction/what's-new.mdx +801 -0
- package/docs/src/pages/mobile/components/avatar/code.mdx +12 -0
- package/docs/src/pages/mobile/components/avatar/usage.mdx +20 -0
- package/docs/src/pages/mobile/components/badges/code.mdx +16 -0
- package/docs/src/pages/mobile/components/badges/usage.mdx +23 -0
- package/docs/src/pages/mobile/components/breadcrumbs/code.mdx +16 -0
- package/docs/src/pages/mobile/components/breadcrumbs/usage.mdx +34 -0
- package/docs/src/pages/mobile/components/button/code.mdx +12 -0
- package/docs/src/pages/mobile/components/button/content.mdx +1 -0
- package/docs/src/pages/mobile/components/button/usage.mdx +55 -0
- package/docs/src/pages/mobile/components/card/code.mdx +16 -0
- package/docs/src/pages/mobile/components/card/usage.mdx +23 -0
- package/docs/src/pages/mobile/components/checkbox/code.mdx +16 -0
- package/docs/src/pages/mobile/components/checkbox/usage.mdx +49 -0
- package/docs/src/pages/mobile/components/index.mdx +7 -0
- package/docs/src/pages/mobile/components/message/code.mdx +16 -0
- package/docs/src/pages/mobile/components/message/usage.mdx +26 -0
- package/docs/src/pages/mobile/components/overview/index.mdx +8 -0
- package/docs/src/pages/mobile/components/overview/tabs/all-components.mdx +8 -0
- package/docs/src/pages/mobile/components/overview/tabs/status.mdx +115 -0
- package/docs/src/pages/mobile/foundations/colors.mdx +149 -0
- package/docs/src/pages/mobile/foundations/interactions.mdx +192 -0
- package/docs/src/pages/mobile/foundations/layout/images/baseline-grid.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/grid-column.jpeg +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/grid-layout.jpeg +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/grid-margin.jpeg +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/spacing.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/typography.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/index.mdx +151 -0
- package/docs/src/pages/mobile/foundations/logos.mdx +88 -0
- package/docs/src/pages/mobile/foundations/principles.mdx +47 -0
- package/docs/src/pages/mobile/foundations/response-time.mdx +124 -0
- package/docs/src/pages/mobile/foundations/typography.mdx +8 -0
- package/docs/src/pages/patterns/index.mdx +7 -0
- package/docs/src/pages/resources/index.mdx +7 -0
- package/docs/src/util/FooterItems.js +21 -0
- package/docs/src/util/Frontmatter.js +35 -0
- package/docs/src/util/HeaderItems.js +21 -0
- package/docs/src/util/Helpers.js +7 -0
- package/docs/src/util/HomeMenu.js +24 -0
- package/docs/src/util/HomeResources.js +23 -0
- package/docs/src/util/InPageNavItems.js +36 -0
- package/docs/src/util/Logos.js +19 -0
- package/docs/src/util/MdsChangelog.js +55 -0
- package/docs/src/util/MediumBlogs.js +27 -0
- package/docs/src/util/NavItems.js +82 -0
- package/docs/src/util/StorybookData.js +24 -0
- package/docs/src/util/constants.js +7 -0
- package/docs/src/util/context/NavContext.js +54 -0
- package/docs/src/util/hooks/index.js +1 -0
- package/docs/src/util/hooks/useMetadata.js +21 -0
- package/docs/src/util/index.js +4 -0
- package/docs/static/icons/4691539_codesandbox_icon.svg +1 -0
- package/docs/static/icons/card-image.png +0 -0
- package/docs/static/icons/favicon_io/android-chrome-192x192.png +0 -0
- package/docs/static/icons/favicon_io/android-chrome-512x512.png +0 -0
- package/docs/static/icons/favicon_io/apple-touch-icon.png +0 -0
- package/docs/static/icons/favicon_io/favicon-16x16.png +0 -0
- package/docs/static/icons/favicon_io/favicon-32x32.png +0 -0
- package/docs/static/icons/favicon_io/favicon.ico +0 -0
- package/docs/static/images/P360.png +0 -0
- package/docs/static/images/dap.png +0 -0
- package/docs/static/images/default.png +0 -0
- package/docs/static/images/designtoken.png +0 -0
- package/docs/static/images/figma.png +0 -0
- package/docs/static/images/headerLogo.png +0 -0
- package/docs/static/images/inacademy.png +0 -0
- package/docs/static/images/inapi.png +0 -0
- package/docs/static/images/incare.png +0 -0
- package/docs/static/images/inconnect.png +0 -0
- package/docs/static/images/indata.png +0 -0
- package/docs/static/images/ingraph.png +0 -0
- package/docs/static/images/innote.png +0 -0
- package/docs/static/images/inoffice.png +0 -0
- package/docs/static/images/inreport.png +0 -0
- package/docs/static/images/storybook.png +0 -0
- package/docs/static/images/withoutType.png +0 -0
- package/docs/tools/build.sh +6 -0
- package/docs/tools/changelog.sh +1 -0
- package/docs/tools/changeloghead.md +14 -0
- package/docs/tools/develop.sh +5 -0
- package/docs/tools/extract.js +52 -0
- package/docs/tools/update-mds.sh +3 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/tsconfig.type.json +2 -1
- package/docs/AppTutorial.md +0 -474
- package/docs/images/BasicLayout.png +0 -0
- package/docs/images/Breadcrumb.png +0 -0
- package/docs/images/Covid-App.png +0 -0
- package/docs/images/DrilledLayout.png +0 -0
- package/docs/images/DrilledPage.png +0 -0
- package/docs/images/Footer.png +0 -0
- package/docs/images/Graph1.png +0 -0
- package/docs/images/Graph2.png +0 -0
- package/docs/images/Header.png +0 -0
- package/docs/images/Map.png +0 -0
- package/docs/images/StaticComponent.png +0 -0
- package/docs/images/Summary.png +0 -0
- package/docs/images/Table.png +0 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Button guidelines
|
|
3
|
+
description: Use this guide to make your labels predictable and consequential. Your users depend on them, give it some thought and time.
|
|
4
|
+
tabs: ['Confusing buttons', 'Button glossary']
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
#### A
|
|
8
|
+
|
|
9
|
+
<br />
|
|
10
|
+
|
|
11
|
+
##### Access
|
|
12
|
+
|
|
13
|
+
Use it to give permission to enter a website or give access to secured content.
|
|
14
|
+
|
|
15
|
+
<Rules>
|
|
16
|
+
<DOs>
|
|
17
|
+
<InlineMessage>
|
|
18
|
+
<IconWrapper> Access denied </IconWrapper>
|
|
19
|
+
</InlineMessage>
|
|
20
|
+
</DOs>
|
|
21
|
+
<DONTs>
|
|
22
|
+
<InlineMessage>
|
|
23
|
+
<IconWrapper iconType='error'>
|
|
24
|
+
Access Denied!
|
|
25
|
+
</IconWrapper>
|
|
26
|
+
</InlineMessage>
|
|
27
|
+
</DONTs>
|
|
28
|
+
</Rules>
|
|
29
|
+
<br />
|
|
30
|
+
|
|
31
|
+
##### Accept
|
|
32
|
+
|
|
33
|
+
Lets the user agree to an action. See also: Decline
|
|
34
|
+
|
|
35
|
+
<Rules>
|
|
36
|
+
<DOs>
|
|
37
|
+
<InlineMessage>
|
|
38
|
+
<IconWrapper> Accept and continue </IconWrapper>
|
|
39
|
+
</InlineMessage>
|
|
40
|
+
</DOs>
|
|
41
|
+
<DONTs>
|
|
42
|
+
<InlineMessage>
|
|
43
|
+
<IconWrapper iconType='error'>
|
|
44
|
+
Accept & continue
|
|
45
|
+
</IconWrapper>
|
|
46
|
+
</InlineMessage>
|
|
47
|
+
</DONTs>
|
|
48
|
+
</Rules>
|
|
49
|
+
|
|
50
|
+
<br />
|
|
51
|
+
|
|
52
|
+
##### Activate
|
|
53
|
+
|
|
54
|
+
Use it to make an account or profile active.
|
|
55
|
+
|
|
56
|
+
<Rules>
|
|
57
|
+
<DOs>
|
|
58
|
+
<InlineMessage>
|
|
59
|
+
<IconWrapper> Activate account </IconWrapper>
|
|
60
|
+
</InlineMessage>
|
|
61
|
+
</DOs>
|
|
62
|
+
<DONTs>
|
|
63
|
+
<InlineMessage>
|
|
64
|
+
<IconWrapper iconType='error'>
|
|
65
|
+
Activate Your Account!
|
|
66
|
+
</IconWrapper>
|
|
67
|
+
</InlineMessage>
|
|
68
|
+
</DONTs>
|
|
69
|
+
</Rules>
|
|
70
|
+
|
|
71
|
+
<br />
|
|
72
|
+
<br />
|
|
73
|
+
|
|
74
|
+
#### B
|
|
75
|
+
|
|
76
|
+
<br />
|
|
77
|
+
|
|
78
|
+
##### Back
|
|
79
|
+
|
|
80
|
+
Lets the user return to the previous step, page or a window.
|
|
81
|
+
|
|
82
|
+
<Rules>
|
|
83
|
+
<DOs>
|
|
84
|
+
<InlineMessage>
|
|
85
|
+
<IconWrapper> Go back </IconWrapper>
|
|
86
|
+
</InlineMessage>
|
|
87
|
+
</DOs>
|
|
88
|
+
<DONTs>
|
|
89
|
+
<InlineMessage>
|
|
90
|
+
<IconWrapper iconType='error'>
|
|
91
|
+
Go back instead
|
|
92
|
+
</IconWrapper>
|
|
93
|
+
</InlineMessage>
|
|
94
|
+
</DONTs>
|
|
95
|
+
</Rules>
|
|
96
|
+
<br />
|
|
97
|
+
|
|
98
|
+
##### Browse
|
|
99
|
+
|
|
100
|
+
Use it to locate and select desired files or documents from a local or a remote system.
|
|
101
|
+
|
|
102
|
+
<Rules>
|
|
103
|
+
<DOs>
|
|
104
|
+
<InlineMessage>
|
|
105
|
+
<IconWrapper> Browse </IconWrapper>
|
|
106
|
+
</InlineMessage>
|
|
107
|
+
<InlineMessage>
|
|
108
|
+
<IconWrapper> Browse files </IconWrapper>
|
|
109
|
+
</InlineMessage>
|
|
110
|
+
</DOs>
|
|
111
|
+
<DONTs>
|
|
112
|
+
<InlineMessage>
|
|
113
|
+
<IconWrapper iconType = 'error'> Browsing... </IconWrapper>
|
|
114
|
+
</InlineMessage>
|
|
115
|
+
<InlineMessage>
|
|
116
|
+
<IconWrapper iconType = 'error'> Browse another file </IconWrapper>
|
|
117
|
+
</InlineMessage>
|
|
118
|
+
</DONTs>
|
|
119
|
+
|
|
120
|
+
</Rules>
|
|
121
|
+
|
|
122
|
+
<br />
|
|
123
|
+
<br />
|
|
124
|
+
|
|
125
|
+
#### C
|
|
126
|
+
|
|
127
|
+
<br />
|
|
128
|
+
|
|
129
|
+
##### Cancel
|
|
130
|
+
|
|
131
|
+
Use it to cancel the existing action and close the current modal, dialog, page etc.
|
|
132
|
+
|
|
133
|
+
<Rules>
|
|
134
|
+
<DOs>
|
|
135
|
+
<InlineMessage>
|
|
136
|
+
<IconWrapper> Cancel </IconWrapper>
|
|
137
|
+
</InlineMessage>
|
|
138
|
+
</DOs>
|
|
139
|
+
<DONTs>
|
|
140
|
+
<InlineMessage>
|
|
141
|
+
<IconWrapper iconType='error'> Abort </IconWrapper>
|
|
142
|
+
</InlineMessage>
|
|
143
|
+
</DONTs>
|
|
144
|
+
</Rules>
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
#### Take the right Actions
|
|
2
|
+
|
|
3
|
+
<br />
|
|
4
|
+
|
|
5
|
+
##### Create vs New
|
|
6
|
+
|
|
7
|
+
<br />
|
|
8
|
+
|
|
9
|
+
**CREATE**
|
|
10
|
+
|
|
11
|
+
Lets the user start something from scratch like creating an account or a group etc. Prefer 'Create' over 'New'.
|
|
12
|
+
|
|
13
|
+
<Rules>
|
|
14
|
+
<DOs>
|
|
15
|
+
<InlineMessage>
|
|
16
|
+
<IconWrapper> Create account </IconWrapper>
|
|
17
|
+
</InlineMessage>
|
|
18
|
+
<InlineMessage>
|
|
19
|
+
<IconWrapper> Create group </IconWrapper>
|
|
20
|
+
</InlineMessage>
|
|
21
|
+
</DOs>
|
|
22
|
+
<DONTs>
|
|
23
|
+
<InlineMessage>
|
|
24
|
+
<IconWrapper iconType='error'>
|
|
25
|
+
Create a new account
|
|
26
|
+
</IconWrapper>
|
|
27
|
+
</InlineMessage>
|
|
28
|
+
<InlineMessage>
|
|
29
|
+
<IconWrapper iconType='error'>
|
|
30
|
+
Create this group
|
|
31
|
+
</IconWrapper>
|
|
32
|
+
</InlineMessage>
|
|
33
|
+
</DONTs>
|
|
34
|
+
</Rules>
|
|
35
|
+
|
|
36
|
+
<br />
|
|
37
|
+
|
|
38
|
+
**NEW**
|
|
39
|
+
|
|
40
|
+
Lets the user create a new object like documents, files, folders etc.
|
|
41
|
+
|
|
42
|
+
<Rules>
|
|
43
|
+
<DOs>
|
|
44
|
+
<InlineMessage>
|
|
45
|
+
<IconWrapper> New document </IconWrapper>
|
|
46
|
+
</InlineMessage>
|
|
47
|
+
<InlineMessage>
|
|
48
|
+
<IconWrapper> New referral </IconWrapper>
|
|
49
|
+
</InlineMessage>
|
|
50
|
+
</DOs>
|
|
51
|
+
<DONTs>
|
|
52
|
+
<InlineMessage>
|
|
53
|
+
<IconWrapper iconType='error'>
|
|
54
|
+
Create new document
|
|
55
|
+
</IconWrapper>
|
|
56
|
+
</InlineMessage>
|
|
57
|
+
<InlineMessage>
|
|
58
|
+
<IconWrapper iconType='error'>
|
|
59
|
+
Create new referral
|
|
60
|
+
</IconWrapper>
|
|
61
|
+
</InlineMessage>
|
|
62
|
+
</DONTs>
|
|
63
|
+
</Rules>
|
|
64
|
+
|
|
65
|
+
<br />
|
|
66
|
+
|
|
67
|
+
##### Cancel vs Discard
|
|
68
|
+
|
|
69
|
+
**CANCEL**
|
|
70
|
+
|
|
71
|
+
Use it to cancel the existing action and close the current modal, dialog, or page.
|
|
72
|
+
|
|
73
|
+
<Rules>
|
|
74
|
+
<DOs>
|
|
75
|
+
<InlineMessage>
|
|
76
|
+
<IconWrapper> Cancel </IconWrapper>
|
|
77
|
+
</InlineMessage>
|
|
78
|
+
<InlineMessage>
|
|
79
|
+
<IconWrapper> Cancel appointment </IconWrapper>
|
|
80
|
+
</InlineMessage>
|
|
81
|
+
</DOs>
|
|
82
|
+
<DONTs>
|
|
83
|
+
<InlineMessage>
|
|
84
|
+
<IconWrapper iconType='error'> Abort </IconWrapper>
|
|
85
|
+
</InlineMessage>
|
|
86
|
+
<InlineMessage>
|
|
87
|
+
<IconWrapper iconType='error'>
|
|
88
|
+
Cancel the appointment
|
|
89
|
+
</IconWrapper>
|
|
90
|
+
</InlineMessage>
|
|
91
|
+
</DONTs>
|
|
92
|
+
</Rules>
|
|
93
|
+
|
|
94
|
+
<br />
|
|
95
|
+
|
|
96
|
+
**DISCARD**
|
|
97
|
+
|
|
98
|
+
Lets the user create a new object like documents, files, folders etc.
|
|
99
|
+
|
|
100
|
+
<Rules>
|
|
101
|
+
<DOs>
|
|
102
|
+
<InlineMessage>
|
|
103
|
+
<IconWrapper> Discard changes </IconWrapper>
|
|
104
|
+
</InlineMessage>
|
|
105
|
+
</DOs>
|
|
106
|
+
<DONTs>
|
|
107
|
+
<InlineMessage>
|
|
108
|
+
<IconWrapper iconType='error'>
|
|
109
|
+
Discard the changes?
|
|
110
|
+
</IconWrapper>
|
|
111
|
+
</InlineMessage>
|
|
112
|
+
</DONTs>
|
|
113
|
+
</Rules>
|
|
114
|
+
|
|
115
|
+
<br />
|
|
116
|
+
|
|
117
|
+
##### Exit vs Quit
|
|
118
|
+
|
|
119
|
+
**EXIT**
|
|
120
|
+
|
|
121
|
+
Lets the user leave the existing application or website by closing the page or window. Prefer 'Exit' over 'Quit'.
|
|
122
|
+
|
|
123
|
+
<Rules>
|
|
124
|
+
<DOs>
|
|
125
|
+
<InlineMessage>
|
|
126
|
+
<IconWrapper> Exit </IconWrapper>
|
|
127
|
+
</InlineMessage>
|
|
128
|
+
</DOs>
|
|
129
|
+
<DONTs>
|
|
130
|
+
<InlineMessage>
|
|
131
|
+
<IconWrapper iconType='error'>Exit page </IconWrapper>
|
|
132
|
+
</InlineMessage>
|
|
133
|
+
</DONTs>
|
|
134
|
+
</Rules>
|
|
135
|
+
|
|
136
|
+
<br />
|
|
137
|
+
|
|
138
|
+
**QUIT**
|
|
139
|
+
|
|
140
|
+
Use it to shut the application and exit the page.
|
|
141
|
+
|
|
142
|
+
<Rules>
|
|
143
|
+
<DOs>
|
|
144
|
+
<InlineMessage>
|
|
145
|
+
<IconWrapper> Quit </IconWrapper>
|
|
146
|
+
</InlineMessage>
|
|
147
|
+
</DOs>
|
|
148
|
+
<DONTs>
|
|
149
|
+
<InlineMessage>
|
|
150
|
+
<IconWrapper iconType='error'> Quit app </IconWrapper>
|
|
151
|
+
</InlineMessage>
|
|
152
|
+
</DONTs>
|
|
153
|
+
</Rules>
|
|
154
|
+
|
|
155
|
+
<br />
|
|
156
|
+
|
|
157
|
+
#### Remember to
|
|
158
|
+
|
|
159
|
+
<ul>
|
|
160
|
+
<li>Use verbs for initiating an action</li>
|
|
161
|
+
<li>
|
|
162
|
+
Use consistent words for labels throughout the product
|
|
163
|
+
</li>
|
|
164
|
+
<li>
|
|
165
|
+
Use sentence case for labels and buttons even if the
|
|
166
|
+
text is long
|
|
167
|
+
</li>
|
|
168
|
+
<li>
|
|
169
|
+
Keep your microcopy short and crisp without getting
|
|
170
|
+
vague
|
|
171
|
+
</li>
|
|
172
|
+
<li>Avoid punctuations for microcopy</li>
|
|
173
|
+
<li>
|
|
174
|
+
Avoid unnecessary words such as 'a', 'an', 'the' etc
|
|
175
|
+
</li>
|
|
176
|
+
<li>
|
|
177
|
+
Avoid the use of Ampersand, always use the full word
|
|
178
|
+
'and'
|
|
179
|
+
</li>
|
|
180
|
+
<li>
|
|
181
|
+
Avoid tricky words, stick to simple recognizable words
|
|
182
|
+
</li>
|
|
183
|
+
<li>Avoid using branded terms for labels and buttons</li>
|
|
184
|
+
</ul>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Email guidelines
|
|
3
|
+
description: Use these guiding principles to make you emails authentic, relevant and focused.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
#### Writing subject lines
|
|
7
|
+
|
|
8
|
+
Write a direct subject line to avoid confusion.
|
|
9
|
+
|
|
10
|
+
<Rules>
|
|
11
|
+
<DOs>
|
|
12
|
+
<InlineMessage>
|
|
13
|
+
<IconWrapper>
|
|
14
|
+
Action required: Confirm your email address
|
|
15
|
+
</IconWrapper>
|
|
16
|
+
</InlineMessage>
|
|
17
|
+
<br />
|
|
18
|
+
<InlineMessage>
|
|
19
|
+
<IconWrapper>
|
|
20
|
+
Welcome to Innovaccer-app: Here's how to take your
|
|
21
|
+
first step
|
|
22
|
+
</IconWrapper>
|
|
23
|
+
</InlineMessage>
|
|
24
|
+
</DOs>
|
|
25
|
+
<DONTs>
|
|
26
|
+
<InlineMessage>
|
|
27
|
+
<IconWrapper iconType='error'>
|
|
28
|
+
Confirm email address on Innovaccer app to proceed
|
|
29
|
+
further
|
|
30
|
+
</IconWrapper>
|
|
31
|
+
</InlineMessage>
|
|
32
|
+
<InlineMessage>
|
|
33
|
+
<IconWrapper iconType='error'>
|
|
34
|
+
New account: Login to Innovaccer
|
|
35
|
+
</IconWrapper>
|
|
36
|
+
</InlineMessage>
|
|
37
|
+
</DONTs>
|
|
38
|
+
</Rules>
|
|
39
|
+
<br />
|
|
40
|
+
|
|
41
|
+
#### Writing salutations
|
|
42
|
+
|
|
43
|
+
Greet your recipients appropriately. Make use of professional salutations. Use ‘Hi’ or ‘Hello’ instead of ‘Yo’ and ‘Hey’.
|
|
44
|
+
|
|
45
|
+
<Rules>
|
|
46
|
+
<DOs>
|
|
47
|
+
<InlineMessage>
|
|
48
|
+
<IconWrapper>
|
|
49
|
+
Hello James, As requested, we have updated your
|
|
50
|
+
email from maryjames05@innovaccer.com to
|
|
51
|
+
james.mary@innovaccer.com. You can also go to the
|
|
52
|
+
innovaccer-app to see the changes.
|
|
53
|
+
</IconWrapper>
|
|
54
|
+
</InlineMessage>
|
|
55
|
+
<div class='ml-7'>
|
|
56
|
+
<Button>Go to app</Button>
|
|
57
|
+
<br />
|
|
58
|
+
If you didn't make this request, please ignore the
|
|
59
|
+
email or reach out to the support team.
|
|
60
|
+
</div>
|
|
61
|
+
<InlineMessage>
|
|
62
|
+
<IconWrapper>
|
|
63
|
+
Hi James, Sorry! We had to lock your account because
|
|
64
|
+
we didn’t see you for the last 90 days. Please
|
|
65
|
+
submit a request to the system administrator to get
|
|
66
|
+
it unlocked.
|
|
67
|
+
</IconWrapper>
|
|
68
|
+
</InlineMessage>
|
|
69
|
+
<div class='ml-7'>
|
|
70
|
+
<Button>Send request</Button>
|
|
71
|
+
<br />
|
|
72
|
+
If you didn't make this request, please ignore the
|
|
73
|
+
email or reach out to the support team.
|
|
74
|
+
</div>
|
|
75
|
+
</DOs>
|
|
76
|
+
<DONTs>
|
|
77
|
+
<InlineMessage>
|
|
78
|
+
<IconWrapper iconType='error'>
|
|
79
|
+
Hey, As requested, we have updated your email from
|
|
80
|
+
maryjames05@innovaccer.com to
|
|
81
|
+
james.mary@innovaccer.com. You can also go to the
|
|
82
|
+
innovaccer-app to see the changes.
|
|
83
|
+
</IconWrapper>
|
|
84
|
+
</InlineMessage>
|
|
85
|
+
<div class='ml-7'>
|
|
86
|
+
<Button>Send request</Button>
|
|
87
|
+
<br />
|
|
88
|
+
If you didn't make this request, please ignore the
|
|
89
|
+
email or reach out to the support team.
|
|
90
|
+
</div>
|
|
91
|
+
<InlineMessage>
|
|
92
|
+
<IconWrapper iconType='error'>
|
|
93
|
+
Yo, Sorry! We had to lock your account because we
|
|
94
|
+
didn’t see you for the last 90 days. Please submit a
|
|
95
|
+
request to the system administrator to get it
|
|
96
|
+
unlocked.
|
|
97
|
+
</IconWrapper>
|
|
98
|
+
</InlineMessage>
|
|
99
|
+
<div class='ml-7'>
|
|
100
|
+
<Button>Send request</Button>
|
|
101
|
+
<br />
|
|
102
|
+
If you didn't make this request, please ignore the
|
|
103
|
+
email or reach out to the support team.
|
|
104
|
+
</div>
|
|
105
|
+
</DONTs>
|
|
106
|
+
</Rules>
|
|
107
|
+
<br />
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Empty states
|
|
3
|
+
description: Never let your users go empty-handed. Turn the dead-end into a delightful experience. Use this guide to educate, direct, and amaze your users
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
#### Give delightful experience
|
|
7
|
+
|
|
8
|
+
Turn the dead-end into a delightful experience
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Error messages
|
|
3
|
+
description: Your error messages could be the last straw for users to move forward or abort the process in the middle. Use this guide to help users navigate their way and turn their delay into an experience.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
#### Remember to
|
|
7
|
+
|
|
8
|
+
<ul>
|
|
9
|
+
<li>Provide a solution to users</li>
|
|
10
|
+
<li>Avoid using technical jargons </li>
|
|
11
|
+
<li>Put statements in positive form</li>
|
|
12
|
+
<li>Don't take the humor overboard</li>
|
|
13
|
+
<li>Avoid using condescending language</li>
|
|
14
|
+
<li>Avoid using the word ‘error’ in the error message</li>
|
|
15
|
+
<li>Avoid error summaries with long paragraphs</li>
|
|
16
|
+
<li>Avoid sounding robotic to the user</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
#### Inline validation errors
|
|
20
|
+
|
|
21
|
+
<Rules>
|
|
22
|
+
<DOs>
|
|
23
|
+
<InlineMessage>
|
|
24
|
+
<IconWrapper>
|
|
25
|
+
Hey, that mobile number looks familiar. Want to sign
|
|
26
|
+
in?
|
|
27
|
+
</IconWrapper>
|
|
28
|
+
</InlineMessage>
|
|
29
|
+
<InlineMessage>
|
|
30
|
+
<IconWrapper>
|
|
31
|
+
Sorry! We don't recognize that ID. Please try again.
|
|
32
|
+
</IconWrapper>
|
|
33
|
+
</InlineMessage>
|
|
34
|
+
<InlineMessage>
|
|
35
|
+
<IconWrapper>
|
|
36
|
+
These passwords look poles apart. Please recheck.
|
|
37
|
+
</IconWrapper>
|
|
38
|
+
</InlineMessage>
|
|
39
|
+
</DOs>
|
|
40
|
+
<DONTs>
|
|
41
|
+
<InlineMessage>
|
|
42
|
+
<IconWrapper iconType='error'>
|
|
43
|
+
Mobile number already registered please sign in to
|
|
44
|
+
proceed.
|
|
45
|
+
</IconWrapper>
|
|
46
|
+
</InlineMessage>
|
|
47
|
+
<InlineMessage>
|
|
48
|
+
<IconWrapper iconType='error'>
|
|
49
|
+
Organization Code/ID entered is not valid. Try
|
|
50
|
+
again.
|
|
51
|
+
</IconWrapper>
|
|
52
|
+
</InlineMessage>
|
|
53
|
+
<InlineMessage>
|
|
54
|
+
<IconWrapper iconType='error'>
|
|
55
|
+
Passwords do not match.
|
|
56
|
+
</IconWrapper>
|
|
57
|
+
</InlineMessage>
|
|
58
|
+
</DONTs>
|
|
59
|
+
</Rules>
|
|
60
|
+
<br />
|
|
61
|
+
|
|
62
|
+
#### Blocking errors
|
|
63
|
+
|
|
64
|
+
<Rules>
|
|
65
|
+
<DOs>
|
|
66
|
+
<InlineMessage>
|
|
67
|
+
<IconWrapper>
|
|
68
|
+
<b>Somethings are not in our hands</b>
|
|
69
|
+
</IconWrapper>
|
|
70
|
+
</InlineMessage>
|
|
71
|
+
<div className='ml-7'>
|
|
72
|
+
Breathe in... Breathe out... Breathe in... Breathe
|
|
73
|
+
out... Till the time we fix this issue for you.
|
|
74
|
+
</div>
|
|
75
|
+
<InlineMessage>
|
|
76
|
+
<IconWrapper>
|
|
77
|
+
<b>Oh no!</b>
|
|
78
|
+
</IconWrapper>
|
|
79
|
+
</InlineMessage>
|
|
80
|
+
<div className='ml-7'>
|
|
81
|
+
You have stepped into the most deserted space called
|
|
82
|
+
404. Let's get you back home.
|
|
83
|
+
</div>
|
|
84
|
+
</DOs>
|
|
85
|
+
<DONTs>
|
|
86
|
+
<InlineMessage>
|
|
87
|
+
<IconWrapper iconType='error'>
|
|
88
|
+
<div>
|
|
89
|
+
<b>Oops! Something went wrong</b>
|
|
90
|
+
</div>
|
|
91
|
+
</IconWrapper>
|
|
92
|
+
</InlineMessage>
|
|
93
|
+
<div className='ml-7'>
|
|
94
|
+
Please wait while we are trying to fix the issue.
|
|
95
|
+
</div>
|
|
96
|
+
<br />
|
|
97
|
+
<InlineMessage>
|
|
98
|
+
<IconWrapper iconType='error'>
|
|
99
|
+
<b>Error 404</b>
|
|
100
|
+
</IconWrapper>
|
|
101
|
+
</InlineMessage>
|
|
102
|
+
<div className='ml-7'>Page not found!</div>
|
|
103
|
+
</DONTs>
|
|
104
|
+
</Rules>
|
|
105
|
+
<br />
|
|
106
|
+
|
|
107
|
+
#### Warning errors
|
|
108
|
+
|
|
109
|
+
<Rules>
|
|
110
|
+
<DOs>
|
|
111
|
+
<InlineMessage>
|
|
112
|
+
<IconWrapper>
|
|
113
|
+
You've still got some unfinished goals.
|
|
114
|
+
</IconWrapper>
|
|
115
|
+
<div class='ml-7'>
|
|
116
|
+
<div class='d-flex mt-6'>
|
|
117
|
+
<Button>Continue</Button>
|
|
118
|
+
<Button class='ml-4'>Go back</Button>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
</InlineMessage>
|
|
122
|
+
<InlineMessage>
|
|
123
|
+
<IconWrapper>
|
|
124
|
+
<b>Your upload failed!</b>
|
|
125
|
+
</IconWrapper>
|
|
126
|
+
<div class='ml-7'>
|
|
127
|
+
Don't worry this is not the last resort.
|
|
128
|
+
<Button class='mt-6'>Try again</Button>
|
|
129
|
+
<Button class='mt-6'>Download report</Button>
|
|
130
|
+
</div>
|
|
131
|
+
</InlineMessage>
|
|
132
|
+
</DOs>
|
|
133
|
+
<DONTs>
|
|
134
|
+
<InlineMessage>
|
|
135
|
+
<IconWrapper iconType='error'>
|
|
136
|
+
There are some unfinished goals!
|
|
137
|
+
</IconWrapper>
|
|
138
|
+
</InlineMessage>
|
|
139
|
+
<br />
|
|
140
|
+
<br />
|
|
141
|
+
<InlineMessage>
|
|
142
|
+
<IconWrapper iconType='error'>
|
|
143
|
+
<b>Upload failed!</b>
|
|
144
|
+
</IconWrapper>
|
|
145
|
+
<div class='ml-7'>
|
|
146
|
+
Try again, Fail again, Fail better!
|
|
147
|
+
<Button class='mt-6'>Try again</Button>
|
|
148
|
+
<Button class='mt-6'>Download report</Button>
|
|
149
|
+
</div>
|
|
150
|
+
</InlineMessage>
|
|
151
|
+
|
|
152
|
+
</DONTs>
|
|
153
|
+
</Rules>
|
|
154
|
+
<br />
|
|
155
|
+
|
|
156
|
+
#### Checklist to remember
|
|
157
|
+
|
|
158
|
+
<ul>
|
|
159
|
+
<li>Be direct but never robotic</li>
|
|
160
|
+
<li>Be friendly but never cocky</li>
|
|
161
|
+
<li>Don't take the humor overboard</li>
|
|
162
|
+
<li>Don't take the humor overboard</li>
|
|
163
|
+
<li>Avoid technical jargons</li>
|
|
164
|
+
<li>Sound positive</li>
|
|
165
|
+
</ul>
|