@innovaccer/design-system 2.13.3 → 2.13.4-2
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/core/components/atoms/button/__stories__/SplitButton.story.jsx +1 -2
- package/core/components/atoms/checkbox/__stories__/Alignment.story.jsx +28 -26
- package/core/components/atoms/checkbox/__stories__/variants/Controlled.story.jsx +2 -2
- package/core/components/atoms/chip/__stories__/index.story.jsx +2 -2
- package/core/components/atoms/chip/__stories__/variants/Action.story.jsx +2 -2
- package/core/components/atoms/chip/__stories__/variants/Input.story.jsx +2 -2
- package/core/components/atoms/chip/__stories__/variants/Selection.story.jsx +6 -6
- package/core/components/atoms/chip/__stories__/variants/Type.story.jsx +2 -2
- package/core/components/atoms/chipGroup/_stories_/index.story.jsx +1 -1
- package/core/components/atoms/collapsible/__stories__/CustomTrigger.story.jsx +5 -71
- package/core/components/atoms/dropdown/Dropdown.tsx +18 -2
- package/core/components/atoms/dropdown/DropdownList.tsx +47 -57
- package/core/components/atoms/dropdown/__stories__/CustomSearchPlaceholder.story.jsx +4 -4
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithCheckbox.story.jsx +1 -3
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithIcon.story.jsx +2 -4
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithInfo.story.jsx +2 -5
- package/core/components/atoms/dropdown/__stories__/DropdownWIthIcon.story.jsx +3 -4
- package/core/components/atoms/dropdown/__stories__/DropdownWithActionButtons.story.jsx +9 -9
- package/core/components/atoms/dropdown/__stories__/DropdownWithCaption.story.jsx +7 -7
- package/core/components/atoms/dropdown/__stories__/Gender.story.jsx +6 -6
- package/core/components/atoms/dropdown/__stories__/LabelInline.story.jsx +58 -0
- package/core/components/atoms/dropdown/__stories__/{LabelPositionInDropdown.story.jsx → LabelOnTop.story.jsx} +8 -9
- package/core/components/atoms/dropdown/__stories__/Languages.story.jsx +6 -6
- package/core/components/atoms/dropdown/__stories__/Menu.story.jsx +5 -6
- package/core/components/atoms/dropdown/__stories__/OptionsLessThan50.story.jsx +3 -7
- package/core/components/atoms/dropdown/__stories__/OptionsMoreThan50.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/SearchInDropdown.story.jsx +3 -5
- package/core/components/atoms/dropdown/__stories__/StandardDropdown.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/StatusWithoutLabel.story.jsx +3 -3
- package/core/components/atoms/dropdown/__stories__/WithCheckboxAndSubInfo.story.jsx +2 -4
- package/core/components/atoms/dropdown/__stories__/index.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/variants/LoadingType.story.jsx +0 -1
- package/core/components/atoms/dropdown/__stories__/variants/PreSelection.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/variants/StaticLimit.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/BulkMultiSelectWithApply.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/MultiSelect.story.jsx +2 -2
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/SingleSelect.story.jsx +4 -4
- package/core/components/atoms/dropdown/option/DefaultOption.tsx +1 -1
- package/core/components/atoms/dropdown/utility.tsx +6 -0
- package/core/components/atoms/icon/__stories__/variants/Image.story.jsx +1 -6
- package/core/components/atoms/input/__stories__/variants/Size.story.jsx +9 -9
- package/core/components/atoms/input/__stories__/variants/controlledInput.story.jsx +3 -3
- package/core/components/atoms/metaList/_stories_/index.story.jsx +0 -1
- package/core/components/atoms/rangeSlider/__stories__/index.story.jsx +2 -2
- package/core/components/atoms/rangeSlider/__stories__/variants/Controlled.story.jsx +2 -2
- package/core/components/atoms/slider/__stories__/variants/Controlled.story.jsx +2 -2
- package/core/components/css-utilities/Miscellaneous/Miscellaneous.story.tsx +4 -0
- package/core/components/molecules/dropzone/FileSelectorUtils.tsx +3 -0
- package/core/components/molecules/editableDropdown/__stories__/index.story.jsx +2 -2
- package/core/components/molecules/fullscreenModal/__stories__/DefaultWidth.story.jsx +4 -2
- package/core/components/molecules/fullscreenModal/__stories__/LargeWidth.story.jsx +4 -2
- package/core/components/molecules/fullscreenModal/__stories__/Layering.story.jsx +3 -1
- package/core/components/molecules/fullscreenModal/__stories__/Scrolling.story.jsx +4 -2
- package/core/components/molecules/fullscreenModal/__stories__/TwoStepWorkflow.story.jsx +1 -2
- package/core/components/molecules/fullscreenModal/__stories__/twoSteps.story.jsx +0 -1
- package/core/components/molecules/fullscreenModal/__stories__/variants/dimension/Large.story.jsx +0 -1
- package/core/components/molecules/fullscreenModal/__stories__/variants/dimension/Medium.story.jsx +0 -1
- package/core/components/molecules/modal/__stories__/Alert.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/Confirmation.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/Dialog.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/Input.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/Layering.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/NoFooter.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/Scrolling.story.jsx +4 -2
- package/core/components/molecules/modal/__stories__/index.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/old.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/variants/dimension/Large.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/variants/dimension/Medium.story.jsx +3 -1
- package/core/components/molecules/modal/__stories__/variants/dimension/Small.story.jsx +3 -1
- package/core/components/molecules/popover/__stories__/Actions.story.jsx +1 -6
- package/core/components/molecules/popover/__stories__/Inputs.story.jsx +1 -6
- package/core/components/molecules/popover/__stories__/Light.story.jsx +1 -6
- package/core/components/molecules/popover/__stories__/variants/boundaryElement.story.jsx +1 -1
- package/core/components/molecules/sidesheet/__stories__/index.story.jsx +3 -1
- package/core/components/molecules/sidesheet/__stories__/variants/CustomHeader.story.jsx +3 -1
- package/core/components/molecules/sidesheet/__stories__/variants/Layering.story.jsx +3 -1
- package/core/components/molecules/sidesheet/__stories__/variants/LayeringWithModal.story.jsx +3 -1
- package/core/components/molecules/sidesheet/__stories__/variants/dimension/Large.story.jsx +3 -1
- package/core/components/molecules/sidesheet/__stories__/variants/dimension/Regular.story.jsx +4 -2
- package/core/components/molecules/sidesheet/__stories__/variants/stickyFooter.story.jsx +3 -1
- package/core/components/molecules/sidesheet/__stories__/variants/twoSteps.story.jsx +6 -4
- package/core/components/molecules/tabs/__stories__/DismissibleTab.story.jsx +1 -0
- package/core/components/molecules/tooltip/__stories__/variants/Position.story.jsx +2 -13
- package/core/components/organisms/calendar/__stories__/index.story.jsx +40 -7
- package/core/components/organisms/calendar/__stories__/variants/size.story.jsx +2 -3
- package/core/components/organisms/datePicker/DatePicker.tsx +1 -1
- package/core/components/organisms/dateRangePicker/__stories__/variants/withSingleInput.story.jsx +3 -0
- package/core/components/organisms/horizontalNav/__stories__/leftAlign.story.jsx +35 -19
- package/core/components/organisms/inlineMessage/__stories__/variants/Default.story.jsx +1 -3
- package/core/components/organisms/inlineMessage/__stories__/variants/Error.story.jsx +1 -3
- package/core/components/organisms/inlineMessage/__stories__/variants/Info.story.jsx +1 -3
- package/core/components/organisms/inlineMessage/__stories__/variants/Success.story.jsx +1 -3
- package/core/components/organisms/inlineMessage/__stories__/variants/Warning.story.jsx +1 -3
- package/core/components/organisms/pageHeader/__stories__/Responsiveness.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/variants/withNavigation.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/variants/withNavigationL1.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/variants/withStepper.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/variants/withStepperL1.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/variants/withTabs.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/variants/withTabsL1.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/withFilter.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/withFilterL1.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/withNavigation.story.jsx +2 -2
- package/core/components/organisms/pageHeader/__stories__/withNavigationL1.story.jsx +9 -3
- package/core/components/organisms/pageHeader/__stories__/withStepperL1.story.jsx +4 -4
- package/core/components/organisms/table/__stories__/TableAsDescriptionList.story.jsx +4 -4
- package/core/components/organisms/timePicker/TimePicker.tsx +6 -113
- package/core/components/organisms/timePicker/TimePickerWithInput.tsx +124 -0
- package/core/components/organisms/timePicker/TimePickerWithSearch.tsx +198 -0
- package/core/components/organisms/timePicker/__stories__/TimeIntervals.story.jsx +52 -0
- package/core/components/organisms/timePicker/__stories__/disabledOption.story.jsx +52 -0
- package/core/components/organisms/timePicker/__stories__/fromTo.story.jsx +72 -0
- package/core/components/organisms/timePicker/__stories__/showDuration.story.jsx +52 -0
- package/core/components/organisms/timePicker/__stories__/withDatePicker.story.jsx +88 -0
- package/core/components/organisms/timePicker/__stories__/{index.story.jsx → withInput.story.jsx} +6 -3
- package/core/components/organisms/timePicker/__stories__/withSearch.story.jsx +89 -0
- package/core/components/organisms/timePicker/__tests__/TimePickerWithSearch.test.tsx +464 -0
- package/core/components/organisms/timePicker/__tests__/__snapshots__/TimePickerWithSearch.test.tsx.snap +169 -0
- package/core/components/organisms/timePicker/index.tsx +2 -0
- package/core/components/organisms/timePicker/utility/searchUtils.tsx +295 -0
- package/core/components/organisms/timePicker/utility/timePickerUtility.tsx +219 -0
- package/core/components/organisms/timePicker/utils.tsx +1 -1
- package/core/components/organisms/verticalNav/MenuItem.tsx +11 -6
- package/core/components/organisms/verticalNav/__stories__/CustomOptionsRenderer.story.jsx +10 -9
- package/core/components/organisms/verticalNav/__stories__/CustomTrigger.story.jsx +14 -12
- package/core/components/organisms/verticalNav/__stories__/FlatEdgedVerticalNav.story.jsx +5 -5
- package/core/components/organisms/verticalNav/__stories__/LabelOverflowBehaviour.story.jsx +9 -15
- package/core/components/organisms/verticalNav/__tests__/__snapshots__/VerticalNav.test.tsx.snap +26 -24
- package/core/index.tsx +1 -0
- package/css/dist/index.css +9 -8
- package/css/dist/index.css.map +1 -1
- package/css/src/components/dropdown.css +6 -6
- package/css/src/components/metricInput.css +1 -0
- package/css/src/components/verticalNav.css +2 -0
- package/dist/core/components/atoms/dropdown/Dropdown.d.ts +2 -0
- package/dist/core/components/atoms/dropdown/DropdownList.d.ts +1 -0
- package/dist/core/components/atoms/dropdown/utility.d.ts +1 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +22 -22
- package/dist/core/components/organisms/datePicker/DatePicker.d.ts +1 -1
- package/dist/core/components/organisms/timePicker/TimePicker.d.ts +5 -13
- package/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts +24 -0
- package/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts +32 -0
- package/dist/core/components/organisms/timePicker/index.d.ts +2 -0
- package/dist/core/components/organisms/timePicker/utility/searchUtils.d.ts +7 -0
- package/dist/core/components/organisms/timePicker/utility/timePickerUtility.d.ts +19 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/index.esm.js +719 -52
- package/dist/index.js +648 -74
- 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 +32 -1
- package/docs/.prettierrc +6 -0
- package/docs/README.md +14 -0
- package/docs/cypress/e2e/main.cy.js +35 -0
- package/docs/cypress/fixtures/example.json +5 -0
- package/docs/cypress/support/commands.ts +37 -0
- package/docs/cypress/support/e2e.ts +20 -0
- package/docs/cypress.config.js +9 -0
- package/docs/package.json +16 -3
- package/docs/src/components/Colors/Colors.css +4 -0
- package/docs/src/components/Colors/Colors.js +56 -61
- package/docs/src/components/Container/ComponentsContainer.js +10 -30
- package/docs/src/components/Container/Container.js +10 -41
- package/docs/src/components/ErrorBoundary.js +9 -3
- package/docs/src/components/Footer/Footer.js +11 -10
- package/docs/src/components/GlobalSearch/index.js +47 -44
- package/docs/src/components/Header/Header.css +4 -0
- package/docs/src/components/Header/Header.js +25 -19
- package/docs/src/components/Layout.js +59 -303
- package/docs/src/components/LeftNav/LeftNav.js +12 -28
- package/docs/src/components/Logos/Logos.js +12 -26
- package/docs/src/components/MDXComponents.js +213 -0
- package/docs/src/components/MDXHeading.js +12 -18
- package/docs/src/components/Meta.js +9 -9
- package/docs/src/components/PropsTable/ArgJsDoc.tsx +2 -6
- package/docs/src/components/PropsTable/ArgRow.tsx +19 -47
- package/docs/src/components/PropsTable/ArgValue.tsx +50 -93
- package/docs/src/components/PropsTable/EmptyBlock.tsx +2 -5
- package/docs/src/components/PropsTable/SectionRow.tsx +7 -18
- package/docs/src/components/PropsTable/Table.tsx +43 -130
- package/docs/src/components/PropsTable/generateImports.tsx +1 -3
- package/docs/src/components/PropsTable/index.js +94 -140
- package/docs/src/components/PropsTable/prism.css +19 -20
- package/docs/src/components/Rules/DONTs.js +1 -6
- package/docs/src/components/Rules/DOs.js +1 -6
- package/docs/src/components/Rules/IconWrapper.js +6 -7
- package/docs/src/components/Rules/InlineMessage.js +1 -5
- package/docs/src/components/Rules/Rules.js +18 -28
- package/docs/src/components/TableOfContent/TableOfContent.css +8 -1
- package/docs/src/components/TableOfContent/TableOfContent.js +67 -58
- package/docs/src/components/css/global.css +1 -1
- package/docs/src/components/css/prism.css +1 -1
- package/docs/src/components/css/style.css +13 -5
- package/docs/src/components/templates/Default.js +1 -1
- package/docs/src/components/templates/Homepage.js +4 -6
- package/docs/src/data/components/Overview.js +49 -56
- package/docs/src/data/components/images/Calendar.png +0 -0
- package/docs/src/data/components/images/MetaList.png +0 -0
- package/docs/src/data/components/images/PageHeader.png +0 -0
- package/docs/src/data/components/images/TimePicker.png +0 -0
- package/docs/src/data/components/images/mobile/Badge.png +0 -0
- package/docs/src/data/components/images/mobile/Dropdown.png +0 -0
- package/docs/src/data/components/images/mobile/Message.png +0 -0
- package/docs/src/data/components/images/mobile/MetaList.png +0 -0
- package/docs/src/data/components/images/mobile/Slider.png +0 -0
- package/docs/src/data/components/images/mobile/StatusHint.png +0 -0
- package/docs/src/data/components/images/mobile/Stepper.png +0 -0
- package/docs/src/data/components/index.js +168 -321
- package/docs/src/data/components/mobile.js +85 -125
- package/docs/src/data/components/overview.css +4 -2
- package/docs/src/data/components/patterns.js +25 -59
- package/docs/src/data/header-items.yaml +1 -0
- package/docs/src/data/nav/components.yaml +2 -8
- package/docs/src/pages/404.js +7 -17
- package/docs/src/pages/components/avatar/usage.mdx +23 -19
- package/docs/src/pages/components/calendar/usage.mdx +3 -3
- package/docs/src/pages/components/checkbox/usage.mdx +1 -1
- package/docs/src/pages/components/chips/images/actionchip-state.png +0 -0
- package/docs/src/pages/components/chips/images/inputchips-state.png +0 -0
- package/docs/src/pages/components/chips/images/selectionchip-state.png +0 -0
- package/docs/src/pages/components/chips/usage.mdx +24 -2
- package/docs/src/pages/components/datePicker/images/datePicker-3.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-6.png +0 -0
- package/docs/src/pages/components/datePicker/usage.mdx +9 -2
- package/docs/src/pages/components/dropdowns/usage.mdx +1 -1
- package/docs/src/pages/components/inlineEditableFields/images/inlineEditableField-2.png +0 -0
- package/docs/src/pages/components/inlineEditableFields/images/inlineEditableField-3.png +0 -0
- package/docs/src/pages/components/inlineEditableFields/images/inlineEditableFields-1.png +0 -0
- package/docs/src/pages/components/inlineEditableFields/images/inlineEditableFields-4.png +0 -0
- package/docs/src/pages/components/inlineEditableFields/usage.mdx +4 -4
- package/docs/src/pages/components/inputs/usage.mdx +7 -7
- package/docs/src/pages/components/tabs/images/tabs-1.png +0 -0
- package/docs/src/pages/content/button-guidelines/tabs/button-glossary.mdx +1776 -1
- package/docs/src/pages/content/button-guidelines/tabs/confusing-buttons.mdx +479 -8
- package/docs/src/pages/content/email-guidelines.mdx +3 -3
- package/docs/src/pages/content/house-rules/tabs/date,-time-&-numbers.mdx +24 -0
- package/docs/src/pages/content/house-rules/tabs/grammer.mdx +42 -2
- package/docs/src/pages/content/house-rules/tabs/punctuations.mdx +32 -0
- package/docs/src/pages/foundations/colors.mdx +338 -24
- package/docs/src/pages/foundations/layout/index.mdx +57 -82
- package/docs/src/pages/foundations/response-time.mdx +32 -77
- package/docs/src/pages/foundations/typography.mdx +166 -0
- package/docs/src/pages/index.js +92 -121
- package/docs/src/pages/introduction/get-started/designers.mdx +28 -188
- package/docs/src/pages/introduction/get-started/images/designers-1.png +0 -0
- package/docs/src/pages/introduction/get-started/images/designers-2.png +0 -0
- package/docs/src/pages/introduction/what's-new.mdx +322 -15
- package/docs/src/pages/mobile/components/badges/images/badge-1.png +0 -0
- package/docs/src/pages/mobile/components/badges/images/badge-2.png +0 -0
- package/docs/src/pages/mobile/components/badges/images/badge-3.png +0 -0
- package/docs/src/pages/mobile/components/badges/images/badge-4.png +0 -0
- package/docs/src/pages/mobile/components/badges/images/badge-5.png +0 -0
- package/docs/src/pages/mobile/components/badges/usage.mdx +100 -0
- package/docs/src/pages/mobile/components/card/images/mcard-1.png +0 -0
- package/docs/src/pages/mobile/components/card/images/mcard-2.png +0 -0
- package/docs/src/pages/mobile/components/card/images/mcard-3.png +0 -0
- package/docs/src/pages/mobile/components/card/images/mcard-4.png +0 -0
- package/docs/src/pages/mobile/components/card/images/mcard-5.png +0 -0
- package/docs/src/pages/mobile/components/card/images/mcard-6.png +0 -0
- package/docs/src/pages/mobile/components/card/usage.mdx +54 -67
- package/docs/src/pages/mobile/components/checkbox/images/checkbox-1.png +0 -0
- package/docs/src/pages/mobile/components/checkbox/usage.mdx +26 -2
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-1.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-10.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-11.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-2.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-3.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-4.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-5.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-6.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-7.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-8.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/images/dropdown-9.png +0 -0
- package/docs/src/pages/mobile/components/dropdowns/usage.mdx +88 -0
- package/docs/src/pages/mobile/components/message/images/messages-1.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-10.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-11.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-12.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-2.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-3.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-4.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-5.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-6.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-7.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-8.png +0 -0
- package/docs/src/pages/mobile/components/message/images/messages-9.png +0 -0
- package/docs/src/pages/mobile/components/message/usage.mdx +170 -0
- package/docs/src/pages/mobile/components/metaList/images/metaList-1.png +0 -0
- package/docs/src/pages/mobile/components/metaList/images/metaList-2.png +0 -0
- package/docs/src/pages/mobile/components/metaList/images/metaList-3.png +0 -0
- package/docs/src/pages/mobile/components/metaList/images/metaList-4.png +0 -0
- package/docs/src/pages/mobile/components/metaList/usage.mdx +71 -0
- package/docs/src/pages/mobile/components/slider/images/slider-1.png +0 -0
- package/docs/src/pages/mobile/components/slider/images/slider-2.png +0 -0
- package/docs/src/pages/mobile/components/slider/images/slider-3.png +0 -0
- package/docs/src/pages/mobile/components/slider/images/slider-4.png +0 -0
- package/docs/src/pages/mobile/components/slider/images/slider-5.png +0 -0
- package/docs/src/pages/mobile/components/slider/usage.mdx +83 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-1.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-2.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-3.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-4.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-5.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-6.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/images/statushint-7.png +0 -0
- package/docs/src/pages/mobile/components/statusHint/usage.mdx +108 -0
- package/docs/src/pages/mobile/components/steppers/images/stepper-1.png +0 -0
- package/docs/src/pages/mobile/components/steppers/images/stepper-2.png +0 -0
- package/docs/src/pages/mobile/components/steppers/images/stepper-3.png +0 -0
- package/docs/src/pages/mobile/components/steppers/images/stepper-4.png +0 -0
- package/docs/src/pages/mobile/components/steppers/images/stepper-5.png +0 -0
- package/docs/src/pages/mobile/components/steppers/images/stepper-6.png +0 -0
- package/docs/src/pages/mobile/components/steppers/usage.mdx +111 -0
- package/docs/src/pages/mobile/foundations/layout/images/layout-2.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/index.mdx +3 -1
- package/docs/src/pages/mobile/foundations/page-types/index.mdx +0 -214
- package/docs/src/pages/mobile/foundations/spacing/index.mdx +5 -0
- package/docs/src/pages/mobile/foundations/typography.mdx +1 -1
- package/docs/src/pages/patterns/uiStates/usage.mdx +92 -0
- package/docs/src/util/Frontmatter.js +4 -4
- package/docs/src/util/HeaderItems.js +2 -1
- package/docs/src/util/Helpers.js +3 -3
- package/docs/src/util/HomeIcons.js +91 -53
- package/docs/src/util/InPageNavItems.js +2 -6
- package/docs/src/util/Logos.js +2 -2
- package/docs/src/util/MdsChangelog.js +5 -10
- package/docs/src/util/MediumBlogs.js +13 -13
- package/docs/src/util/NavItems.js +14 -17
- package/docs/src/util/Search.js +2 -2
- package/docs/src/util/StorybookData.js +2 -4
- package/docs/src/util/constants.js +1 -5
- package/docs/src/util/context/NavContext.js +1 -4
- package/docs/src/util/hooks/useMetadata.js +1 -1
- package/docs/tools/build.sh +1 -0
- package/docs/tools/changelog.sh +1 -1
- package/package.json +3 -3
- package/docs/src/pages/components/index.mdx +0 -11
- package/docs/src/pages/components/inlineEditableFields/images/inlineEditableFields-2.png +0 -0
- package/docs/src/pages/components/inlineEditableFields/images/inlineEditableFields-3.png +0 -0
- package/docs/src/pages/content/button-guidelines/index.mdx +0 -7
- package/docs/src/pages/content/voice-and-tone-guidelines/index.mdx +0 -7
- package/docs/src/pages/introduction/get-started/images/designers-3.png +0 -0
- package/docs/src/pages/introduction/get-started/images/designers-4.png +0 -0
- package/docs/src/pages/introduction/get-started/images/designers-5.png +0 -0
- package/docs/src/pages/introduction/get-started/images/designers-6.png +0 -0
- package/docs/src/pages/introduction/get-started/images/designers-7.png +0 -0
- package/docs/src/pages/introduction/get-started/images/designers-8.png +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Badges
|
|
3
|
+
description: Badges are used to tag entities with concise and relevant information.
|
|
4
|
+
component: badge
|
|
5
|
+
tabs: ["Usage"]
|
|
6
|
+
showMobile: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Badges contain short labels that help in 'tagging' entities. The container of a badge is rounded at the corners.
|
|
10
|
+
<br/>
|
|
11
|
+
|
|
12
|
+
### Types
|
|
13
|
+
<br />
|
|
14
|
+
|
|
15
|
+
#### Solid
|
|
16
|
+
|
|
17
|
+
Solid badges are used to highlight important information on the page so that they can be recognized easily. They use solid color to easily pop out in a page.
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
#### Subtle
|
|
22
|
+
|
|
23
|
+
Subtle badges are used when a lot of entities on a single page need tagging/labeling. In that case, using solid badges becomes a bit overwhelming e.g. tags in a list. This is why subtle badges use the lightest shade of the colors.
|
|
24
|
+
|
|
25
|
+

