@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,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Meta list
|
|
3
|
+
description: Meta list is a short horizontal list of meta/secondary information.
|
|
4
|
+
tabs: ['Usage']
|
|
5
|
+
showMobile: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Meta list is a short horizontal list that helps in displaying secondary or meta-information separated by dots.
|
|
9
|
+
|
|
10
|
+
### Variants
|
|
11
|
+
#### Default
|
|
12
|
+
The default variant includes just text.
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
<br/>
|
|
16
|
+
|
|
17
|
+
#### With icon
|
|
18
|
+
This variant comes with an icon in the left preceding the text to provide additional cues regarding the meta/secondary information.
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
<br/>
|
|
22
|
+
<br/>
|
|
23
|
+
|
|
24
|
+
### Sizes
|
|
25
|
+
Meta list comes in two sizes - regular and small.
|
|
26
|
+
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
### Properties
|
|
30
|
+
<table style="width: 100%">
|
|
31
|
+
<tbody>
|
|
32
|
+
<tr>
|
|
33
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
34
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
35
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr style="vertical-align: top">
|
|
38
|
+
<td>Size</td>
|
|
39
|
+
<td>
|
|
40
|
+
<ul>
|
|
41
|
+
<li>Regular</li>
|
|
42
|
+
<li>Small</li>
|
|
43
|
+
</ul>
|
|
44
|
+
</td>
|
|
45
|
+
<td>Regular</td>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr style="vertical-align: top">
|
|
48
|
+
<td>Icon left<br/><em>(optional)</em></td>
|
|
49
|
+
<td><icon name></td>
|
|
50
|
+
<td>-</td>
|
|
51
|
+
</tr>
|
|
52
|
+
<tr style="vertical-align: top">
|
|
53
|
+
<td>Separator</td>
|
|
54
|
+
<td>
|
|
55
|
+
<ul>
|
|
56
|
+
<li>True</li>
|
|
57
|
+
<li>False</li>
|
|
58
|
+
</ul>
|
|
59
|
+
</td>
|
|
60
|
+
<td>True</td>
|
|
61
|
+
</tr>
|
|
62
|
+
</tbody>
|
|
63
|
+
</table>
|
|
64
|
+
<br/>
|
|
65
|
+
|
|
66
|
+
### Usage
|
|
67
|
+
#### In list item
|
|
68
|
+
List items can use meta list to display secondary/meta information.
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
<br/>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Slider
|
|
3
|
+
description: A slider lets user select a value (or range) from a given range of values.
|
|
4
|
+
tabs: ['Usage']
|
|
5
|
+
showMobile: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Types
|
|
9
|
+
|
|
10
|
+
Based on usage, sliders are of two types -
|
|
11
|
+
|
|
12
|
+
#### Default slider
|
|
13
|
+
|
|
14
|
+
The default slider can be used whenever selection of a single value is required out of a range.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
#### Range slider
|
|
19
|
+
|
|
20
|
+
Range slider is used if the user wants to select a range instead of a single value.
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
### Variants
|
|
25
|
+
|
|
26
|
+
Based on selection, sliders have two variants -
|
|
27
|
+
|
|
28
|
+
#### Discrete slider
|
|
29
|
+
|
|
30
|
+
In the case of discrete slier, while dragging slider knob will snap from one tick mark to the other.
|
|
31
|
+
No values between two tick marks can be selected.
|
|
32
|
+
|
|
33
|
+

|
|
34
|
+
|
|
35
|
+
#### Free slider
|
|
36
|
+
|
|
37
|
+
In the case of free slider, while dragging slider knob can move to each and every intermediate value possible.
|
|
38
|
+
Values between tick marks can also be selected.
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
### Properties
|
|
43
|
+
<table style="width: 100%">
|
|
44
|
+
<tbody>
|
|
45
|
+
<tr>
|
|
46
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
47
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
48
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr style="vertical-align: top">
|
|
51
|
+
<td>Label<br/><em>(optional)</em></td>
|
|
52
|
+
<td><label></td>
|
|
53
|
+
<td>-</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr style="vertical-align: top">
|
|
56
|
+
<td>Ticks</td>
|
|
57
|
+
<td><ticks></td>
|
|
58
|
+
<td>-</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr style="vertical-align: top">
|
|
61
|
+
<td>Numbers<br/><em>(optional)</em></td>
|
|
62
|
+
<td><numbers></td>
|
|
63
|
+
<td>-</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr style="vertical-align: top">
|
|
66
|
+
<td>Step size</td>
|
|
67
|
+
<td><size></td>
|
|
68
|
+
<td>1</td>
|
|
69
|
+
</tr>
|
|
70
|
+
</tbody>
|
|
71
|
+
</table>
|
|
72
|
+
<br/>
|
|
73
|
+
|
|
74
|
+
### Usage
|
|
75
|
+
|
|
76
|
+
#### Pairing with metric inputs
|
|
77
|
+
|
|
78
|
+
Use slider with metric inputs for better accessibility in the case where **choosing a specific value** is important.
|
|
79
|
+
|
|
80
|
+

