@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
|
@@ -16,70 +16,109 @@ export const PRIMARY_COLORS = [
|
|
|
16
16
|
name: 'Jal - Dark',
|
|
17
17
|
backgroundColor: 'var(--primary-dark)',
|
|
18
18
|
hexCode: '#00509F',
|
|
19
|
-
colorCode: 'rgb(0,
|
|
19
|
+
colorCode: 'rgb(0, 80, 159)',
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
name: 'Jal - Default',
|
|
23
23
|
backgroundColor: 'var(--primary)',
|
|
24
24
|
hexCode: '#0070DD',
|
|
25
|
-
colorCode: 'rgb(0,
|
|
25
|
+
colorCode: 'rgb(0, 112, 221)',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
name: 'Jal - Light',
|
|
29
29
|
backgroundColor: 'var(--primary-light)',
|
|
30
30
|
hexCode: '#4F9DE7',
|
|
31
|
-
colorCode: 'rgb(
|
|
31
|
+
colorCode: 'rgb(79, 157, 231)',
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
name: 'Jal - Lighter',
|
|
35
35
|
backgroundColor: 'var(--primary-lighter)',
|
|
36
36
|
hexCode: '#97C5F0',
|
|
37
|
-
colorCode: 'rgb(
|
|
37
|
+
colorCode: 'rgb(151, 197, 240)',
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
name: 'Jal - Lightest',
|
|
41
41
|
backgroundColor: 'var(--primary-lightest)',
|
|
42
42
|
hexCode: '#DCECF9',
|
|
43
|
-
colorCode: 'rgb(
|
|
43
|
+
colorCode: 'rgb(220, 236, 249)',
|
|
44
44
|
},
|
|
45
45
|
];
|
|
46
46
|
|
|
47
47
|
export const ALERT_COLORS = [
|
|
48
48
|
{
|
|
49
|
-
name: '
|
|
49
|
+
name: 'Mirch - Darker',
|
|
50
50
|
backgroundColor: 'var(--alert-darker)',
|
|
51
51
|
hexCode: '#631919',
|
|
52
|
-
colorCode: 'rgb(
|
|
52
|
+
colorCode: 'rgb(99, 25, 25)',
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
name: '
|
|
55
|
+
name: 'Mirch - Dark',
|
|
56
56
|
backgroundColor: 'var(--alert-dark)',
|
|
57
57
|
hexCode: '#9C2828',
|
|
58
|
-
colorCode: 'rgb(
|
|
58
|
+
colorCode: 'rgb(156, 40, 40)',
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
name: '
|
|
61
|
+
name: 'Mirch - Default',
|
|
62
62
|
backgroundColor: 'var(--alert)',
|
|
63
63
|
hexCode: '#D93737',
|
|
64
|
-
colorCode: 'rgb(
|
|
64
|
+
colorCode: 'rgb(217, 55, 55)',
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
name: '
|
|
67
|
+
name: 'Mirch - Light',
|
|
68
68
|
backgroundColor: 'var(--alert-light)',
|
|
69
69
|
hexCode: '#EB776C',
|
|
70
|
-
colorCode: 'rgb(
|
|
70
|
+
colorCode: 'rgb(235, 119, 108)',
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
name: '
|
|
73
|
+
name: 'Mirch - Lighter',
|
|
74
74
|
backgroundColor: 'var(--alert-lighter)',
|
|
75
75
|
hexCode: '#F7ADA5',
|
|
76
|
-
colorCode: 'rgb(
|
|
76
|
+
colorCode: 'rgb(247, 173, 165)',
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
name: '
|
|
79
|
+
name: 'Mirch - Lightest',
|
|
80
80
|
backgroundColor: 'var(--alert-lightest)',
|
|
81
81
|
hexCode: '#F9E2E2',
|
|
82
|
-
colorCode: 'rgb(
|
|
82
|
+
colorCode: 'rgb(249, 226, 226)',
|
|
83
|
+
},
|
|
84
|
+
];
|
|
85
|
+
|
|
86
|
+
export const SUCCESS_COLORS = [
|
|
87
|
+
{
|
|
88
|
+
name: 'Neem - Darker',
|
|
89
|
+
backgroundColor: 'var(--success-darker)',
|
|
90
|
+
hexCode: '#154D26',
|
|
91
|
+
colorCode: 'rgb(21, 77, 38)',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'Neem - Dark',
|
|
95
|
+
backgroundColor: 'var(--success-dark)',
|
|
96
|
+
hexCode: '#227934',
|
|
97
|
+
colorCode: 'rgb(34, 121, 52)',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Neem - Default',
|
|
101
|
+
backgroundColor: 'var(--success)',
|
|
102
|
+
hexCode: '#2EA843',
|
|
103
|
+
colorCode: 'rgb(46, 168, 67)',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'Neem - Light',
|
|
107
|
+
backgroundColor: 'var(--success-light)',
|
|
108
|
+
hexCode: '#71C077',
|
|
109
|
+
colorCode: 'rgb(113, 192, 119)',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'Neem - Lighter',
|
|
113
|
+
backgroundColor: 'var(--success-lighter)',
|
|
114
|
+
hexCode: '#A5D8AA',
|
|
115
|
+
colorCode: 'rgb(165, 216, 170)',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'Neem - Lightest',
|
|
119
|
+
backgroundColor: 'var(--success-lightest)',
|
|
120
|
+
hexCode: '#D7EFDF',
|
|
121
|
+
colorCode: 'rgb(215, 239, 223)',
|
|
83
122
|
},
|
|
84
123
|
];
|
|
85
124
|
|
|
@@ -88,37 +127,257 @@ export const WARNING_COLORS = [
|
|
|
88
127
|
name: 'Haldi - Darker',
|
|
89
128
|
backgroundColor: 'var(--warning-darker)',
|
|
90
129
|
hexCode: '#6B4A06',
|
|
91
|
-
colorCode: 'rgb(
|
|
130
|
+
colorCode: 'rgb(107, 74, 6)',
|
|
92
131
|
},
|
|
93
132
|
{
|
|
94
133
|
name: 'Haldi - Dark',
|
|
95
134
|
backgroundColor: 'var(--warning-dark)',
|
|
96
135
|
hexCode: '#B78707',
|
|
97
|
-
colorCode: 'rgb(
|
|
136
|
+
colorCode: 'rgb(183, 135, 7)',
|
|
98
137
|
},
|
|
99
138
|
{
|
|
100
139
|
name: 'Haldi - Default',
|
|
101
140
|
backgroundColor: 'var(--warning)',
|
|
102
141
|
hexCode: '#FFC208',
|
|
103
|
-
colorCode: 'rgb(
|
|
142
|
+
colorCode: 'rgb(255, 194, 8)',
|
|
104
143
|
},
|
|
105
144
|
{
|
|
106
145
|
name: 'Haldi - Light',
|
|
107
146
|
backgroundColor: 'var(--warning-light)',
|
|
108
147
|
hexCode: '#FFD462',
|
|
109
|
-
colorCode: 'rgb(
|
|
148
|
+
colorCode: 'rgb(255, 212, 98)',
|
|
110
149
|
},
|
|
111
150
|
{
|
|
112
151
|
name: 'Haldi - Lighter',
|
|
113
152
|
backgroundColor: 'var(--warning-lighter)',
|
|
114
153
|
hexCode: '#FFE597',
|
|
115
|
-
colorCode: 'rgb(
|
|
154
|
+
colorCode: 'rgb(255, 229, 151)',
|
|
116
155
|
},
|
|
117
156
|
{
|
|
118
157
|
name: 'Haldi - Lightest',
|
|
119
158
|
backgroundColor: 'var(--warning-lightest)',
|
|
120
159
|
hexCode: '#FFF5C7',
|
|
121
|
-
colorCode: 'rgb(
|
|
160
|
+
colorCode: 'rgb(255, 245, 199)',
|
|
161
|
+
},
|
|
162
|
+
];
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
export const ACCENT1_COLORS = [
|
|
166
|
+
{
|
|
167
|
+
name: 'Tawak - Darker',
|
|
168
|
+
backgroundColor: 'var(--accent1-darker)',
|
|
169
|
+
hexCode: '#743208',
|
|
170
|
+
colorCode: 'rgb(116, 50, 8)',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'Tawak - Dark',
|
|
174
|
+
backgroundColor: 'var(--accent1-dark)',
|
|
175
|
+
hexCode: '#B35F13',
|
|
176
|
+
colorCode: 'rgb(179, 95, 19)',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'Tawak - Default',
|
|
180
|
+
backgroundColor: 'var(--accent1)',
|
|
181
|
+
hexCode: '#F07D00',
|
|
182
|
+
colorCode: 'rgb(240, 125, 0)',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'Tawak - Light',
|
|
186
|
+
backgroundColor: 'var(--accent1-light)',
|
|
187
|
+
hexCode: '#FEAC5F',
|
|
188
|
+
colorCode: 'rgb(254, 172, 95)',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'Tawak - Lighter',
|
|
192
|
+
backgroundColor: 'var(--accent1-lighter)',
|
|
193
|
+
hexCode: '#FFC998',
|
|
194
|
+
colorCode: 'rgb(255, 201, 152)',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'Tawak - Lightest',
|
|
198
|
+
backgroundColor: 'var(--accent1-lightest)',
|
|
199
|
+
hexCode: '#FDE6CE',
|
|
200
|
+
colorCode: 'rgb(253, 230, 206)',
|
|
201
|
+
},
|
|
202
|
+
];
|
|
203
|
+
|
|
204
|
+
export const ACCENT2_COLORS = [
|
|
205
|
+
{
|
|
206
|
+
name: 'Jamun - Darker',
|
|
207
|
+
backgroundColor: 'var(--accent2-darker)',
|
|
208
|
+
hexCode: '#4E3572',
|
|
209
|
+
colorCode: 'rgb(78, 53, 114)',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: 'Jamun - Dark',
|
|
213
|
+
backgroundColor: 'var(--accent2-dark)',
|
|
214
|
+
hexCode: '#644491',
|
|
215
|
+
colorCode: 'rgb(100, 68, 145)',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: 'Jamun - Default',
|
|
219
|
+
backgroundColor: 'var(--accent2)',
|
|
220
|
+
hexCode: '#7A53B2',
|
|
221
|
+
colorCode: 'rgb(122, 83, 178)',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: 'Jamun - Light',
|
|
225
|
+
backgroundColor: 'var(--accent2-light)',
|
|
226
|
+
hexCode: '#9D7EC6',
|
|
227
|
+
colorCode: 'rgb(157, 126, 198)',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'Jamun - Lighter',
|
|
231
|
+
backgroundColor: 'var(--accent2-lighter)',
|
|
232
|
+
hexCode: '#BFAADA',
|
|
233
|
+
colorCode: 'rgb(191, 170, 218)',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'Jamun - Lightest',
|
|
237
|
+
backgroundColor: 'var(--accent2-lightest)',
|
|
238
|
+
hexCode: '#E0D8EE',
|
|
239
|
+
colorCode: 'rgb(224, 216, 238)',
|
|
240
|
+
},
|
|
241
|
+
];
|
|
242
|
+
|
|
243
|
+
export const ACCENT3_COLORS = [
|
|
244
|
+
{
|
|
245
|
+
name: 'Neel - Darker',
|
|
246
|
+
backgroundColor: 'var(--accent3-darker)',
|
|
247
|
+
hexCode: '#1C2561',
|
|
248
|
+
colorCode: 'rgb(28, 37, 97)',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: 'Neel - Dark',
|
|
252
|
+
backgroundColor: 'var(--accent3-dark)',
|
|
253
|
+
hexCode: '#2C3A98',
|
|
254
|
+
colorCode: 'rgb(44, 58, 152)',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: 'Neel - Default',
|
|
258
|
+
backgroundColor: 'var(--accent3)',
|
|
259
|
+
hexCode: '#3D51D4',
|
|
260
|
+
colorCode: 'rgb(61, 81, 212)',
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: 'Neel - Light',
|
|
264
|
+
backgroundColor: 'var(--accent3-light)',
|
|
265
|
+
hexCode: '#7583E1',
|
|
266
|
+
colorCode: 'rgb(117, 131, 225)',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: 'Neel - Lighter',
|
|
270
|
+
backgroundColor: 'var(--accent3-lighter)',
|
|
271
|
+
hexCode: '#ABB4ED',
|
|
272
|
+
colorCode: 'rgb(171, 180, 237)',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: 'Neel - Lightest',
|
|
276
|
+
backgroundColor: 'var(--accent3-lightest)',
|
|
277
|
+
hexCode: '#E2E5F9',
|
|
278
|
+
colorCode: 'rgb(226, 229, 249)',
|
|
279
|
+
},
|
|
280
|
+
];
|
|
281
|
+
|
|
282
|
+
export const ACCENT4_COLORS = [
|
|
283
|
+
{
|
|
284
|
+
name: 'Nimbu - Darker',
|
|
285
|
+
backgroundColor: 'var(--accent4-darker)',
|
|
286
|
+
hexCode: '#304A0B',
|
|
287
|
+
colorCode: 'rgb(48, 74, 11)',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'Nimbu - Dark',
|
|
291
|
+
backgroundColor: 'var(--accent4-dark)',
|
|
292
|
+
hexCode: '#578715',
|
|
293
|
+
colorCode: 'rgb(87, 135, 21)',
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: 'Nimbu - Default',
|
|
297
|
+
backgroundColor: 'var(--accent4)',
|
|
298
|
+
hexCode: '#82C91E',
|
|
299
|
+
colorCode: 'rgb(130, 201, 30)',
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'Nimbu - Light',
|
|
303
|
+
backgroundColor: 'var(--accent4-light)',
|
|
304
|
+
hexCode: '#A6D763',
|
|
305
|
+
colorCode: 'rgb(166, 215, 99)',
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
name: 'Nimbu - Lighter',
|
|
309
|
+
backgroundColor: 'var(--accent4-lighter)',
|
|
310
|
+
hexCode: '#C6E599',
|
|
311
|
+
colorCode: 'rgb(198, 229, 153)',
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
name: 'Nimbu - Lightest',
|
|
315
|
+
backgroundColor: 'var(--accent4-lightest)',
|
|
316
|
+
hexCode: '#E3F3CE',
|
|
317
|
+
colorCode: 'rgb(227, 243, 206)',
|
|
318
|
+
},
|
|
319
|
+
];
|
|
320
|
+
|
|
321
|
+
export const NEUTRALS = [
|
|
322
|
+
{
|
|
323
|
+
name: 'Night',
|
|
324
|
+
backgroundColor: 'var(--inverse)',
|
|
325
|
+
hexCode: '#2F2F2F',
|
|
326
|
+
colorCode: 'rgb(47, 47, 47)',
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
name: 'Night - Light',
|
|
330
|
+
backgroundColor: 'var(--inverse-light)',
|
|
331
|
+
hexCode: '#595959',
|
|
332
|
+
colorCode: 'rgb(89, 89, 89)',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
name: 'Night - Lighter',
|
|
336
|
+
backgroundColor: 'var(--inverse-lighter)',
|
|
337
|
+
hexCode: '#868686',
|
|
338
|
+
colorCode: 'rgb(134, 134, 134)',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'Night - Lightest',
|
|
342
|
+
backgroundColor: 'var(--inverse-lightest)',
|
|
343
|
+
hexCode: '#A6A6A6',
|
|
344
|
+
colorCode: 'rgb(166, 166, 166)',
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: 'Stone',
|
|
348
|
+
backgroundColor: 'var(--secondary)',
|
|
349
|
+
hexCode: '#D5D5D5',
|
|
350
|
+
colorCode: 'rgb(213, 213, 213)',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
name: 'Stone - Dark',
|
|
354
|
+
backgroundColor: 'var(--secondary-dark)',
|
|
355
|
+
hexCode: '#C5C5C5',
|
|
356
|
+
colorCode: 'rgb(197, 197, 197)',
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: 'Stone - Light',
|
|
360
|
+
backgroundColor: 'var(--secondary-light)',
|
|
361
|
+
hexCode: '#E5E5E5',
|
|
362
|
+
colorCode: 'rgb(229, 229, 229)',
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
name: 'Stone - Lighter',
|
|
366
|
+
backgroundColor: 'var(--secondary-lighter)',
|
|
367
|
+
hexCode: '#ECECEC',
|
|
368
|
+
colorCode: 'rgb(236, 236, 236)',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
name: 'Stone - Lightest',
|
|
372
|
+
backgroundColor: 'var(--secondary-lightest)',
|
|
373
|
+
hexCode: '#F4F4F4',
|
|
374
|
+
colorCode: 'rgb(244, 244, 244)',
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: 'Namak',
|
|
378
|
+
backgroundColor: 'var(--white)',
|
|
379
|
+
hexCode: '#FFFFFF',
|
|
380
|
+
colorCode: 'rgb(245, 245, 245)',
|
|
122
381
|
},
|
|
123
382
|
];
|
|
124
383
|
|
|
@@ -132,6 +391,7 @@ export const WARNING_COLORS = [
|
|
|
132
391
|
<Colors colorData={PRIMARY_COLORS} />
|
|
133
392
|
</Row>
|
|
134
393
|
|
|
394
|
+
|
|
135
395
|
#### Secondary colors
|
|
136
396
|
|
|
137
397
|
<br />
|
|
@@ -142,8 +402,62 @@ export const WARNING_COLORS = [
|
|
|
142
402
|
<Colors colorData={ALERT_COLORS} />
|
|
143
403
|
</Row>
|
|
144
404
|
|
|
405
|
+
<br />
|
|
406
|
+
|
|
407
|
+
##### Neem
|
|
408
|
+
|
|
409
|
+
<Row className='mb-10'>
|
|
410
|
+
<Colors colorData={SUCCESS_COLORS} />
|
|
411
|
+
</Row>
|
|
412
|
+
|
|
413
|
+
<br />
|
|
414
|
+
|
|
145
415
|
##### Haldi
|
|
146
416
|
|
|
147
|
-
<Row>
|
|
417
|
+
<Row className='mb-10'>
|
|
148
418
|
<Colors colorData={WARNING_COLORS} />
|
|
149
419
|
</Row>
|
|
420
|
+
|
|
421
|
+
<br />
|
|
422
|
+
|
|
423
|
+
#### Accent colors
|
|
424
|
+
|
|
425
|
+
<br />
|
|
426
|
+
|
|
427
|
+
##### Tawak
|
|
428
|
+
|
|
429
|
+
<Row className='mb-10'>
|
|
430
|
+
<Colors colorData={ACCENT1_COLORS} />
|
|
431
|
+
</Row>
|
|
432
|
+
|
|
433
|
+
<br />
|
|
434
|
+
|
|
435
|
+
##### Jamun
|
|
436
|
+
|
|
437
|
+
<Row className='mb-10'>
|
|
438
|
+
<Colors colorData={ACCENT2_COLORS} />
|
|
439
|
+
</Row>
|
|
440
|
+
|
|
441
|
+
<br />
|
|
442
|
+
|
|
443
|
+
##### Neel
|
|
444
|
+
|
|
445
|
+
<Row className='mb-10'>
|
|
446
|
+
<Colors colorData={ACCENT3_COLORS} />
|
|
447
|
+
</Row>
|
|
448
|
+
|
|
449
|
+
<br />
|
|
450
|
+
|
|
451
|
+
##### Nimbu
|
|
452
|
+
|
|
453
|
+
<Row className='mb-10'>
|
|
454
|
+
<Colors colorData={ACCENT4_COLORS} />
|
|
455
|
+
</Row>
|
|
456
|
+
|
|
457
|
+
#### Neutrals
|
|
458
|
+
|
|
459
|
+
<Row className='mb-10'>
|
|
460
|
+
<Colors colorData={NEUTRALS} />
|
|
461
|
+
</Row>
|
|
462
|
+
|
|
463
|
+
<br />
|
|
@@ -5,7 +5,7 @@ date: 15 June 2021
|
|
|
5
5
|
showMobile: true
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Spacing
|
|
9
9
|
|
|
10
10
|
We use 8px as the base unit for our spacial system. The spacing system has been roughly generated by multiplying eight with even numbers.
|
|
11
11
|
|
|
@@ -22,52 +22,41 @@ We use 8px as the base unit for our spacial system. The spacing system has been
|
|
|
22
22
|
<br />
|
|
23
23
|
<br />
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
### Grid
|
|
26
26
|
|
|
27
27
|
Using a baseline grid creates a consistent rhythm between the components and typography. We use a 12-columns grid.
|
|
28
28
|
|
|
29
29
|
<br />
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
name: 'value',
|
|
62
|
-
displayName: 'Value',
|
|
63
|
-
width: '30%',
|
|
64
|
-
sorting: false,
|
|
65
|
-
separator: true,
|
|
66
|
-
},
|
|
67
|
-
]}
|
|
68
|
-
withHeader={false}
|
|
69
|
-
/>
|
|
70
|
-
</Card>
|
|
31
|
+
#### Types
|
|
32
|
+
|
|
33
|
+
##### Regular Grid
|
|
34
|
+
<br/>
|
|
35
|
+
<br/>
|
|
36
|
+
|
|
37
|
+
<table style="width: 100%">
|
|
38
|
+
<tbody>
|
|
39
|
+
<tr>
|
|
40
|
+
<th style="width:50%; text-align: left;">Property</th>
|
|
41
|
+
<th style="width:50%; text-align: left;">Value</th>
|
|
42
|
+
</tr>
|
|
43
|
+
<tr style="vertical-align: top">
|
|
44
|
+
<td>Left padding</td>
|
|
45
|
+
<td>8px</td>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr style="vertical-align: top">
|
|
48
|
+
<td>Right padding</td>
|
|
49
|
+
<td>
|
|
50
|
+
8px
|
|
51
|
+
</td>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr style="vertical-align: top">
|
|
54
|
+
<td>Gutter</td>
|
|
55
|
+
<td>16px</td>
|
|
56
|
+
</tr>
|
|
57
|
+
</tbody>
|
|
58
|
+
</table>
|
|
59
|
+
|
|
71
60
|
|
|
72
61
|
<br />
|
|
73
62
|
|
|
@@ -75,48 +64,34 @@ Using a baseline grid creates a consistent rhythm between the components and typ
|
|
|
75
64
|
|
|
76
65
|
<br />
|
|
77
66
|
|
|
78
|
-
|
|
67
|
+
##### Grid with margin
|
|
79
68
|
|
|
80
69
|
For the outermost grid, this component is used. This can
|
|
81
70
|
also be nested subsequently if a 16px padding is required
|
|
82
71
|
on both sides.
|
|
83
72
|
|
|
84
|
-
<
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
sorting: false,
|
|
107
|
-
separator: true,
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
name: 'value',
|
|
111
|
-
displayName: 'Value',
|
|
112
|
-
width: '30%',
|
|
113
|
-
sorting: false,
|
|
114
|
-
separator: true,
|
|
115
|
-
},
|
|
116
|
-
]}
|
|
117
|
-
withHeader={false}
|
|
118
|
-
/>
|
|
119
|
-
</Card>
|
|
73
|
+
<table style="width: 100%">
|
|
74
|
+
<tbody>
|
|
75
|
+
<tr>
|
|
76
|
+
<th style="width:50%; text-align: left;">Property</th>
|
|
77
|
+
<th style="width:50%; text-align: left;">Value</th>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr style="vertical-align: top">
|
|
80
|
+
<td>Left padding</td>
|
|
81
|
+
<td>8 + 8px</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr style="vertical-align: top">
|
|
84
|
+
<td>Right padding</td>
|
|
85
|
+
<td>8 + 8px </td>
|
|
86
|
+
</tr>
|
|
87
|
+
<tr style="vertical-align: top">
|
|
88
|
+
<td>Gutter</td>
|
|
89
|
+
<td>16px</td>
|
|
90
|
+
</tr>
|
|
91
|
+
</tbody>
|
|
92
|
+
</table>
|
|
93
|
+
|
|
94
|
+
|
|
120
95
|
|
|
121
96
|
<br />
|
|
122
97
|
|
|
@@ -125,7 +100,7 @@ on both sides.
|
|
|
125
100
|
<br />
|
|
126
101
|
<br />
|
|
127
102
|
|
|
128
|
-
|
|
103
|
+
#### Columns
|
|
129
104
|
|
|
130
105
|
The column includes the padding at the inside, 8 px each side. This way the gutter becomes 16px for adjacent columns.
|
|
131
106
|
|
|
@@ -134,7 +109,7 @@ The column includes the padding at the inside, 8 px each side. This way the gutt
|
|
|
134
109
|
<br />
|
|
135
110
|
<br />
|
|
136
111
|
|
|
137
|
-
|
|
112
|
+
#### Components
|
|
138
113
|
|
|
139
114
|
We use a 8px baseline grid. All UI components including paddings and margins are created in multiples of eight so that everything aligns to the pixel grid.
|
|
140
115
|
When text is used within a UI element, set the line-height to be consistent with the baseline grid.
|
|
@@ -144,7 +119,7 @@ When text is used within a UI element, set the line-height to be consistent with
|
|
|
144
119
|
<br />
|
|
145
120
|
<br />
|
|
146
121
|
|
|
147
|
-
|
|
122
|
+
#### Typography
|
|
148
123
|
|
|
149
124
|
All typography aligns to a 4px baseline grid. This allows for readable line heights at all sizes.
|
|
150
125
|
|