|
|
26
|
+
<br/>
|
|
27
|
+
|
|
28
|
+
### Appearances
|
|
29
|
+
A badge comes in 9 appearances.
|
|
30
|
+
|
|
31
|
+

|
|
32
|
+
<br/>
|
|
33
|
+
|
|
34
|
+
### Properties
|
|
35
|
+
<table style="width: 100%">
|
|
36
|
+
<tbody>
|
|
37
|
+
<tr>
|
|
38
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
39
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
40
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
41
|
+
</tr>
|
|
42
|
+
<tr style="vertical-align: top">
|
|
43
|
+
<td>Appearance</td>
|
|
44
|
+
<td>
|
|
45
|
+
<ul>
|
|
46
|
+
<li>Jal</li>
|
|
47
|
+
<li>Stone</li>
|
|
48
|
+
<li>Neem</li>
|
|
49
|
+
<li>Haldi</li>
|
|
50
|
+
<li>Mirch</li>
|
|
51
|
+
<li>Tawak</li>
|
|
52
|
+
<li>Nimbu</li>
|
|
53
|
+
<li>Neel</li>
|
|
54
|
+
<li>Jamun</li>
|
|
55
|
+
</ul>
|
|
56
|
+
</td>
|
|
57
|
+
<td>-</td>
|
|
58
|
+
</tr>
|
|
59
|
+
<tr style="vertical-align: top">
|
|
60
|
+
<td>Subtle<br/><em>(optional)</em></td>
|
|
61
|
+
<td>
|
|
62
|
+
<ul>
|
|
63
|
+
<li>True</li>
|
|
64
|
+
<li>False</li>
|
|
65
|
+
</ul>
|
|
66
|
+
</td>
|
|
67
|
+
<td>-</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr style="vertical-align: top">
|
|
70
|
+
<td>Max width</td>
|
|
71
|
+
<td>160px</td>
|
|
72
|
+
<td>-</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr style="vertical-align: top">
|
|
75
|
+
<td>Corner radius</td>
|
|
76
|
+
<td>3px</td>
|
|
77
|
+
<td>-</td>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr style="vertical-align: top">
|
|
80
|
+
<td>Padding<br/><em>(top, right, bottom, left)</em></td>
|
|
81
|
+
<td>2px, 4px, 2px, 4px</td>
|
|
82
|
+
<td>-</td>
|
|
83
|
+
</tr>
|
|
84
|
+
</tbody>
|
|
85
|
+
</table>
|
|
86
|
+
<br/>
|
|
87
|
+
|
|
88
|
+
### Usage
|
|
89
|
+
<br/>
|
|
90
|
+
|
|
91
|
+
#### Badges vs. Pills
|
|
92
|
+
Badges are used for tagging entities while pills are very specifically used to display the count of entities.
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
<br/>
|
|
96
|
+
|
|
97
|
+
#### Badge vs. Status hint
|
|
98
|
+
A badge is used to tag the entities whereas a status hint is used to indicate the status of an entity.
|
|
99
|
+
|
|
100
|
+