|
|
81
|
+
|
|
82
|
+
<br/>
|
|
83
|
+
<br/>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Status hint
|
|
3
|
+
description: Status hint is used to highlight the status of an item.
|
|
4
|
+
tabs: ['Usage']
|
|
5
|
+
showMobile: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Status hints are used to indicate the status of an entity.
|
|
9
|
+
|
|
10
|
+
### Appearance
|
|
11
|
+
|
|
12
|
+
Status hint comes in 5 Appearances -
|
|
13
|
+
|
|
14
|
+
#### Info
|
|
15
|
+
|
|
16
|
+
<br/>
|
|
17
|
+
<br/>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
<br/>
|
|
23
|
+
|
|
24
|
+
#### Warning
|
|
25
|
+
|
|
26
|
+
<br/>
|
|
27
|
+
<br/>
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
<br/>
|
|
32
|
+
|
|
33
|
+
#### Success
|
|
34
|
+
|
|
35
|
+
<br/>
|
|
36
|
+
<br/>
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
#### Alert
|
|
41
|
+
|
|
42
|
+
<br/>
|
|
43
|
+
<br/>
|
|
44
|
+
|
|
45
|
+

|
|
46
|
+
|
|
47
|
+
<br/>
|
|
48
|
+
|
|
49
|
+
#### Default
|
|
50
|
+
|
|
51
|
+
<br/>
|
|
52
|
+
<br/>
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
<br/>
|
|
57
|
+
|
|
58
|
+
### Properties
|
|
59
|
+
<table style="width: 100%">
|
|
60
|
+
<tbody>
|
|
61
|
+
<tr>
|
|
62
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
63
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
64
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr style="vertical-align: top">
|
|
67
|
+
<td>Appearance</td>
|
|
68
|
+
<td>
|
|
69
|
+
<ul>
|
|
70
|
+
<li>Default</li>
|
|
71
|
+
<li>Info</li>
|
|
72
|
+
<li>Success</li>
|
|
73
|
+
<li>Warning</li>
|
|
74
|
+
<li>Alert</li>
|
|
75
|
+
</ul>
|
|
76
|
+
</td>
|
|
77
|
+
<td>Default</td>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr style="vertical-align: top">
|
|
80
|
+
<td>Label</td>
|
|
81
|
+
<td><label></td>
|
|
82
|
+
<td>-</td>
|
|
83
|
+
</tr>
|
|
84
|
+
</tbody>
|
|
85
|
+
</table>
|
|
86
|
+
<br/>
|
|
87
|
+
|
|
88
|
+
### Usage
|
|
89
|
+
|
|
90
|
+
<br/>
|
|
91
|
+
|
|
92
|
+
#### Overflow behavior
|
|
93
|
+
|
|
94
|
+
When the label is too long to fit the horizontal space available, it wraps to form another line.
|
|
95
|
+
|
|
96
|
+

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

