@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
|
@@ -11,53 +11,29 @@ showMobile: true
|
|
|
11
11
|
|
|
12
12
|
#### Free navigation
|
|
13
13
|
|
|
14
|
-
**1
|
|
14
|
+
**0.1 second** is the limit for having the user feel that the system is **reacting instantaneously**, meaning that no special feedback is necessary except to display the result.
|
|
15
15
|
|
|
16
16
|
For example, this is the limit from the time the user selects a row in a table until that row should highlight or otherwise give feedback that it's selected.
|
|
17
17
|
|
|
18
|
-
<
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
displayName: 'Good',
|
|
33
|
-
width: '33%',
|
|
34
|
-
sorting: false,
|
|
35
|
-
separator: true,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: 'needs_improvement',
|
|
39
|
-
displayName: 'Needs Improvement',
|
|
40
|
-
width: '33%',
|
|
41
|
-
sorting: false,
|
|
42
|
-
cellType: 'WITH_META_LIST',
|
|
43
|
-
separator: true,
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
name: 'poor',
|
|
47
|
-
displayName: 'Poor',
|
|
48
|
-
width: '33%',
|
|
49
|
-
sorting: false,
|
|
50
|
-
separator: true,
|
|
51
|
-
},
|
|
52
|
-
]}
|
|
53
|
-
withHeader={false}
|
|
54
|
-
/>
|
|
55
|
-
</Card>
|
|
18
|
+
<table style="width: 100%">
|
|
19
|
+
<tbody>
|
|
20
|
+
<tr>
|
|
21
|
+
<th style="width:33%; text-align: left;">Good</th>
|
|
22
|
+
<th style="width:33%; text-align: left;">Needs improvement</th>
|
|
23
|
+
<th style="width:33%; text-align: left;">Poor</th>
|
|
24
|
+
</tr>
|
|
25
|
+
<tr style="vertical-align: top">
|
|
26
|
+
<td>[0, 100ms]</td>
|
|
27
|
+
<td>(100ms, 300ms]</td>
|
|
28
|
+
<td>over 300ms</td>
|
|
29
|
+
</tr>
|
|
30
|
+
</tbody>
|
|
31
|
+
</table>
|
|
56
32
|
|
|
57
33
|
<br />
|
|
58
34
|
<br />
|
|
59
35
|
|
|
60
|
-
####
|
|
36
|
+
#### Direct manipulation
|
|
61
37
|
|
|
62
38
|
**1.0 second** is about the limit for the **user's flow of thought
|
|
63
39
|
to stay** uninterrupted, even though the user will notice the delay.
|
|
@@ -67,43 +43,22 @@ feeling of operating directly on the data.
|
|
|
67
43
|
|
|
68
44
|
For example, if sorting a table according to the selected column can't be done in 0.1 seconds, it certainly has to be done in 1 second, or users will feel that the UI is sluggish and will lose the sense of "flow" in performing their task. For delays of more than 1 second, indicate to the user that the computer is working on the problem, for example by changing the shape of the cursor.
|
|
69
45
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
sorting: false,
|
|
87
|
-
separator: true,
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'needs_improvement',
|
|
91
|
-
displayName: 'Needs Improvement',
|
|
92
|
-
width: '33%',
|
|
93
|
-
sorting: false,
|
|
94
|
-
separator: true,
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: 'poor',
|
|
98
|
-
displayName: 'Poor',
|
|
99
|
-
width: '33%',
|
|
100
|
-
sorting: false,
|
|
101
|
-
separator: true,
|
|
102
|
-
},
|
|
103
|
-
]}
|
|
104
|
-
withHeader={false}
|
|
105
|
-
/>
|
|
106
|
-
</Card>
|
|
46
|
+
|
|
47
|
+
<table style="width: 100%">
|
|
48
|
+
<tbody>
|
|
49
|
+
<tr>
|
|
50
|
+
<th style="width:33%; text-align: left;">Good</th>
|
|
51
|
+
<th style="width:33%; text-align: left;">Needs improvement</th>
|
|
52
|
+
<th style="width:33%; text-align: left;">Poor</th>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr style="vertical-align: top">
|
|
55
|
+
<td>[0, 1000ms]</td>
|
|
56
|
+
<td>(1000ms, 3000ms]</td>
|
|
57
|
+
<td>over 3000ms</td>
|
|
58
|
+
</tr>
|
|
59
|
+
</tbody>
|
|
60
|
+
</table>
|
|
61
|
+
|
|
107
62
|
|
|
108
63
|
<br />
|
|
109
64
|
<br />
|
|
@@ -6,3 +6,169 @@ showMobile: true
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
The design system has many built in tokens to easily solve most common use cases surrounding text and its formatting.
|
|
9
|
+
|
|
10
|
+
### Titles
|
|
11
|
+
<br/>
|
|
12
|
+
<br/>
|
|
13
|
+
|
|
14
|
+
<table style="width: 100%">
|
|
15
|
+
<tbody>
|
|
16
|
+
<tr>
|
|
17
|
+
<th style="width:20%; text-align: left;">Name</th>
|
|
18
|
+
<th style="width:20%; text-align: left;">Family</th>
|
|
19
|
+
<th style="width:20%; text-align: left;">Size</th>
|
|
20
|
+
<th style="width:20%; text-align: left;">Weight</th>
|
|
21
|
+
<th style="width:20%; text-align: left;">Line height</th>
|
|
22
|
+
</tr>
|
|
23
|
+
<tr style="vertical-align: top">
|
|
24
|
+
<td>Default</td>
|
|
25
|
+
<td>Nunito Sans</td>
|
|
26
|
+
<td>16px</td>
|
|
27
|
+
<td>700</td>
|
|
28
|
+
<td>24px</td>
|
|
29
|
+
</tr>
|
|
30
|
+
<tr style="vertical-align: top">
|
|
31
|
+
<td>Medium</td>
|
|
32
|
+
<td>Nunito Sans</td>
|
|
33
|
+
<td>20px</td>
|
|
34
|
+
<td>600</td>
|
|
35
|
+
<td>32px</td>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr style="vertical-align: top">
|
|
38
|
+
<td>Large</td>
|
|
39
|
+
<td>Nunito Sans</td>
|
|
40
|
+
<td>28px</td>
|
|
41
|
+
<td>400</td>
|
|
42
|
+
<td>40px</td>
|
|
43
|
+
</tr>
|
|
44
|
+
<tr style="vertical-align: top">
|
|
45
|
+
<td>X-Large</td>
|
|
46
|
+
<td>Nunito Sans</td>
|
|
47
|
+
<td>32px</td>
|
|
48
|
+
<td>600</td>
|
|
49
|
+
<td>48px</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr style="vertical-align: top">
|
|
52
|
+
<td>XX-Large</td>
|
|
53
|
+
<td>Nunito Sans</td>
|
|
54
|
+
<td>40px</td>
|
|
55
|
+
<td>400</td>
|
|
56
|
+
<td>48px</td>
|
|
57
|
+
</tr>
|
|
58
|
+
</tbody>
|
|
59
|
+
</table>
|
|
60
|
+
<br/>
|
|
61
|
+
<br/>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Body
|
|
65
|
+
<br/>
|
|
66
|
+
<br/>
|
|
67
|
+
|
|
68
|
+
<table style="width: 100%">
|
|
69
|
+
<tbody>
|
|
70
|
+
<tr>
|
|
71
|
+
<th style="width:20%; text-align: left;">Name</th>
|
|
72
|
+
<th style="width:20%; text-align: left;">Family</th>
|
|
73
|
+
<th style="width:20%; text-align: left;">Size</th>
|
|
74
|
+
<th style="width:20%; text-align: left;">Weight</th>
|
|
75
|
+
<th style="width:20%; text-align: left;">Line height</th>
|
|
76
|
+
</tr>
|
|
77
|
+
<tr style="vertical-align: top">
|
|
78
|
+
<td>Default</td>
|
|
79
|
+
<td>Nunito Sans</td>
|
|
80
|
+
<td>14px</td>
|
|
81
|
+
<td>400, 600, 700</td>
|
|
82
|
+
<td>20px</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr style="vertical-align: top">
|
|
85
|
+
<td>Large</td>
|
|
86
|
+
<td>Nunito Sans</td>
|
|
87
|
+
<td>16px</td>
|
|
88
|
+
<td>400, 600</td>
|
|
89
|
+
<td>24px</td>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr style="vertical-align: top">
|
|
92
|
+
<td>Small</td>
|
|
93
|
+
<td>Nunito Sans</td>
|
|
94
|
+
<td>12px</td>
|
|
95
|
+
<td>600, 700</td>
|
|
96
|
+
<td>16px</td>
|
|
97
|
+
</tr>
|
|
98
|
+
</tbody>
|
|
99
|
+
</table>
|
|
100
|
+
<br/>
|
|
101
|
+
<br/>
|
|
102
|
+
|
|
103
|
+
### Subheading
|
|
104
|
+
<br/>
|
|
105
|
+
<br/>
|
|
106
|
+
|
|
107
|
+
<table style="width: 100%">
|
|
108
|
+
<tbody>
|
|
109
|
+
<tr>
|
|
110
|
+
<th style="width:20%; text-align: left;">Name</th>
|
|
111
|
+
<th style="width:20%; text-align: left;">Family</th>
|
|
112
|
+
<th style="width:20%; text-align: left;">Size</th>
|
|
113
|
+
<th style="width:20%; text-align: left;">Weight</th>
|
|
114
|
+
<th style="width:20%; text-align: left;">Line height</th>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr style="vertical-align: top">
|
|
117
|
+
<td>Default</td>
|
|
118
|
+
<td>Nunito Sans</td>
|
|
119
|
+
<td>12px</td>
|
|
120
|
+
<td>600</td>
|
|
121
|
+
<td>24px</td>
|
|
122
|
+
</tr>
|
|
123
|
+
</tbody>
|
|
124
|
+
</table>
|
|
125
|
+
<br/>
|
|
126
|
+
<br/>
|
|
127
|
+
|
|
128
|
+
### Link
|
|
129
|
+
<br/>
|
|
130
|
+
<br/>
|
|
131
|
+
|
|
132
|
+
<table style="width: 100%">
|
|
133
|
+
<tbody>
|
|
134
|
+
<tr>
|
|
135
|
+
<th style="width:20%; text-align: left;">Name</th>
|
|
136
|
+
<th style="width:20%; text-align: left;">Family</th>
|
|
137
|
+
<th style="width:20%; text-align: left;">Size</th>
|
|
138
|
+
<th style="width:20%; text-align: left;">Weight</th>
|
|
139
|
+
<th style="width:20%; text-align: left;">Line height</th>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr style="vertical-align: top">
|
|
142
|
+
<td>Default</td>
|
|
143
|
+
<td>Nunito Sans</td>
|
|
144
|
+
<td>14px</td>
|
|
145
|
+
<td>400</td>
|
|
146
|
+
<td>20px</td>
|
|
147
|
+
</tr>
|
|
148
|
+
</tbody>
|
|
149
|
+
</table>
|
|
150
|
+
<br/>
|
|
151
|
+
|
|
152
|
+
### Label
|
|
153
|
+
|
|
154
|
+
<table style="width: 100%">
|
|
155
|
+
<tbody>
|
|
156
|
+
<tr>
|
|
157
|
+
<th style="width:20%; text-align: left;">Name</th>
|
|
158
|
+
<th style="width:20%; text-align: left;">Family</th>
|
|
159
|
+
<th style="width:20%; text-align: left;">Size</th>
|
|
160
|
+
<th style="width:20%; text-align: left;">Weight</th>
|
|
161
|
+
<th style="width:20%; text-align: left;">Line height</th>
|
|
162
|
+
</tr>
|
|
163
|
+
<tr style="vertical-align: top">
|
|
164
|
+
<td>Default</td>
|
|
165
|
+
<td>Nunito Sans</td>
|
|
166
|
+
<td>14px</td>
|
|
167
|
+
<td>600</td>
|
|
168
|
+
<td>16px</td>
|
|
169
|
+
</tr>
|
|
170
|
+
</tbody>
|
|
171
|
+
</table>
|
|
172
|
+
<br/>
|
|
173
|
+
<br/>
|
|
174
|
+
|
package/docs/src/pages/index.js
CHANGED
|
@@ -4,29 +4,17 @@ import Meta from '../components/Meta';
|
|
|
4
4
|
import Homepage from '../components/templates/Homepage';
|
|
5
5
|
import Footer from '../components/Footer/Footer';
|
|
6
6
|
import { MediumBlogs, useHomeMenu, MdsChangelog, useHomeResources } from '../util';
|
|
7
|
-
import { StaticImage } from
|
|
7
|
+
import { StaticImage } from 'gatsby-plugin-image';
|
|
8
8
|
import './home/homepage.css';
|
|
9
|
-
import {
|
|
10
|
-
Row,
|
|
11
|
-
Column,
|
|
12
|
-
Heading,
|
|
13
|
-
Button,
|
|
14
|
-
Card,
|
|
15
|
-
Badge,
|
|
16
|
-
Text,
|
|
17
|
-
Link,
|
|
18
|
-
Subheading,
|
|
19
|
-
Icon
|
|
20
|
-
} from '@innovaccer/design-system';
|
|
9
|
+
import { Row, Column, Heading, Button, Card, Badge, Text, Link, Subheading, Icon } from '@innovaccer/design-system';
|
|
21
10
|
import * as HomeIcons from '../util/HomeIcons';
|
|
22
11
|
|
|
23
12
|
const MenuIcons = ({ name }) => {
|
|
24
13
|
const SvgIcons = HomeIcons[name] || (() => <div></div>);
|
|
25
|
-
return <SvgIcons
|
|
26
|
-
}
|
|
14
|
+
return <SvgIcons />;
|
|
15
|
+
};
|
|
27
16
|
|
|
28
17
|
const Home = () => {
|
|
29
|
-
|
|
30
18
|
const mediumBlogList = MediumBlogs().slice(0, 3);
|
|
31
19
|
const menuSection = useHomeMenu();
|
|
32
20
|
const resourceSection = useHomeResources();
|
|
@@ -34,64 +22,54 @@ const Home = () => {
|
|
|
34
22
|
|
|
35
23
|
const releaseDate = new Date(changelog.releaseDate).toString().slice(3, 15);
|
|
36
24
|
|
|
37
|
-
const getChangelogContent = () =>
|
|
25
|
+
const getChangelogContent = () =>
|
|
38
26
|
changelog.updatesList.slice(0, 2).map((updates) => {
|
|
39
|
-
return (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
})
|
|
61
|
-
)
|
|
27
|
+
return updates.map((item, key) => {
|
|
28
|
+
return (
|
|
29
|
+
key < 3 &&
|
|
30
|
+
(key === 0 ? (
|
|
31
|
+
<div className="mt-4" key={key}>
|
|
32
|
+
<Text weight="strong" className="home-text-color">
|
|
33
|
+
{item}
|
|
34
|
+
</Text>
|
|
35
|
+
</div>
|
|
36
|
+
) : (
|
|
37
|
+
<div className="list" key={key}>
|
|
38
|
+
<li className="m-0">
|
|
39
|
+
<Text appearance="subtle" size="small" weight="medium">
|
|
40
|
+
{item.substring(0, item.lastIndexOf('('))}
|
|
41
|
+
</Text>
|
|
42
|
+
</li>
|
|
43
|
+
</div>
|
|
44
|
+
))
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
});
|
|
62
48
|
|
|
63
49
|
return (
|
|
64
50
|
<Homepage relativePagePath={'/404'} is404={true}>
|
|
65
|
-
<Meta titleType=
|
|
51
|
+
<Meta titleType="page" docTitle="Masala Design System" />
|
|
66
52
|
<Row className="h-100">
|
|
67
53
|
<Column className="page-animation">
|
|
68
|
-
|
|
69
54
|
<section className="px-12 pt-8">
|
|
70
55
|
<Row className="align-items-center">
|
|
71
56
|
<Column>
|
|
72
|
-
<Text weight=
|
|
73
|
-
<Heading size=
|
|
57
|
+
<Text weight="medium">Welcome to</Text>
|
|
58
|
+
<Heading size="xl" className="mt-2 home-text-color">
|
|
74
59
|
Masala Design System
|
|
75
60
|
</Heading>
|
|
76
|
-
<Heading size=
|
|
77
|
-
Designers, developers, product managers, and UXer's use
|
|
78
|
-
|
|
79
|
-
fearlessly, and conveniently.
|
|
61
|
+
<Heading size="m" className="mt-4 font-weight--normal home-text-color">
|
|
62
|
+
Designers, developers, product managers, and UXer's use Innovaccer's Masala Design System to build
|
|
63
|
+
products effortlessly, fearlessly, and conveniently.
|
|
80
64
|
</Heading>
|
|
81
65
|
<br />
|
|
82
|
-
<Button
|
|
83
|
-
appearance='primary'
|
|
84
|
-
onClick={() => navigate('/introduction/get-started/designers/')}
|
|
85
|
-
>
|
|
66
|
+
<Button appearance="primary" onClick={() => navigate('/introduction/get-started/designers/')}>
|
|
86
67
|
Get started
|
|
87
68
|
</Button>
|
|
88
69
|
<br />
|
|
89
70
|
</Column>
|
|
90
71
|
<Column>
|
|
91
|
-
<StaticImage
|
|
92
|
-
src="./home/HomeBanner.png"
|
|
93
|
-
alt="Masala Design System"
|
|
94
|
-
/>
|
|
72
|
+
<StaticImage src="./home/HomeBanner.png" alt="Masala Design System" />
|
|
95
73
|
</Column>
|
|
96
74
|
</Row>
|
|
97
75
|
</section>
|
|
@@ -102,9 +80,10 @@ const Home = () => {
|
|
|
102
80
|
menuSection.map((menuItem, key) => {
|
|
103
81
|
return (
|
|
104
82
|
<Column size={3} key={key}>
|
|
83
|
+
<div className='mr-7 h-100 overflow-visble'>
|
|
105
84
|
<Link href={menuItem.link}>
|
|
106
85
|
<Card
|
|
107
|
-
className='
|
|
86
|
+
className='p-6 h-100'
|
|
108
87
|
shadow='none'
|
|
109
88
|
>
|
|
110
89
|
<div className='d-flex'>
|
|
@@ -114,17 +93,18 @@ const Home = () => {
|
|
|
114
93
|
</Icon>
|
|
115
94
|
</div>
|
|
116
95
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
96
|
+
<div>
|
|
97
|
+
<Heading size="s" className="mb-4 home-text-color">
|
|
98
|
+
{menuItem.name}
|
|
99
|
+
</Heading>
|
|
100
|
+
<Text appearance="subtle" className="font-weight--normal">
|
|
101
|
+
{menuItem.content}
|
|
102
|
+
</Text>
|
|
103
|
+
</div>
|
|
125
104
|
</div>
|
|
126
105
|
</Card>
|
|
127
106
|
</Link>
|
|
107
|
+
</div>
|
|
128
108
|
</Column>
|
|
129
109
|
)
|
|
130
110
|
})
|
|
@@ -135,65 +115,55 @@ const Home = () => {
|
|
|
135
115
|
<section className="px-12 py-11">
|
|
136
116
|
<Row>
|
|
137
117
|
<Column size={6}>
|
|
138
|
-
<Card
|
|
139
|
-
className=
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<div className='d-flex'>
|
|
143
|
-
<Heading size='m' className='mb-3 home-text-color'>
|
|
144
|
-
Masala Design System v{(changelog.version).trim()}
|
|
118
|
+
<Card className="p-6 mr-6 h-100 overflow-visible" shadow="none">
|
|
119
|
+
<div className="d-flex">
|
|
120
|
+
<Heading size="m" className="mb-3 home-text-color">
|
|
121
|
+
Masala Design System v{changelog.version.trim()}
|
|
145
122
|
</Heading>
|
|
146
123
|
<div>
|
|
147
|
-
<Badge appearance="success" className=
|
|
124
|
+
<Badge appearance="success" className="ml-4 mt-3">
|
|
125
|
+
{' '}
|
|
126
|
+
NEW{' '}
|
|
127
|
+
</Badge>
|
|
148
128
|
</div>
|
|
149
129
|
</div>
|
|
150
|
-
<div className=
|
|
130
|
+
<div className="mb-6">
|
|
151
131
|
<Subheading appearance="subtle">{releaseDate}</Subheading>
|
|
152
|
-
<div>
|
|
153
|
-
{getChangelogContent()}
|
|
154
|
-
</div>
|
|
132
|
+
<div>{getChangelogContent()}</div>
|
|
155
133
|
</div>
|
|
156
134
|
|
|
157
|
-
<Link href={
|
|
135
|
+
<Link href={"/introduction/what's-new/"}> View all updates</Link>
|
|
158
136
|
</Card>
|
|
159
137
|
</Column>
|
|
160
138
|
<Column size={6}>
|
|
161
|
-
<Card
|
|
162
|
-
className=
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
{'by ' + blog.author.name}
|
|
184
|
-
</Text>
|
|
185
|
-
</div>
|
|
139
|
+
<Card className="p-6 mr-6 h-100 overflow-visible" shadow="none">
|
|
140
|
+
<Heading size="m" className="home-text-color mb-5">
|
|
141
|
+
Blogs by Innovaccer Design
|
|
142
|
+
</Heading>
|
|
143
|
+
{mediumBlogList.map((blog, key) => {
|
|
144
|
+
return (
|
|
145
|
+
<div className={`d-flex ${key === 2 ? 'mb-0' : 'mb-5'}`} key={key}>
|
|
146
|
+
<div style={{ width: '40px' }}>
|
|
147
|
+
<img
|
|
148
|
+
src={`https://miro.medium.com/fit/c/28/28/${blog.author.imageId}`}
|
|
149
|
+
alt="author_img"
|
|
150
|
+
className="border-radius--rounded mr-4"
|
|
151
|
+
/>
|
|
152
|
+
</div>
|
|
153
|
+
<div>
|
|
154
|
+
<Link href={`https://medium.com/innovaccer-design/${blog.uniqueSlug}`} target="_blank">
|
|
155
|
+
{blog.title}
|
|
156
|
+
</Link>
|
|
157
|
+
<br />
|
|
158
|
+
<Text appearance="subtle" size="small" weight="medium">
|
|
159
|
+
{'by ' + blog.author.name}
|
|
160
|
+
</Text>
|
|
186
161
|
</div>
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
<div
|
|
191
|
-
|
|
192
|
-
>
|
|
193
|
-
<Link
|
|
194
|
-
href='https://medium.com/innovaccer-tech'
|
|
195
|
-
target="_blank"
|
|
196
|
-
>
|
|
162
|
+
</div>
|
|
163
|
+
);
|
|
164
|
+
})}
|
|
165
|
+
<div className="position-absolute sticky-bottom">
|
|
166
|
+
<Link href="https://medium.com/innovaccer-tech" target="_blank">
|
|
197
167
|
More blogs
|
|
198
168
|
</Link>
|
|
199
169
|
</div>
|
|
@@ -203,22 +173,23 @@ const Home = () => {
|
|
|
203
173
|
</section>
|
|
204
174
|
|
|
205
175
|
<section className="px-12 py-11 bg-secondary-lightest">
|
|
206
|
-
<Heading size=
|
|
176
|
+
<Heading size="xl" className="home-text-color">
|
|
177
|
+
Resources
|
|
178
|
+
</Heading>
|
|
207
179
|
<Row className="mt-7">
|
|
208
180
|
{resourceSection.map((resource, key) => (
|
|
209
181
|
<Column key={key}>
|
|
210
182
|
<Link href={resource.link} target="_blank">
|
|
211
|
-
<Card
|
|
212
|
-
className='mr-6 p-6 h-100 overflow-visible'
|
|
213
|
-
shadow='none'
|
|
214
|
-
>
|
|
183
|
+
<Card className="mr-6 p-6 h-100 overflow-visible" shadow="none">
|
|
215
184
|
<Row>
|
|
216
|
-
<Column size={2} className=
|
|
185
|
+
<Column size={2} className="mr-6">
|
|
217
186
|
<img src={resource.imgSrc} width="100%" height="100%" alt={resource.name} />
|
|
218
187
|
</Column>
|
|
219
188
|
<Column>
|
|
220
|
-
<Heading size=
|
|
221
|
-
|
|
189
|
+
<Heading size="m" className="mb-2 home-text-color">
|
|
190
|
+
{resource.name}
|
|
191
|
+
</Heading>
|
|
192
|
+
<Text appearance="subtle" className="font-weight--normal">
|
|
222
193
|
{resource.description}
|
|
223
194
|
</Text>
|
|
224
195
|
</Column>
|