|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,12 +7,25 @@ showMobile: true
|
|
|
7
7
|
|
|
8
8
|
Cards act as containers to group related information and actions together. Elements like text and images should be placed inside cards in a way that clearly indicates hierarchy.
|
|
9
9
|
|
|
10
|
-
###
|
|
10
|
+
### Types
|
|
11
11
|
|
|
12
12
|
<br/>
|
|
13
13
|
|
|
14
|
+
#### Default card
|
|
15
|
+
Default card is the most used type of card. It consists of a shadow, Shadow 10 by default.
|
|
16
|
+
|
|
14
17
|

|
|
15
18
|
|
|
19
|
+
#### Flat card
|
|
20
|
+
Flat card is used to either create sections within a default card i.e. card inside a card or use cards on screens with white background.
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
#### High shadow
|
|
25
|
+
High shadow cards are recommended to use when the screen consists of only card type entities. It consists of a shadow, Shadow 40.
|
|
26
|
+
|
|
27
|
+

|
|
28
|
+
|
|
16
29
|
<br/>
|
|
17
30
|
<br/>
|
|
18
31
|
|
|
@@ -20,70 +33,32 @@ Cards act as containers to group related information and actions together. Eleme
|
|
|
20
33
|
|
|
21
34
|
<br/>
|
|
22
35
|
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Property: 'Corner Radius',
|
|
50
|
-
Value: '4px',
|
|
51
|
-
Configurable: '❌',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
Property: 'Border',
|
|
55
|
-
Value: '0px for Default Card, 1px for Flat Card',
|
|
56
|
-
Configurable: '❌',
|
|
57
|
-
},
|
|
58
|
-
]}
|
|
59
|
-
schema={[
|
|
60
|
-
{
|
|
61
|
-
name: 'Property',
|
|
62
|
-
displayName: 'Property',
|
|
63
|
-
width: '34%',
|
|
64
|
-
sorting: false,
|
|
65
|
-
separator: true,
|
|
66
|
-
cellType: 'DEFAULT'
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: 'Value',
|
|
70
|
-
displayName: 'Value',
|
|
71
|
-
width: '33%',
|
|
72
|
-
sorting: false,
|
|
73
|
-
separator: true
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: 'Configurable',
|
|
78
|
-
displayName: 'Configurable?',
|
|
79
|
-
width: '33%',
|
|
80
|
-
sorting: false,
|
|
81
|
-
separator: true
|
|
82
|
-
},
|
|
83
|
-
]}
|
|
84
|
-
withHeader={false}
|
|
85
|
-
/>
|
|
86
|
-
</Card>
|
|
36
|
+
<table style="width: 100%">
|
|
37
|
+
<tbody>
|
|
38
|
+
<tr>
|
|
39
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
40
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
41
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
42
|
+
</tr>
|
|
43
|
+
<tr style="vertical-align: top">
|
|
44
|
+
<td>Style</td>
|
|
45
|
+
<td>
|
|
46
|
+
<ul>
|
|
47
|
+
<li>Shadow 0 (Flat card)</li>
|
|
48
|
+
<li>Shadow 10 (Default shadow)</li>
|
|
49
|
+
<li>Shadow 40 (High shadow)</li>
|
|
50
|
+
</ul>
|
|
51
|
+
</td>
|
|
52
|
+
<td>Shadow 10 (Default shadow)</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr style="vertical-align: top">
|
|
55
|
+
<td>Corner Radius</td>
|
|
56
|
+
<td>8px</td>
|
|
57
|
+
<td>-</td>
|
|
58
|
+
</tr>
|
|
59
|
+
</tbody>
|
|
60
|
+
</table>
|
|
61
|
+
|
|
87
62
|
<br/>
|
|
88
63
|
<br/>
|
|
89
64
|
|
|
@@ -96,7 +71,7 @@ Cards act as containers to group related information and actions together. Eleme
|
|
|
96
71
|
The umbrella view of the card consists of a **header** at the top, the **body**, and the **footer** at the bottom.
|
|
97
72
|
These elements are not always mandatory and can be customized according to the requirements.
|
|
98
73
|
|
|
99
|
-