|
|
106
|
+
|
|
107
|
+
<br/>
|
|
108
|
+
<br/>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Steppers
|
|
3
|
+
description: Steppers are used to help users keep track in a multi-step workflow
|
|
4
|
+
tabs: ['Usage']
|
|
5
|
+
showMobile: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Stepper is used to help users keep track of their progress in a multi-step workflow. It is recommended to break down a long process into multiple steps using a stepper to help users keep track of their progress while completing a task.
|
|
9
|
+
|
|
10
|
+
<br/>
|
|
11
|
+
|
|
12
|
+
### Structure
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
<br/>
|
|
17
|
+
|
|
18
|
+
### Properties
|
|
19
|
+
<table style="width: 100%">
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr>
|
|
22
|
+
<th style="width:33%; text-align: left;">Property</th>
|
|
23
|
+
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
24
|
+
<th style="width:33%; text-align: left;">Default value</th>
|
|
25
|
+
</tr>
|
|
26
|
+
<tr style="vertical-align: top">
|
|
27
|
+
<td>Height (of a stepper item)</td>
|
|
28
|
+
<td>4px</td>
|
|
29
|
+
<td>-</td>
|
|
30
|
+
</tr>
|
|
31
|
+
<tr style="vertical-align: top">
|
|
32
|
+
<td>Width</td>
|
|
33
|
+
<td><width></td>
|
|
34
|
+
<td>343px</td>
|
|
35
|
+
</tr>
|
|
36
|
+
<tr style="vertical-align: top">
|
|
37
|
+
<td>Corner radius (of the active stepper item)</td>
|
|
38
|
+
<td>4px</td>
|
|
39
|
+
<td>-</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr style="vertical-align: top">
|
|
42
|
+
<td>Spacing between stepper items</td>
|
|
43
|
+
<td>0px</td>
|
|
44
|
+
<td>-</td>
|
|
45
|
+
</tr>
|
|
46
|
+
</tbody>
|
|
47
|
+
</table>
|
|
48
|
+
<br/>
|
|
49
|
+
|
|
50
|
+
### Usage
|
|
51
|
+
|
|
52
|
+
<br/>
|
|
53
|
+
|
|
54
|
+
#### Actions placement
|
|
55
|
+
|
|
56
|
+
<br/>
|
|
57
|
+
|
|
58
|
+
##### Back and Next actions
|
|
59
|
+
|
|
60
|
+
Back and Next actions are placed at the bottom of the screen.
|
|
61
|
+
|
|
62
|
+
##### Cancel action
|
|
63
|
+
|
|
64
|
+
To cancel or close the entire process, the close button is present in the header.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
##### Skip action
|
|
68
|
+
|
|
69
|
+
To skip a specific step, a label button is used in the header.
|
|
70
|
+
|
|
71
|
+

|
|
72
|
+
|
|
73
|
+
<br/>
|
|
74
|
+
<br/>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
#### Skipping a step
|
|
78
|
+
|
|
79
|
+
A stepper can also have a skippable/optional step. Users can skip the step for the time being and can navigate back to it, to fill it again before completing the progress.
|
|
80
|
+
|
|
81
|
+
In case of an optional step, an additional step-specific action “Skip step” gets added in the header.
|
|
82
|
+
|
|
83
|
+

|
|
84
|
+
|
|
85
|
+
<br/>
|
|
86
|
+
<br/>
|
|
87
|
+
|
|
88
|
+
##### Skipping the last step
|
|
89
|
+
|
|
90
|
+
In case the last step is supposed to be optional, relabel the Skip button to **Skip** and **Finish**.
|
|
91
|
+
|
|
92
|
+

|
|
93
|
+
|
|
94
|
+
<br/>
|
|
95
|
+
<br/>
|
|
96
|
+
|
|
97
|
+
#### Mandatory vs. Optional step
|
|
98
|
+
|
|
99
|
+
In case of a mandatory step, the 'Next' button is disabled until and unless all the required fields are completed.
|
|
100
|
+
|
|
101
|
+
In case of an optional step, the entire step can be skipped using the **"Skip step"** button in top right. But if the users want to fill that step, the **'Next'** button becomes enabled when at least 1 field is completed.
|
|
102
|
+
|
|
103
|
+
**Note:** If a conditional workflow is triggered in an optional step that has some required fields, the 'Next' button remains disabled until all such fields are completed.
|
|
104
|
+
|
|
105
|
+

|
|
106
|
+
|
|
107
|
+
#### Closing the process
|
|
108
|
+
|
|
109
|
+
An action sheet can be used to present additional closing actions such as 'Save as draft' before closing the process using the stepper.
|
|
110
|
+
|
|
111
|
+