|
|
100
75
|
|
|
101
76
|
<br/>
|
|
102
77
|
|
|
@@ -112,7 +87,19 @@ All the elements(except the card header) are optional and can be omitted accordi
|
|
|
112
87
|
A card can have multiple sections to show related but distinct information.
|
|
113
88
|
A divider can be used to separate different sections in a card.
|
|
114
89
|
|
|
115
|
-

|
|
116
91
|
|
|
117
92
|
<br/>
|
|
93
|
+
<br/>
|
|
94
|
+
|
|
95
|
+
#### Usage of high shadow cards
|
|
96
|
+
|
|
97
|
+
High shadow cards are recommended to use when the screen consists of only card type entities.
|
|
98
|
+
|
|
99
|
+
For screens where the content is the combination of cards, lists, etc it is not recommended to use the high shadow cards to avoid the inconsistency in the actual and the visual hierarchies of the entities.
|
|
100
|
+
|
|
101
|
+
**Note:** In the example below, the image on the left has only cards hence is a use case for High shadow cards. Whereas in the image on right, using high shadow cards convey a different visual hierarchy for both, the list and the card, even though they are on the same level of information hierarchy.
|
|
102
|
+
|
|
103
|
+

|
|
104
|
+
|
|
118
105
|
<br/>
|
|
Binary file
|
|
@@ -36,9 +36,33 @@ Checkboxes can be checked, unchecked, or indeterminate. Each of the selections h
|
|
|
36
36
|
|
|
37
37
|
<br/>
|
|
38
38
|
|
|
39
|
-
### Properties
|
|
40
|
-
|
|
41
39
|
|
|
40
|
+
### Properties
|
|
41
|
+
<table style="width: 100%">
|
|
42
|
+
<tbody>
|
|
43
|
+
<tr>
|
|
44
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
45
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
46
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr style="vertical-align: top">
|
|
49
|
+
<td>Tappable area</td>
|
|
50
|
+
<td>44x44px</td>
|
|
51
|
+
<td>-</td>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr style="vertical-align: top">
|
|
54
|
+
<td>Label<br/><em>(optional)</em></td>
|
|
55
|
+
<td><label></td>
|
|
56
|
+
<td>-</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr style="vertical-align: top">
|
|
59
|
+
<td>Help text<br/><em>(optional)</em></td>
|
|
60
|
+
<td><help text></td>
|
|
61
|
+
<td>-</td>
|
|
62
|
+
</tr>
|
|
63
|
+
</tbody>
|
|
64
|
+
</table>
|
|
65
|
+
<br/>
|
|
42
66
|
|
|
43
67
|
### Usage
|
|
44
68
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Dropdowns
|
|
3
|
+
description: Dropdowns offer multiple choices in a compact way.
|
|
4
|
+
tabs: ['Usage', 'Code', 'Interactions']
|
|
5
|
+
showMobile: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Dropdowns display a list of options for users to choose from. They provide the option to let users select a single option or multiple.
|
|
9
|
+
|
|
10
|
+
### Structure
|
|
11
|
+
Dropdown is made up of 2 key components - a custom **button** which acts as a trigger and a platform-native **picker** which acts as a container for the options.
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
<br/>
|
|
15
|
+
<br/>
|
|
16
|
+
|
|
17
|
+
### Variants
|
|
18
|
+
<br/>
|
|
19
|
+
|
|
20
|
+
#### Button variants
|
|
21
|
+
The custom button for dropdowns comes with a few variants -
|
|
22
|
+
|
|
23
|
+
##### Standard
|
|
24
|
+
The standard variant consists of just text which changes its state when one or more options are selected.
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
##### With icon
|
|
30
|
+
This variant comes with an icon in the left preceding the text to provide additional cues regarding the type of the options.
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
##### Inline label
|
|
36
|
+
This variant comes with a label preceding the text and can be used at places where there is a space crunch.
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Sizes
|
|
42
|
+
Dropdowns come in **2 sizes** - regular and small.
|
|
43
|
+
|
|
44
|
+