|
|
Binary file
|
|
@@ -47,4 +47,6 @@ While designing the app interfaces, it's recommended to make the touch targets f
|
|
|
47
47
|
Along with the size, make sure that the touch targets are separated well enough so that the users don't end up clicking on the wrong component.
|
|
48
48
|
|
|
49
49
|
### Background color
|
|
50
|
-
To keep the experience uniform across all the devices, the background color on a mobile app is the same as web i.e. Stone Lightest (#F4F4F4). Sheets and modals have a white background (#FFFFFF).
|
|
50
|
+
To keep the experience uniform across all the devices, the background color on a mobile app is the same as web i.e. Stone Lightest (#F4F4F4). Sheets and modals have a white background (#FFFFFF).
|
|
51
|
+
|
|
52
|
+

|
|
@@ -110,217 +110,3 @@ The **Back button (←)** present at the top left is used to navigate back throu
|
|
|
110
110
|
|
|
111
111
|
<img style="width: 100%" src="/images/pageTypes-3.gif" alt="Stacking of non-modal pages" />
|
|
112
112
|
<br/>
|
|
113
|
-
|
|
114
|
-
### Modal Pages
|
|
115
|
-
Modal pages are those which the users can dismiss or cancel. Hence, they are suitable for end-to-end self-contained transactions* such as creating, editing, deleting an entity.
|
|
116
|
-
|
|
117
|
-
For the limited time frame of these transactions, a modal page takes the users out of the general user flow, lets them focus on the action, and then takes them back to where they started. The data edited or changed through such screens generally requires an action to either save or discard the changes.
|
|
118
|
-
|
|
119
|
-
The **Cancel button ( X )** present at the top left is used to return to the main flow.
|
|
120
|
-
|
|
121
|
-
**Note:** Self-contained transactions are those which have a clear start and endpoint such as creating an entity, editing an entity, etc.
|
|
122
|
-
|
|
123
|
-
##### Properties
|
|
124
|
-
<table style="width: 100%">
|
|
125
|
-
<tbody>
|
|
126
|
-
<tr>
|
|
127
|
-
<th style="width:33%; text-align: left;">Property</th>
|
|
128
|
-
<th style="width:33%; text-align: left;">Value(s)</th>
|
|
129
|
-
<th style="width:33%; text-align: left;">Default value</th>
|
|
130
|
-
</tr>
|
|
131
|
-
<tr style="vertical-align: top">
|
|
132
|
-
<td>Action</td>
|
|
133
|
-
<td>Close button (Back button from 2nd step onwards)</td>
|
|
134
|
-
<td>-</td>
|
|
135
|
-
</tr>
|
|
136
|
-
<tr style="vertical-align: top">
|
|
137
|
-
<td>Background color</td>
|
|
138
|
-
<td>namak</td>
|
|
139
|
-
<td>-</td>
|
|
140
|
-
</tr>
|
|
141
|
-
<tr style="vertical-align: top">
|
|
142
|
-
<td>Page transition</td>
|
|
143
|
-
<td>Slide-up(bottom to top) (Slide-in from 2nd step onwards)</td>
|
|
144
|
-
<td>-</td>
|
|
145
|
-
</tr>
|
|
146
|
-
</tbody>
|
|
147
|
-
</table>
|
|
148
|
-
<br/>
|
|
149
|
-
|
|
150
|
-
##### Single step
|
|
151
|
-
These are the most basic type of modal pages, where there is only one step in the flow.
|
|
152
|
-
|
|
153
|
-
**Transitions**
|
|
154
|
-
|
|
155
|
-
**Opening the modal**
|
|
156
|
-
<table style="width: 100%">
|
|
157
|
-
<tbody>
|
|
158
|
-
<tr style="vertical-align: top">
|
|
159
|
-
<td>Interaction</td>
|
|
160
|
-
<td>Move-in(bottom to top)</td>
|
|
161
|
-
</tr>
|
|
162
|
-
<tr style="vertical-align: top">
|
|
163
|
-
<td>Style of motion</td>
|
|
164
|
-
<td>Expressive motion</td>
|
|
165
|
-
</tr>
|
|
166
|
-
<tr style="vertical-align: top">
|
|
167
|
-
<td>Easing</td>
|
|
168
|
-
<td>Entrance easing</td>
|
|
169
|
-
</tr>
|
|
170
|
-
<tr style="vertical-align: top">
|
|
171
|
-
<td>Curve</td>
|
|
172
|
-
<td>cubic-bezier(0,0,0.3,1)</td>
|
|
173
|
-
</tr>
|
|
174
|
-
<tr style="vertical-align: top">
|
|
175
|
-
<td>Duration</td>
|
|
176
|
-
<td>240ms</td>
|
|
177
|
-
</tr>
|
|
178
|
-
</tbody>
|
|
179
|
-
</table>
|
|
180
|
-
<br/>
|
|
181
|
-
|
|
182
|
-
**Closing the modal**
|
|
183
|
-
<table style="width: 100%">
|
|
184
|
-
<tbody>
|
|
185
|
-
<tr style="vertical-align: top">
|
|
186
|
-
<td>Interaction</td>
|
|
187
|
-
<td>Move-out(top to bottom)</td>
|
|
188
|
-
</tr>
|
|
189
|
-
<tr style="vertical-align: top">
|
|
190
|
-
<td>Style of motion</td>
|
|
191
|
-
<td>Expressive motion</td>
|
|
192
|
-
</tr>
|
|
193
|
-
<tr style="vertical-align: top">
|
|
194
|
-
<td>Easing</td>
|
|
195
|
-
<td>Exit easing</td>
|
|
196
|
-
</tr>
|
|
197
|
-
<tr style="vertical-align: top">
|
|
198
|
-
<td>Curve</td>
|
|
199
|
-
<td>cubic-bezier(0.4, 0.14, 1, 1)</td>
|
|
200
|
-
</tr>
|
|
201
|
-
<tr style="vertical-align: top">
|
|
202
|
-
<td>Duration</td>
|
|
203
|
-
<td>240ms</td>
|
|
204
|
-
</tr>
|
|
205
|
-
</tbody>
|
|
206
|
-
</table>
|
|
207
|
-
<br/>
|
|
208
|
-
|
|
209
|
-
<img style="width: 100%" src="/images/pageTypes-4.gif" alt="A modal page" />
|
|
210
|
-
<br/>
|
|
211
|
-
|
|
212
|
-
##### Multi-step
|
|
213
|
-
For cases where the transactions such as creating an entity take more than one step, stacking of the subpages is done. The users can navigate back through the steps using the Back button which takes place of the Cancel button from the 2nd step onwards.
|
|
214
|
-
|
|
215
|
-
**Transitions**
|
|
216
|
-
|
|
217
|
-
**Opening the modal**
|
|
218
|
-
<table style="width: 100%">
|
|
219
|
-
<tbody>
|
|
220
|
-
<tr style="vertical-align: top">
|
|
221
|
-
<td>Interaction</td>
|
|
222
|
-
<td>Move-in(bottom to top)</td>
|
|
223
|
-
</tr>
|
|
224
|
-
<tr style="vertical-align: top">
|
|
225
|
-
<td>Style of motion</td>
|
|
226
|
-
<td>Expressive motion</td>
|
|
227
|
-
</tr>
|
|
228
|
-
<tr style="vertical-align: top">
|
|
229
|
-
<td>Easing</td>
|
|
230
|
-
<td>Entrance easing</td>
|
|
231
|
-
</tr>
|
|
232
|
-
<tr style="vertical-align: top">
|
|
233
|
-
<td>Curve</td>
|
|
234
|
-
<td>cubic-bezier(0,0,0.3,1)</td>
|
|
235
|
-
</tr>
|
|
236
|
-
<tr style="vertical-align: top">
|
|
237
|
-
<td>Duration</td>
|
|
238
|
-
<td>240ms</td>
|
|
239
|
-
</tr>
|
|
240
|
-
</tbody>
|
|
241
|
-
</table>
|
|
242
|
-
<br/>
|
|
243
|
-
|
|
244
|
-
**Navigating to the next steps**
|
|
245
|
-
<table style="width: 100%">
|
|
246
|
-
<tbody>
|
|
247
|
-
<tr style="vertical-align: top">
|
|
248
|
-
<td>Interaction</td>
|
|
249
|
-
<td>Slide-in(right to left)</td>
|
|
250
|
-
</tr>
|
|
251
|
-
<tr style="vertical-align: top">
|
|
252
|
-
<td>Style of motion</td>
|
|
253
|
-
<td>Expressive motion</td>
|
|
254
|
-
</tr>
|
|
255
|
-
<tr style="vertical-align: top">
|
|
256
|
-
<td>Easing</td>
|
|
257
|
-
<td>Entrance easing</td>
|
|
258
|
-
</tr>
|
|
259
|
-
<tr style="vertical-align: top">
|
|
260
|
-
<td>Curve</td>
|
|
261
|
-
<td>cubic-bezier(0,0,0.3,1)</td>
|
|
262
|
-
</tr>
|
|
263
|
-
<tr style="vertical-align: top">
|
|
264
|
-
<td>Duration</td>
|
|
265
|
-
<td>240ms</td>
|
|
266
|
-
</tr>
|
|
267
|
-
</tbody>
|
|
268
|
-
</table>
|
|
269
|
-
<br/>
|
|
270
|
-
|
|
271
|
-
**Navigating back to the previous steps**
|
|
272
|
-
<table style="width: 100%">
|
|
273
|
-
<tbody>
|
|
274
|
-
<tr style="vertical-align: top">
|
|
275
|
-
<td>Interaction</td>
|
|
276
|
-
<td>Slide-out(left to right)</td>
|
|
277
|
-
</tr>
|
|
278
|
-
<tr style="vertical-align: top">
|
|
279
|
-
<td>Style of motion</td>
|
|
280
|
-
<td>Expressive motion</td>
|
|
281
|
-
</tr>
|
|
282
|
-
<tr style="vertical-align: top">
|
|
283
|
-
<td>Easing</td>
|
|
284
|
-
<td>Exit easing</td>
|
|
285
|
-
</tr>
|
|
286
|
-
<tr style="vertical-align: top">
|
|
287
|
-
<td>Curve</td>
|
|
288
|
-
<td>cubic-bezier(0.4, 0.14, 1, 1)</td>
|
|
289
|
-
</tr>
|
|
290
|
-
<tr style="vertical-align: top">
|
|
291
|
-
<td>Duration</td>
|
|
292
|
-
<td>240ms</td>
|
|
293
|
-
</tr>
|
|
294
|
-
</tbody>
|
|
295
|
-
</table>
|
|
296
|
-
<br/>
|
|
297
|
-
|
|
298
|
-
**Closing the modal**
|
|
299
|
-
<table style="width: 100%">
|
|
300
|
-
<tbody>
|
|
301
|
-
<tr style="vertical-align: top">
|
|
302
|
-
<td>Interaction</td>
|
|
303
|
-
<td>Move-out(top to bottom)</td>
|
|
304
|
-
</tr>
|
|
305
|
-
<tr style="vertical-align: top">
|
|
306
|
-
<td>Style of motion</td>
|
|
307
|
-
<td>Expressive motion</td>
|
|
308
|
-
</tr>
|
|
309
|
-
<tr style="vertical-align: top">
|
|
310
|
-
<td>Easing</td>
|
|
311
|
-
<td>Exit easing</td>
|
|
312
|
-
</tr>
|
|
313
|
-
<tr style="vertical-align: top">
|
|
314
|
-
<td>Curve</td>
|
|
315
|
-
<td>cubic-bezier(0.4, 0.14, 1, 1)</td>
|
|
316
|
-
</tr>
|
|
317
|
-
<tr style="vertical-align: top">
|
|
318
|
-
<td>Duration</td>
|
|
319
|
-
<td>240ms</td>
|
|
320
|
-
</tr>
|
|
321
|
-
</tbody>
|
|
322
|
-
</table>
|
|
323
|
-
<br/>
|
|
324
|
-
|
|
325
|
-
<img style="width: 100%" src="/images/pageTypes-5.gif" alt="Multiple steps in a modal page" />
|
|
326
|
-
<br/>
|
|
@@ -16,6 +16,11 @@ The scale has a difference of 4px for values under 24px after which the scale ha
|
|
|
16
16
|
<th style="width:33%; text-align: left;">Value</th>
|
|
17
17
|
<th style="width:33%; text-align: left;"></th>
|
|
18
18
|
</tr>
|
|
19
|
+
<tr style="vertical-align: top">
|
|
20
|
+
<td>spacing-0_25</td>
|
|
21
|
+
<td>1px</td>
|
|
22
|
+
<td>Outlier</td>
|
|
23
|
+
</tr>
|
|
19
24
|
<tr style="vertical-align: top">
|
|
20
25
|
<td>spacing-0_5</td>
|
|
21
26
|
<td>2px</td>
|