|
|
45
|
+
|
|
46
|
+
### States
|
|
47
|
+
<br/>
|
|
48
|
+
|
|
49
|
+
#### Button states
|
|
50
|
+
The custom button comes in **3 states** - default, active and disabled.
|
|
51
|
+
|
|
52
|
+

|
|
53
|
+
<br/>
|
|
54
|
+
<br/>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Usage
|
|
58
|
+
<br/>
|
|
59
|
+
|
|
60
|
+
#### Label position
|
|
61
|
+
The label provides a better understanding of what kind of selection is expected. Labels can be placed either on the top of the dropdown or can be placed inline with the value or placeholder of the dropdown.
|
|
62
|
+
|
|
63
|
+
![[Left] Label on top, [Right] Inline label](./images/dropdown-7.png)
|
|
64
|
+
|
|
65
|
+
#### Help text
|
|
66
|
+
Help text can be provided beneath a dropdown to add context regarding the type of input required just like the input fields.
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
#### For multi-select
|
|
72
|
+
Native picker supports single-select from a list of options. To provide multi-select, use a list in a bottom sheet or a full screen dialog.
|
|
73
|
+
|
|
74
|
+

|
|
75
|
+
<br/>
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
#### Dropdown vs. Checkbox/Radio
|
|
79
|
+
It is recommended to use dropdowns if the number of single-select options exceeds 5 or if the space is limited, to better utilize the space. Checkbox/Radios should be used if the options are fewer than 5 and there are no space restrictions.
|
|
80
|
+
|
|
81
|
+
![[Left] Checkbox vs. [Right] Dropdown](./images/dropdown-11.png)
|
|
82
|
+
<br/>
|
|
83
|
+
<br/>
|
|
84
|
+
|
|
85
|
+
#### Picker vs. Lists
|
|
86
|
+
For long lists of values which typically load after an API call, display a list in a bottom sheet or a full screen dialog. Include search if needed, for example, a list of cities, organizations, medicines, etc.
|
|
87
|
+
|
|
88
|
+
![[Left] List vs. [Right] Picker](./images/dropdown-10.png)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Messages
|
|
3
|
+
description: Messages are used to provide collective feedback an action or a state.
|
|
4
|
+
tabs: ['Usage']
|
|
5
|
+
showMobile: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Messages are used to provide collective feedback to the users about an action or a state. They have a significant visual loudness to draw users’ attention.
|
|
9
|
+
|
|
10
|
+
### Types
|
|
11
|
+
<br/>
|
|
12
|
+
|
|
13
|
+
#### Standard
|
|
14
|
+
This is the default variant when it comes to messages. It has a significant visual loudness and should be used with caution.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
#### Inline message
|
|
19
|
+
It is the less attention-grabbing counterpart and hence can be used in between components or patterns.
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
### Variants
|
|
24
|
+
|
|
25
|
+
Standard message comes with a few variants -
|
|
26
|
+
#### With title
|
|
27
|
+
A title can be shown at the top of the messages. It is typically used to summarize the description in case it's long.
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
#### With actions
|
|
32
|
+
Actions can be a part of messages and are typically used to directly or indirectly dismiss them.
|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
36
|
+
### Appearances
|
|
37
|
+
Messages come in **4 appearances** basis on the intent -
|
|
38
|
+
|
|
39
|
+
#### Info
|
|
40
|
+
The info appearance is used when the message needs to provide information that requires some attention from the users.
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
#### Warning
|
|
46
|
+
The warning appearance is used when the message needs to notify a warning that might need users' attention.
|
|
47
|
+
|
|
48
|
+

|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
#### Alert
|
|
52
|
+
The alert appearance is used when the message needs to provide an error or failure information that requires immediate attention.
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
#### Success
|
|
58
|
+
The success variant is used when the inline message needs to notify the successful completion of a task or action.
|
|
59
|
+
|
|
60
|
+

|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Properties
|
|
64
|
+
#### Standard message
|
|
65
|
+
<table style="width: 100%">
|
|
66
|
+
<tbody>
|
|
67
|
+
<tr>
|
|
68
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
69
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
70
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr style="vertical-align: top">
|
|
73
|
+
<td>Appearance</td>
|
|
74
|
+
<td>
|
|
75
|
+
<ul>
|
|
76
|
+
<li>Info</li>
|
|
77
|
+
<li>Success</li>
|
|
78
|
+
<li>Warning</li>
|
|
79
|
+
<li>Alert</li>
|
|
80
|
+
</ul>
|
|
81
|
+
</td>
|
|
82
|
+
<td>Info</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr style="vertical-align: top">
|
|
85
|
+
<td>Title<br/><em>(optional)</em></td>
|
|
86
|
+
<td><title></td>
|
|
87
|
+
<td>-</td>
|
|
88
|
+
</tr>
|
|
89
|
+
<tr style="vertical-align: top">
|
|
90
|
+
<td>Description</td>
|
|
91
|
+
<td><description></td>
|
|
92
|
+
<td>-</td>
|
|
93
|
+
</tr>
|
|
94
|
+
<tr style="vertical-align: top">
|
|
95
|
+
<td>Actions<br/><em>(optional)</em></td>
|
|
96
|
+
<td>
|
|
97
|
+
<ul>
|
|
98
|
+
<li>Action 1</li>
|
|
99
|
+
<li>Action 2</li>
|
|
100
|
+
</ul>
|
|
101
|
+
</td>
|
|
102
|
+
<td>-</td>
|
|
103
|
+
</tr>
|
|
104
|
+
</tbody>
|
|
105
|
+
</table>
|
|
106
|
+
<br/>
|
|
107
|
+
|
|
108
|
+
#### Inline message
|
|
109
|
+
<table style="width: 100%">
|
|
110
|
+
<tbody>
|
|
111
|
+
<tr>
|
|
112
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
113
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
114
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr style="vertical-align: top">
|
|
117
|
+
<td>Appearance</td>
|
|
118
|
+
<td>
|
|
119
|
+
<ul>
|
|
120
|
+
<li>Info</li>
|
|
121
|
+
<li>Success</li>
|
|
122
|
+
<li>Warning</li>
|
|
123
|
+
<li>Alert</li>
|
|
124
|
+
</ul>
|
|
125
|
+
</td>
|
|
126
|
+
<td>Info</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr style="vertical-align: top">
|
|
129
|
+
<td>Description</td>
|
|
130
|
+
<td><description></td>
|
|
131
|
+
<td>-</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</tbody>
|
|
134
|
+
</table>
|
|
135
|
+
<br/>
|
|
136
|
+
|
|
137
|
+
### Usage
|
|
138
|
+
<br/>
|
|
139
|
+
|
|
140
|
+
#### Non-dismissive
|
|
141
|
+
Messages are non-dismissive in nature. They appear with the rest of the components and cannot be dismissed directly.
|
|
142
|
+
|
|
143
|
+
#### Position & width of the message component
|
|
144
|
+
|
|
145
|
+
##### Standard
|
|
146
|
+
Message component always appears at the top of a section but just below the header. The width of the message component always spans the width of its container (leaving the appropriate padding) or as per the content appearing below it.
|
|
147
|
+
|
|
148
|
+

|
|
149
|
+
<br/>
|
|
150
|
+
|
|
151
|
+
##### Inline message
|
|
152
|
+
Inline message component appears inline or below the component it is related to, with a 4px margin at the top and spans the width of the component.
|
|
153
|
+
|
|
154
|
+

|
|
155
|
+
|
|
156
|
+
<br/>
|
|
157
|
+
<br/>
|
|
158
|
+
|
|
159
|
+
#### Standard vs. Inline message
|
|
160
|
+
Inline message variant should be used when feedback relative to some specific content has to be provided to the users. Whereas, the standard message variant should be used when collective feedback for a section or an entire page has to be provided to the users.
|
|
161
|
+
|
|
162
|
+

|
|
163
|
+
<br/>
|
|
164
|
+
<br/>
|
|
165
|
+
|
|
166
|
+
#### Inline message vs Help text
|
|
167
|
+
Inline message is used to provide inline feedback regarding a state or action and hence it is reactive (only appears after something has happened, to provide feedback). Whereas help text is used to provide additional information typically appearing just below a component e.g. input, dropdown, etc.
|
|
168
|
+
|
|
169
|
+

|
|
170
|
+
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|