@innovaccer/design-system 2.7.0 → 2.9.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/chromatic.yml +3 -1
- package/.github/workflows/docs_pull_request.yml +20 -0
- package/.github/workflows/main.yml +1 -1
- package/.github/workflows/manual.yml +1 -1
- package/.github/workflows/pull_request.yml +1 -1
- package/.github/workflows/test.yml +1 -1
- package/CHANGELOG.md +68 -0
- package/README.md +6 -0
- package/core/components/atoms/_chip/__tests__/__snapshots__/_chip.test.tsx.snap +8 -8
- package/core/components/atoms/_chip/index.tsx +1 -1
- package/core/components/atoms/avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +20 -0
- package/core/components/atoms/avatarGroup/AvatarCount.tsx +29 -0
- package/core/components/atoms/avatarGroup/AvatarGroup.tsx +16 -62
- package/core/components/atoms/avatarGroup/AvatarPopperBody.tsx +37 -0
- package/core/components/atoms/avatarGroup/Avatars.tsx +23 -0
- package/core/components/atoms/avatarGroup/__stories__/index.story.tsx +41 -0
- package/core/components/atoms/avatarGroup/__tests__/AvatarGroup.test.tsx +1 -1
- package/core/components/atoms/avatarGroup/__tests__/__snapshots__/AvatarGroup.test.tsx.snap +8 -4
- package/core/components/atoms/button/Button.tsx +1 -2
- package/core/components/atoms/checkbox/__stories__/Group.story.tsx +1 -1
- package/core/components/atoms/checkbox/__stories__/Nested.story.tsx +2 -0
- package/core/components/atoms/chip/__tests__/__snapshots__/Chip.test.tsx.snap +11 -11
- package/core/components/atoms/chipGroup/__tests__/__snapshots__/chipGroup.test.tsx.snap +4 -4
- package/core/components/atoms/dropdown/DropdownButton.tsx +1 -1
- package/core/components/atoms/dropdown/DropdownList.tsx +56 -29
- package/core/components/atoms/dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +29 -2
- package/core/components/atoms/popperWrapper/PopperWrapper.tsx +104 -12
- package/core/components/atoms/toast/__stories__/WithDescription.story.tsx +3 -1
- package/core/components/css-utilities/designTokens/Data.tsx +18 -0
- package/core/components/css-utilities/designTokens/Transitions.story.tsx +37 -0
- package/core/components/molecules/chipInput/__tests__/__snapshots__/ChipInput.test.tsx.snap +4 -4
- package/core/components/molecules/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +260 -195
- package/core/components/molecules/editableChipInput/__tests__/__snapshots__/EditableChipInput.test.tsx.snap +4 -4
- package/core/components/molecules/editableDropdown/__tests__/__snapshots__/EditableDropdown.test.tsx.snap +1 -0
- package/core/components/molecules/fullscreenModal/FullscreenModal.tsx +13 -12
- package/core/components/molecules/fullscreenModal/__tests__/Fullscreen.test.tsx +2 -5
- package/core/components/molecules/fullscreenModal/__tests__/__snapshots__/Fullscreen.test.tsx.snap +126 -96
- package/core/components/molecules/modal/Modal.tsx +11 -9
- package/core/components/molecules/modal/__tests__/__snapshots__/Modal.test.tsx.snap +240 -180
- package/core/components/molecules/popover/Popover.tsx +9 -0
- package/core/components/molecules/popover/__tests__/__snapshots__/Popover.test.tsx.snap +16 -8
- package/core/components/molecules/sidesheet/Sidesheet.tsx +23 -22
- package/core/components/molecules/sidesheet/__tests__/__snapshots__/Sidesheet.test.tsx.snap +40 -30
- package/core/components/molecules/tooltip/Tooltip.tsx +20 -1
- package/core/components/molecules/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +8 -0
- package/core/components/organisms/calendar/__tests__/__snapshots__/Calendar.test.tsx.snap +8 -8
- package/core/components/organisms/datePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +14 -13
- package/core/components/organisms/dateRangePicker/__tests__/__snapshots__/DateRangePicker.test.tsx.snap +42 -30
- package/core/components/organisms/grid/GridBody.tsx +1 -2
- package/core/components/organisms/table/Table.tsx +0 -1
- package/core/components/organisms/table/__stories__/NestedTableWithNestedCard.story.tsx +2 -2
- package/core/components/organisms/table/__tests__/__snapshots__/Table.test.tsx.snap +1544 -0
- package/core/components/organisms/verticalNav/MenuItem.tsx +6 -2
- package/core/components/organisms/verticalNav/VerticalNav.tsx +8 -2
- package/core/components/organisms/verticalNav/__stories__/CustomItemsRenderer.story.tsx +238 -0
- package/core/utils/__tests__/__snapshots__/TS.test.tsx.snap +168 -3
- package/css/dist/index.css +300 -62
- package/css/dist/index.css.map +1 -1
- package/css/src/components/ProgressBar.css +1 -1
- package/css/src/components/avatarGroup.css +0 -9
- package/css/src/components/button.css +4 -4
- package/css/src/components/chip.css +4 -0
- package/css/src/components/dropdown.css +5 -9
- package/css/src/components/dropdownButton.css +2 -0
- package/css/src/components/fullscreenModal.css +0 -5
- package/css/src/components/grid.css +0 -11
- package/css/src/components/overlay.css +0 -11
- package/css/src/components/popover.css +12 -0
- package/css/src/components/slider.css +1 -0
- package/css/src/components/tabs.css +1 -1
- package/css/src/components/textarea.css +0 -11
- package/css/src/components/tooltip.css +115 -0
- package/css/src/components/verticalNav.css +2 -0
- package/css/src/core/animation.css +8 -0
- package/css/src/core/utilities.css +11 -0
- package/css/src/utils/utility.css +4 -0
- package/css/src/variables/index.css +19 -0
- package/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts +2 -0
- package/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts +2 -0
- package/dist/core/components/atoms/avatarGroup/Avatars.d.ts +2 -0
- package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +61 -54
- package/dist/core/components/css-utilities/designTokens/Data.d.ts +8 -0
- package/dist/core/components/css-utilities/designTokens/Transitions.story.d.ts +12 -0
- package/dist/core/components/molecules/popover/Popover.d.ts +4 -0
- package/dist/core/components/molecules/sidesheet/Sidesheet.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/MenuItem.d.ts +1 -0
- package/dist/core/components/organisms/verticalNav/VerticalNav.d.ts +2 -0
- package/dist/index.esm.js +278 -142
- package/dist/index.js +282 -149
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/docs/.eslintrc.json +1 -0
- package/docs/.unotes/templates/title_date.hbs +4 -0
- package/docs/.unotes/unotes_meta.json +302 -0
- package/docs/LICENSE +21 -0
- package/docs/README.md +31 -0
- package/docs/gatsby-browser.js +6 -0
- package/docs/gatsby-config.js +171 -0
- package/docs/gatsby-node.js +75 -0
- package/docs/index.js +1 -0
- package/docs/package.json +54 -0
- package/docs/src/components/Colors/Colors.css +19 -0
- package/docs/src/components/Colors/Colors.js +82 -0
- package/docs/src/components/Container/ComponentsContainer.js +75 -0
- package/docs/src/components/Container/Container.js +114 -0
- package/docs/src/components/Container/index.js +3 -0
- package/docs/src/components/Footer/Footer.css +7 -0
- package/docs/src/components/Footer/Footer.js +40 -0
- package/docs/src/components/Header/Header.css +32 -0
- package/docs/src/components/Header/Header.js +60 -0
- package/docs/src/components/Header/index.js +3 -0
- package/docs/src/components/LastModifiedDate/LastModifiedDate.js +24 -0
- package/docs/src/components/LastModifiedDate/index.js +3 -0
- package/docs/src/components/Layout.js +291 -0
- package/docs/src/components/LeftNav/LeftNav.js +101 -0
- package/docs/src/components/LeftNav/index.js +3 -0
- package/docs/src/components/Logos/Logos.css +29 -0
- package/docs/src/components/Logos/Logos.js +64 -0
- package/docs/src/components/Meta.js +101 -0
- package/docs/src/components/PropsTable/ArgJsDoc.tsx +102 -0
- package/docs/src/components/PropsTable/ArgRow.tsx +142 -0
- package/docs/src/components/PropsTable/ArgValue.tsx +182 -0
- package/docs/src/components/PropsTable/EmptyBlock.tsx +22 -0
- package/docs/src/components/PropsTable/SectionRow.tsx +126 -0
- package/docs/src/components/PropsTable/Shared.tsx +53 -0
- package/docs/src/components/PropsTable/Table.tsx +463 -0
- package/docs/src/components/PropsTable/card.css +7 -0
- package/docs/src/components/PropsTable/generateImports.tsx +20 -0
- package/docs/src/components/PropsTable/index.js +248 -0
- package/docs/src/components/PropsTable/prism.css +146 -0
- package/docs/src/components/PropsTable/sandbox.tsx +81 -0
- package/docs/src/components/PropsTable/theme.js +53 -0
- package/docs/src/components/PropsTable/types.tsx +44 -0
- package/docs/src/components/Rules/DONTs.js +13 -0
- package/docs/src/components/Rules/DOs.js +13 -0
- package/docs/src/components/Rules/IconWrapper.js +18 -0
- package/docs/src/components/Rules/InlineMessage.js +11 -0
- package/docs/src/components/Rules/Rules.css +17 -0
- package/docs/src/components/Rules/Rules.js +39 -0
- package/docs/src/components/TableOfContent/TableOfContent.css +37 -0
- package/docs/src/components/TableOfContent/TableOfContent.js +126 -0
- package/docs/src/components/css/global.css +15 -0
- package/docs/src/components/css/prism.css +38 -0
- package/docs/src/components/css/style.css +97 -0
- package/docs/src/components/templates/Default.js +24 -0
- package/docs/src/components/templates/Homepage.js +13 -0
- package/docs/src/data/components/images/Avatars.png +0 -0
- package/docs/src/data/components/images/Datepicker.png +0 -0
- package/docs/src/data/components/images/EditableChipInput.png +0 -0
- package/docs/src/data/components/images/Modal.png +0 -0
- package/docs/src/data/components/images/Sidesheet.png +0 -0
- package/docs/src/data/components/images/Table.png +0 -0
- package/docs/src/data/components/index.js +285 -0
- package/docs/src/data/footer-items.yaml +16 -0
- package/docs/src/data/header-items.yaml +20 -0
- package/docs/src/data/home-menu.yaml +23 -0
- package/docs/src/data/home-resources.yaml +14 -0
- package/docs/src/data/nav/components.yaml +45 -0
- package/docs/src/data/nav/content.yaml +25 -0
- package/docs/src/data/nav/default.yaml +11 -0
- package/docs/src/data/nav/foundations.yaml +22 -0
- package/docs/src/data/nav/guide-items.yaml +6 -0
- package/docs/src/data/nav/introduction.yaml +11 -0
- package/docs/src/data/storybook.json +345189 -0
- package/docs/src/pages/404.js +31 -0
- package/docs/src/pages/components/avatar/code.mdx +14 -0
- package/docs/src/pages/components/avatar/images/avatar-1.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-2.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-3.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-4.png +0 -0
- package/docs/src/pages/components/avatar/images/avatar-5.png +0 -0
- package/docs/src/pages/components/avatar/usage.mdx +53 -0
- package/docs/src/pages/components/badges/code.mdx +15 -0
- package/docs/src/pages/components/badges/images/badges-1.png +0 -0
- package/docs/src/pages/components/badges/images/badges-2.png +0 -0
- package/docs/src/pages/components/badges/usage.mdx +43 -0
- package/docs/src/pages/components/breadcrumbs/code.mdx +15 -0
- package/docs/src/pages/components/breadcrumbs/usage.mdx +30 -0
- package/docs/src/pages/components/button/code.mdx +18 -0
- package/docs/src/pages/components/button/content.mdx +652 -0
- package/docs/src/pages/components/button/images/buttons-1.png +0 -0
- package/docs/src/pages/components/button/images/buttons-2.png +0 -0
- package/docs/src/pages/components/button/usage.mdx +100 -0
- package/docs/src/pages/components/calendar/code.mdx +15 -0
- package/docs/src/pages/components/calendar/usage.mdx +9 -0
- package/docs/src/pages/components/card/code.mdx +15 -0
- package/docs/src/pages/components/card/usage.mdx +54 -0
- package/docs/src/pages/components/checkbox/code.mdx +16 -0
- package/docs/src/pages/components/checkbox/usage.mdx +49 -0
- package/docs/src/pages/components/chips/code.mdx +15 -0
- package/docs/src/pages/components/chips/usage.mdx +34 -0
- package/docs/src/pages/components/datePicker/code.mdx +7 -0
- package/docs/src/pages/components/datePicker/images/datePicker-1.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-2.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-3.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-4.png +0 -0
- package/docs/src/pages/components/datePicker/images/datePicker-5.png +0 -0
- package/docs/src/pages/components/datePicker/usage.mdx +58 -0
- package/docs/src/pages/components/index.mdx +7 -0
- package/docs/src/pages/components/message/code.mdx +16 -0
- package/docs/src/pages/components/message/usage.mdx +26 -0
- package/docs/src/pages/components/overview/index.mdx +6 -0
- package/docs/src/pages/components/overview/tabs/Overview.js +72 -0
- package/docs/src/pages/components/overview/tabs/all-components.mdx +10 -0
- package/docs/src/pages/components/overview/tabs/overview.css +30 -0
- package/docs/src/pages/components/overview/tabs/status.mdx +22 -0
- package/docs/src/pages/components/radio/code.mdx +17 -0
- package/docs/src/pages/components/radio/usage.mdx +126 -0
- package/docs/src/pages/components/sidesheet/code.mdx +8 -0
- package/docs/src/pages/components/sidesheet/interactions.mdx +8 -0
- package/docs/src/pages/components/sidesheet/usage.mdx +25 -0
- package/docs/src/pages/components/slider/code.mdx +15 -0
- package/docs/src/pages/components/slider/usage.mdx +49 -0
- package/docs/src/pages/components/statushint/code.mdx +15 -0
- package/docs/src/pages/components/statushint/usage.mdx +19 -0
- package/docs/src/pages/components/steppers/code.mdx +16 -0
- package/docs/src/pages/components/steppers/images/stepper-1.gif +0 -0
- package/docs/src/pages/components/steppers/images/stepper-2.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-3.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-4.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-5.png +0 -0
- package/docs/src/pages/components/steppers/images/stepper-6.png +0 -0
- package/docs/src/pages/components/steppers/interactions.mdx +28 -0
- package/docs/src/pages/components/steppers/usage.mdx +201 -0
- package/docs/src/pages/components/switch/code.mdx +16 -0
- package/docs/src/pages/components/switch/images/switch-1.gif +0 -0
- package/docs/src/pages/components/switch/images/switch-2.gif +0 -0
- package/docs/src/pages/components/switch/images/switch-3.png +0 -0
- package/docs/src/pages/components/switch/interactions.mdx +392 -0
- package/docs/src/pages/components/switch/usage.mdx +114 -0
- package/docs/src/pages/components/table/code.mdx +14 -0
- package/docs/src/pages/components/table/images/table-1.png +0 -0
- package/docs/src/pages/components/table/images/table-10.png +0 -0
- package/docs/src/pages/components/table/images/table-11.gif +0 -0
- package/docs/src/pages/components/table/images/table-12.png +0 -0
- package/docs/src/pages/components/table/images/table-13.png +0 -0
- package/docs/src/pages/components/table/images/table-14.png +0 -0
- package/docs/src/pages/components/table/images/table-15.png +0 -0
- package/docs/src/pages/components/table/images/table-16.png +0 -0
- package/docs/src/pages/components/table/images/table-17.png +0 -0
- package/docs/src/pages/components/table/images/table-18.png +0 -0
- package/docs/src/pages/components/table/images/table-19.png +0 -0
- package/docs/src/pages/components/table/images/table-2.png +0 -0
- package/docs/src/pages/components/table/images/table-20.png +0 -0
- package/docs/src/pages/components/table/images/table-21.png +0 -0
- package/docs/src/pages/components/table/images/table-22.png +0 -0
- package/docs/src/pages/components/table/images/table-23.png +0 -0
- package/docs/src/pages/components/table/images/table-24.png +0 -0
- package/docs/src/pages/components/table/images/table-25.png +0 -0
- package/docs/src/pages/components/table/images/table-26.png +0 -0
- package/docs/src/pages/components/table/images/table-27.png +0 -0
- package/docs/src/pages/components/table/images/table-28.png +0 -0
- package/docs/src/pages/components/table/images/table-29.png +0 -0
- package/docs/src/pages/components/table/images/table-3.png +0 -0
- package/docs/src/pages/components/table/images/table-30.png +0 -0
- package/docs/src/pages/components/table/images/table-4.png +0 -0
- package/docs/src/pages/components/table/images/table-5.png +0 -0
- package/docs/src/pages/components/table/images/table-6.png +0 -0
- package/docs/src/pages/components/table/images/table-7.png +0 -0
- package/docs/src/pages/components/table/images/table-8.png +0 -0
- package/docs/src/pages/components/table/images/table-9.png +0 -0
- package/docs/src/pages/components/table/interactions.mdx +97 -0
- package/docs/src/pages/components/table/usage.mdx +364 -0
- package/docs/src/pages/components/tabs/code.mdx +15 -0
- package/docs/src/pages/components/tabs/images/tabs-1.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-2.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-3.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-4.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-5.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-6.png +0 -0
- package/docs/src/pages/components/tabs/images/tabs-7.png +0 -0
- package/docs/src/pages/components/tabs/interactions.mdx +487 -0
- package/docs/src/pages/components/tabs/usage.mdx +164 -0
- package/docs/src/pages/components/toast/code.mdx +15 -0
- package/docs/src/pages/components/toast/images/toast-1.png +0 -0
- package/docs/src/pages/components/toast/images/toast-2.gif +0 -0
- package/docs/src/pages/components/toast/images/toast-3.gif +0 -0
- package/docs/src/pages/components/toast/images/toast-4.png +0 -0
- package/docs/src/pages/components/toast/images/toast-5.gif +0 -0
- package/docs/src/pages/components/toast/images/toast-6.gif +0 -0
- package/docs/src/pages/components/toast/interactions.mdx +218 -0
- package/docs/src/pages/components/toast/usage.mdx +156 -0
- package/docs/src/pages/components/tooltip/code.mdx +16 -0
- package/docs/src/pages/components/tooltip/images/Tooltip-1.png +0 -0
- package/docs/src/pages/components/tooltip/images/tooltip-2.gif +0 -0
- package/docs/src/pages/components/tooltip/images/tooltip-3.gif +0 -0
- package/docs/src/pages/components/tooltip/interactions.mdx +219 -0
- package/docs/src/pages/components/tooltip/usage.mdx +80 -0
- package/docs/src/pages/content/button-guidelines/index.mdx +7 -0
- package/docs/src/pages/content/button-guidelines/tabs/button-glossary.mdx +144 -0
- package/docs/src/pages/content/button-guidelines/tabs/confusing-buttons.mdx +184 -0
- package/docs/src/pages/content/email-guidelines.mdx +107 -0
- package/docs/src/pages/content/empty-states.mdx +8 -0
- package/docs/src/pages/content/error-messages.mdx +165 -0
- package/docs/src/pages/content/house-rules/tabs/basics.mdx +236 -0
- package/docs/src/pages/content/house-rules/tabs/date,-time-&-numbers.mdx +462 -0
- package/docs/src/pages/content/house-rules/tabs/grammer.mdx +744 -0
- package/docs/src/pages/content/house-rules/tabs/punctuations.mdx +666 -0
- package/docs/src/pages/content/placeholder-text.mdx +58 -0
- package/docs/src/pages/content/rules.mdx +136 -0
- package/docs/src/pages/content/voice-and-tone-guidelines/index.mdx +7 -0
- package/docs/src/pages/content/voice-and-tone-guidelines/tabs/usage.mdx +309 -0
- package/docs/src/pages/content/voice-and-tone-guidelines/tabs/voice-and-tone.mdx +38 -0
- package/docs/src/pages/contributions.mdx +16 -0
- package/docs/src/pages/foundations/colors.mdx +149 -0
- package/docs/src/pages/foundations/interactions.mdx +192 -0
- package/docs/src/pages/foundations/layout/images/baseline-grid.png +0 -0
- package/docs/src/pages/foundations/layout/images/grid-column.jpeg +0 -0
- package/docs/src/pages/foundations/layout/images/grid-layout.jpeg +0 -0
- package/docs/src/pages/foundations/layout/images/grid-margin.jpeg +0 -0
- package/docs/src/pages/foundations/layout/images/spacing.png +0 -0
- package/docs/src/pages/foundations/layout/images/typography.png +0 -0
- package/docs/src/pages/foundations/layout/index.mdx +151 -0
- package/docs/src/pages/foundations/logos.mdx +88 -0
- package/docs/src/pages/foundations/principles.mdx +60 -0
- package/docs/src/pages/foundations/response-time.mdx +124 -0
- package/docs/src/pages/foundations/typography.mdx +8 -0
- package/docs/src/pages/getting-started/index.mdx +9 -0
- package/docs/src/pages/guides/MDX.mdx +17 -0
- package/docs/src/pages/home/HomeBanner.png +0 -0
- package/docs/src/pages/home/homepage.css +23 -0
- package/docs/src/pages/index.js +241 -0
- package/docs/src/pages/introduction/get-started/designers.mdx +89 -0
- package/docs/src/pages/introduction/get-started/developers.mdx +128 -0
- package/docs/src/pages/introduction/what's-new.mdx +801 -0
- package/docs/src/pages/mobile/components/avatar/code.mdx +12 -0
- package/docs/src/pages/mobile/components/avatar/usage.mdx +20 -0
- package/docs/src/pages/mobile/components/badges/code.mdx +16 -0
- package/docs/src/pages/mobile/components/badges/usage.mdx +23 -0
- package/docs/src/pages/mobile/components/breadcrumbs/code.mdx +16 -0
- package/docs/src/pages/mobile/components/breadcrumbs/usage.mdx +34 -0
- package/docs/src/pages/mobile/components/button/code.mdx +12 -0
- package/docs/src/pages/mobile/components/button/content.mdx +1 -0
- package/docs/src/pages/mobile/components/button/usage.mdx +55 -0
- package/docs/src/pages/mobile/components/card/code.mdx +16 -0
- package/docs/src/pages/mobile/components/card/usage.mdx +23 -0
- package/docs/src/pages/mobile/components/checkbox/code.mdx +16 -0
- package/docs/src/pages/mobile/components/checkbox/usage.mdx +49 -0
- package/docs/src/pages/mobile/components/index.mdx +7 -0
- package/docs/src/pages/mobile/components/message/code.mdx +16 -0
- package/docs/src/pages/mobile/components/message/usage.mdx +26 -0
- package/docs/src/pages/mobile/components/overview/index.mdx +8 -0
- package/docs/src/pages/mobile/components/overview/tabs/all-components.mdx +8 -0
- package/docs/src/pages/mobile/components/overview/tabs/status.mdx +115 -0
- package/docs/src/pages/mobile/foundations/colors.mdx +149 -0
- package/docs/src/pages/mobile/foundations/interactions.mdx +192 -0
- package/docs/src/pages/mobile/foundations/layout/images/baseline-grid.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/grid-column.jpeg +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/grid-layout.jpeg +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/grid-margin.jpeg +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/spacing.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/images/typography.png +0 -0
- package/docs/src/pages/mobile/foundations/layout/index.mdx +151 -0
- package/docs/src/pages/mobile/foundations/logos.mdx +88 -0
- package/docs/src/pages/mobile/foundations/principles.mdx +47 -0
- package/docs/src/pages/mobile/foundations/response-time.mdx +124 -0
- package/docs/src/pages/mobile/foundations/typography.mdx +8 -0
- package/docs/src/pages/patterns/index.mdx +7 -0
- package/docs/src/pages/resources/index.mdx +7 -0
- package/docs/src/util/FooterItems.js +21 -0
- package/docs/src/util/Frontmatter.js +35 -0
- package/docs/src/util/HeaderItems.js +21 -0
- package/docs/src/util/Helpers.js +7 -0
- package/docs/src/util/HomeMenu.js +24 -0
- package/docs/src/util/HomeResources.js +23 -0
- package/docs/src/util/InPageNavItems.js +36 -0
- package/docs/src/util/Logos.js +19 -0
- package/docs/src/util/MdsChangelog.js +55 -0
- package/docs/src/util/MediumBlogs.js +27 -0
- package/docs/src/util/NavItems.js +82 -0
- package/docs/src/util/StorybookData.js +24 -0
- package/docs/src/util/constants.js +7 -0
- package/docs/src/util/context/NavContext.js +54 -0
- package/docs/src/util/hooks/index.js +1 -0
- package/docs/src/util/hooks/useMetadata.js +21 -0
- package/docs/src/util/index.js +4 -0
- package/docs/static/icons/4691539_codesandbox_icon.svg +1 -0
- package/docs/static/icons/card-image.png +0 -0
- package/docs/static/icons/favicon_io/android-chrome-192x192.png +0 -0
- package/docs/static/icons/favicon_io/android-chrome-512x512.png +0 -0
- package/docs/static/icons/favicon_io/apple-touch-icon.png +0 -0
- package/docs/static/icons/favicon_io/favicon-16x16.png +0 -0
- package/docs/static/icons/favicon_io/favicon-32x32.png +0 -0
- package/docs/static/icons/favicon_io/favicon.ico +0 -0
- package/docs/static/images/P360.png +0 -0
- package/docs/static/images/dap.png +0 -0
- package/docs/static/images/default.png +0 -0
- package/docs/static/images/designtoken.png +0 -0
- package/docs/static/images/figma.png +0 -0
- package/docs/static/images/headerLogo.png +0 -0
- package/docs/static/images/inacademy.png +0 -0
- package/docs/static/images/inapi.png +0 -0
- package/docs/static/images/incare.png +0 -0
- package/docs/static/images/inconnect.png +0 -0
- package/docs/static/images/indata.png +0 -0
- package/docs/static/images/ingraph.png +0 -0
- package/docs/static/images/innote.png +0 -0
- package/docs/static/images/inoffice.png +0 -0
- package/docs/static/images/inreport.png +0 -0
- package/docs/static/images/storybook.png +0 -0
- package/docs/static/images/withoutType.png +0 -0
- package/docs/tools/build.sh +6 -0
- package/docs/tools/changelog.sh +1 -0
- package/docs/tools/changeloghead.md +14 -0
- package/docs/tools/develop.sh +5 -0
- package/docs/tools/extract.js +52 -0
- package/docs/tools/update-mds.sh +3 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/tsconfig.type.json +2 -1
- package/docs/AppTutorial.md +0 -474
- package/docs/images/BasicLayout.png +0 -0
- package/docs/images/Breadcrumb.png +0 -0
- package/docs/images/Covid-App.png +0 -0
- package/docs/images/DrilledLayout.png +0 -0
- package/docs/images/DrilledPage.png +0 -0
- package/docs/images/Footer.png +0 -0
- package/docs/images/Graph1.png +0 -0
- package/docs/images/Graph2.png +0 -0
- package/docs/images/Header.png +0 -0
- package/docs/images/Map.png +0 -0
- package/docs/images/StaticComponent.png +0 -0
- package/docs/images/Summary.png +0 -0
- package/docs/images/Table.png +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { navigate } from 'gatsby';
|
|
3
|
+
import Meta from '../components/Meta';
|
|
4
|
+
import Homepage from '../components/templates/Homepage';
|
|
5
|
+
import Footer from '../components/Footer/Footer';
|
|
6
|
+
import { MediumBlogs, useHomeMenu, MdsChangelog, useHomeResources } from '../util';
|
|
7
|
+
import { StaticImage } from "gatsby-plugin-image";
|
|
8
|
+
import './home/homepage.css';
|
|
9
|
+
import {
|
|
10
|
+
Row,
|
|
11
|
+
Column,
|
|
12
|
+
Heading,
|
|
13
|
+
Button,
|
|
14
|
+
Card,
|
|
15
|
+
Badge,
|
|
16
|
+
Text,
|
|
17
|
+
Icon,
|
|
18
|
+
Link,
|
|
19
|
+
Subheading
|
|
20
|
+
} from '@innovaccer/design-system';
|
|
21
|
+
|
|
22
|
+
const Home = () => {
|
|
23
|
+
|
|
24
|
+
const mediumBlogList = MediumBlogs().slice(0, 3);
|
|
25
|
+
const menuSection = useHomeMenu();
|
|
26
|
+
const resourceSection = useHomeResources();
|
|
27
|
+
const changelog = MdsChangelog();
|
|
28
|
+
|
|
29
|
+
const releaseDate = new Date(changelog.releaseDate).toString().slice(3, 15);
|
|
30
|
+
|
|
31
|
+
const getChangelogContent = () => (
|
|
32
|
+
changelog.updatesList.slice(0, 2).map((updates) => {
|
|
33
|
+
return (
|
|
34
|
+
updates.map((item, key) => {
|
|
35
|
+
return (
|
|
36
|
+
key < 3 &&
|
|
37
|
+
(
|
|
38
|
+
key === 0 ?
|
|
39
|
+
<div className="mt-4">
|
|
40
|
+
<Text weight='strong' className="home-text-color">{item}</Text>
|
|
41
|
+
</div>
|
|
42
|
+
:
|
|
43
|
+
<div className="list">
|
|
44
|
+
<li className="m-0">
|
|
45
|
+
<Text appearance='subtle' size='small' weight='medium'>
|
|
46
|
+
{item.substring(0, item.lastIndexOf('('))}
|
|
47
|
+
</Text>
|
|
48
|
+
</li>
|
|
49
|
+
</div>
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
})
|
|
53
|
+
)
|
|
54
|
+
})
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
return (
|
|
58
|
+
<Homepage relativePagePath={'/404'} is404={true}>
|
|
59
|
+
<Meta titleType='page' pageTitle='Masala Design System' />
|
|
60
|
+
<Row className="h-100">
|
|
61
|
+
<Column className="page-animation">
|
|
62
|
+
|
|
63
|
+
<section className="px-12 pt-8">
|
|
64
|
+
<Row className="align-items-center">
|
|
65
|
+
<Column>
|
|
66
|
+
<Text weight='medium'>Welcome to</Text>
|
|
67
|
+
<Heading size='xl' className='mt-2 home-text-color'>
|
|
68
|
+
Masala Design System
|
|
69
|
+
</Heading>
|
|
70
|
+
<Heading size='m' className='mt-4 font-weight--normal home-text-color'>
|
|
71
|
+
Designers, developers, product managers, and UXer's use
|
|
72
|
+
Innovaccer's Masala Design System to build products effortlessly,
|
|
73
|
+
fearlessly, and conveniently.
|
|
74
|
+
</Heading>
|
|
75
|
+
<br />
|
|
76
|
+
<Button
|
|
77
|
+
appearance='primary'
|
|
78
|
+
onClick={() => navigate('/introduction/get-started/developers/')}
|
|
79
|
+
>
|
|
80
|
+
Get started
|
|
81
|
+
</Button>
|
|
82
|
+
<br />
|
|
83
|
+
</Column>
|
|
84
|
+
<Column>
|
|
85
|
+
<StaticImage
|
|
86
|
+
src="./home/HomeBanner.png"
|
|
87
|
+
alt="test"
|
|
88
|
+
/>
|
|
89
|
+
</Column>
|
|
90
|
+
</Row>
|
|
91
|
+
</section>
|
|
92
|
+
|
|
93
|
+
<section className="px-12 py-11 home-menu">
|
|
94
|
+
<Row>
|
|
95
|
+
{
|
|
96
|
+
menuSection.map((menuItem, key) => {
|
|
97
|
+
return (
|
|
98
|
+
<Column size={3} key={key}>
|
|
99
|
+
<Link href={menuItem.link}>
|
|
100
|
+
<Card
|
|
101
|
+
className='mr-7 p-6 h-100 overflow-visible'
|
|
102
|
+
shadow='none'
|
|
103
|
+
>
|
|
104
|
+
<div className='d-flex'>
|
|
105
|
+
<div className='mr-6'>
|
|
106
|
+
<span
|
|
107
|
+
className='border-radius--rounded p-4 d-inline-flex'
|
|
108
|
+
style={{ backgroundColor: `var(--${menuItem.appearance}-lightest)` }}
|
|
109
|
+
>
|
|
110
|
+
<Icon
|
|
111
|
+
name={menuItem.icon}
|
|
112
|
+
appearance={menuItem.appearance}
|
|
113
|
+
size={24}
|
|
114
|
+
/>
|
|
115
|
+
</span>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<div>
|
|
119
|
+
<Heading size='s' className='mb-4 home-text-color'>
|
|
120
|
+
{menuItem.name}
|
|
121
|
+
</Heading>
|
|
122
|
+
<Text appearance='subtle' className='font-weight--normal'>
|
|
123
|
+
{menuItem.content}
|
|
124
|
+
</Text>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
</Card>
|
|
128
|
+
</Link>
|
|
129
|
+
</Column>
|
|
130
|
+
)
|
|
131
|
+
})
|
|
132
|
+
}
|
|
133
|
+
</Row>
|
|
134
|
+
</section>
|
|
135
|
+
|
|
136
|
+
<section className="px-12 py-11">
|
|
137
|
+
<Row>
|
|
138
|
+
<Column size={6}>
|
|
139
|
+
<Card
|
|
140
|
+
className='p-6 mr-6 h-100 overflow-visible'
|
|
141
|
+
shadow='none'
|
|
142
|
+
>
|
|
143
|
+
<div className='d-flex'>
|
|
144
|
+
<Heading size='m' className='mb-3 home-text-color'>
|
|
145
|
+
Masala Design System v{(changelog.version).trim()}
|
|
146
|
+
</Heading>
|
|
147
|
+
<div>
|
|
148
|
+
<Badge appearance="success" className='ml-4 mt-3'> NEW </Badge>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
<div className='mb-6'>
|
|
152
|
+
<Subheading appearance="subtle">{releaseDate}</Subheading>
|
|
153
|
+
<div>
|
|
154
|
+
{getChangelogContent()}
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<Link href={'/introduction/what\'s-new/'}> View all updates</Link>
|
|
159
|
+
</Card>
|
|
160
|
+
</Column>
|
|
161
|
+
<Column size={6}>
|
|
162
|
+
<Card
|
|
163
|
+
className='p-6 mr-6 h-100 overflow-visible'
|
|
164
|
+
shadow='none'
|
|
165
|
+
>
|
|
166
|
+
<Heading size='m' className="home-text-color mb-5">Blogs by Innovaccer Design</Heading>
|
|
167
|
+
{
|
|
168
|
+
mediumBlogList.map((blog, key) => {
|
|
169
|
+
return (
|
|
170
|
+
<div className={`d-flex ${key === 2 ? 'mb-0' : 'mb-5'}`} key={key}>
|
|
171
|
+
<div style={{ width: '40px' }}>
|
|
172
|
+
<img
|
|
173
|
+
src={`https://miro.medium.com/fit/c/28/28/${blog.author.imageId}`}
|
|
174
|
+
alt="author_img"
|
|
175
|
+
className="border-radius--rounded mr-4"
|
|
176
|
+
/>
|
|
177
|
+
</div>
|
|
178
|
+
<div>
|
|
179
|
+
<Link href={`https://medium.com/innovaccer-design/${blog.uniqueSlug}`} target="_blank" >
|
|
180
|
+
{blog.title}
|
|
181
|
+
</Link>
|
|
182
|
+
<br />
|
|
183
|
+
<Text appearance='subtle' size='small' weight='medium'>
|
|
184
|
+
{'by ' + blog.author.name}
|
|
185
|
+
</Text>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
)
|
|
189
|
+
})
|
|
190
|
+
}
|
|
191
|
+
<div
|
|
192
|
+
className="position-absolute sticky-bottom"
|
|
193
|
+
>
|
|
194
|
+
<Link
|
|
195
|
+
href='https://medium.com/innovaccer-tech'
|
|
196
|
+
target="_blank"
|
|
197
|
+
>
|
|
198
|
+
More blogs
|
|
199
|
+
</Link>
|
|
200
|
+
</div>
|
|
201
|
+
</Card>
|
|
202
|
+
</Column>
|
|
203
|
+
</Row>
|
|
204
|
+
</section>
|
|
205
|
+
|
|
206
|
+
<section className="px-12 py-11 bg-secondary-lightest">
|
|
207
|
+
<Heading size='xl' className="home-text-color">Resources</Heading>
|
|
208
|
+
<Row className="mt-7">
|
|
209
|
+
{resourceSection.map((resource, key) => (
|
|
210
|
+
<Column key={key}>
|
|
211
|
+
<Link href={resource.link} target="_blank">
|
|
212
|
+
<Card
|
|
213
|
+
className='mr-6 p-6 h-100 overflow-visible'
|
|
214
|
+
shadow='none'
|
|
215
|
+
>
|
|
216
|
+
<Row>
|
|
217
|
+
<Column size={2} className='mr-6'>
|
|
218
|
+
<img src={resource.imgSrc} width="100%" height="100%" alt={resource.name} />
|
|
219
|
+
</Column>
|
|
220
|
+
<Column>
|
|
221
|
+
<Heading size='m' className="mb-2 home-text-color">{resource.name}</Heading>
|
|
222
|
+
<Text appearance='subtle' className='font-weight--normal'>
|
|
223
|
+
{resource.description}
|
|
224
|
+
</Text>
|
|
225
|
+
</Column>
|
|
226
|
+
</Row>
|
|
227
|
+
</Card>
|
|
228
|
+
</Link>
|
|
229
|
+
</Column>
|
|
230
|
+
))}
|
|
231
|
+
</Row>
|
|
232
|
+
</section>
|
|
233
|
+
|
|
234
|
+
<Footer relativePagePath={'/home'} />
|
|
235
|
+
</Column>
|
|
236
|
+
</Row>
|
|
237
|
+
</Homepage>
|
|
238
|
+
);
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
export default Home;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: For Designers
|
|
3
|
+
description: Welcome to Masala Design System! If you're just starting out designing with Masala Design System, here's a checklist of everything you need to get up and running.
|
|
4
|
+
date: 15 June 2021
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Masala Design System helps in designing consistent products swiftly.
|
|
8
|
+
|
|
9
|
+
#### Pre-requisites
|
|
10
|
+
|
|
11
|
+
<ol className='pl-6'>
|
|
12
|
+
<li>
|
|
13
|
+
Install Sketch. Please ensure that you are running the
|
|
14
|
+
latest version of Sketch in order to use the components
|
|
15
|
+
from the Design System.
|
|
16
|
+
</li>
|
|
17
|
+
<br />
|
|
18
|
+
<li>
|
|
19
|
+
Install Abstract app. We use Abstract for version
|
|
20
|
+
control and collaboration across designers, so make sure
|
|
21
|
+
it is installed in your system before you start
|
|
22
|
+
designing. Abstract plugin for Sketch is automatically
|
|
23
|
+
installed when you install the Abstract macOS app.
|
|
24
|
+
</li>
|
|
25
|
+
<br />
|
|
26
|
+
<li>
|
|
27
|
+
Install Craft Manager. We use Marvel for prototyping and
|
|
28
|
+
collaboration. Craft plugin for Sketch allows easy
|
|
29
|
+
uploading and updating screens on InVision.
|
|
30
|
+
</li>
|
|
31
|
+
<br />
|
|
32
|
+
<li>
|
|
33
|
+
Install the required fonts. Please download and install
|
|
34
|
+
the following fonts in your system-
|
|
35
|
+
<ol className='pl-6' type='a'>
|
|
36
|
+
<li>
|
|
37
|
+
<Text appearance='link'>Nunito Sans (for Web)</Text>
|
|
38
|
+
</li>
|
|
39
|
+
<li>
|
|
40
|
+
<Text appearance='link'>SF Pro (for iOS)</Text>
|
|
41
|
+
</li>
|
|
42
|
+
<li>
|
|
43
|
+
<Text appearance='link'>
|
|
44
|
+
MaterialIcons-Rounded(for Icons)
|
|
45
|
+
</Text>
|
|
46
|
+
</li>
|
|
47
|
+
<li>
|
|
48
|
+
<Text appearance='link'>
|
|
49
|
+
MaterialIcons-Outline (for Icons)
|
|
50
|
+
</Text>
|
|
51
|
+
</li>
|
|
52
|
+
</ol>
|
|
53
|
+
</li>
|
|
54
|
+
</ol>
|
|
55
|
+
|
|
56
|
+
#### Plugins
|
|
57
|
+
|
|
58
|
+
We use a couple of Sketch plugins to speed up the workflow. It is recommended that you download and use them -
|
|
59
|
+
|
|
60
|
+
<ol className='pl-6'>
|
|
61
|
+
<li>
|
|
62
|
+
<Text appearance='link'>Sketch Runner</Text> - Perform
|
|
63
|
+
Sketch actions quicker with your keyboard. Launch,
|
|
64
|
+
search, execute; and install other plugins.
|
|
65
|
+
</li>
|
|
66
|
+
<br />
|
|
67
|
+
<li>
|
|
68
|
+
<Text appearance='link'>Automate Runner</Text> - Rename
|
|
69
|
+
bulk layers/artboards and 100s of other use cases. Make
|
|
70
|
+
your workflow more efficient.
|
|
71
|
+
</li>
|
|
72
|
+
<br />
|
|
73
|
+
<li>
|
|
74
|
+
<Text appearance='link'>Find and replace</Text> - Find
|
|
75
|
+
and replace texts within your selection, you page, or
|
|
76
|
+
the entire sketch document.
|
|
77
|
+
</li>
|
|
78
|
+
<br />
|
|
79
|
+
<li>
|
|
80
|
+
<Text appearance='link'>Symbol instance locator</Text> -
|
|
81
|
+
Find the instances of the symbols in your entire Sketch
|
|
82
|
+
document.
|
|
83
|
+
</li>
|
|
84
|
+
<br />
|
|
85
|
+
<li>
|
|
86
|
+
<Text appearance='link'>Symbol swapper</Text> - Replace
|
|
87
|
+
symbols or replace your entire Sketch library.
|
|
88
|
+
</li>
|
|
89
|
+
</ol>
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: For Developers
|
|
3
|
+
description: Welcome to Masala Design System! If you're just starting out developing with Masala Design System, here's a checklist of everything you need to get up and running.
|
|
4
|
+
date: 15 June 2021
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
The Masala Design System provides front-end developers & engineers a collection of reusable React components, css with dynamic theming support and static markup to develop user interfaces using design system principles and guidelines. This enables developers to use consistent markup, styles, and behavior in prototype and production work.
|
|
8
|
+
|
|
9
|
+
<Message
|
|
10
|
+
appearance='info'
|
|
11
|
+
description="If your app runs on Innovaccer UI engine, you don't need to follow any of the following steps. You can directly jump to 'Using components' section bellow."
|
|
12
|
+
/>
|
|
13
|
+
|
|
14
|
+
<br />
|
|
15
|
+
<br />
|
|
16
|
+
|
|
17
|
+
#### Getting started
|
|
18
|
+
|
|
19
|
+
<br />
|
|
20
|
+
|
|
21
|
+
##### Installing component library
|
|
22
|
+
|
|
23
|
+
Run the following command using npm to add the component library to your project.
|
|
24
|
+
|
|
25
|
+
```shell
|
|
26
|
+
npm install @innovaccer/design-system
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
<br />
|
|
30
|
+
<br />
|
|
31
|
+
|
|
32
|
+
##### Adding style
|
|
33
|
+
|
|
34
|
+
As this component library is part of a framework-agnostic design system used at Innovaccer the styling is done with CSS using CSS variables for theming and BEM methodology for reusable and modular styling. So it requires you to include CSS in your project by either importing or serving it as a static file. The complete stylesheet is published as part of the component library at path @innovaccer/design-system/css.
|
|
35
|
+
|
|
36
|
+
Import style at your app's root.
|
|
37
|
+
|
|
38
|
+
```shell
|
|
39
|
+
import '@innovaccer/design-system/css';
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
<br />
|
|
43
|
+
<br />
|
|
44
|
+
|
|
45
|
+
##### Using font
|
|
46
|
+
|
|
47
|
+
The css sets the font family as 'Nunito Sans' for the body. To add this font in your project you need to load this font. The recommended way to do it is by adding the following google font cdn link to your app's head.
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:300,300i,400,400i,600,600i,700,700i,800,800i,900,900i&display=swap" rel="stylesheet">
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
<br />
|
|
54
|
+
<br />
|
|
55
|
+
|
|
56
|
+
##### Updating font
|
|
57
|
+
|
|
58
|
+
If you don't add the font described above font family will not be affected by css. However, if you want to update the font family update it via the following css variable.
|
|
59
|
+
|
|
60
|
+
```shell
|
|
61
|
+
--font-family
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
<br />
|
|
65
|
+
<br />
|
|
66
|
+
|
|
67
|
+
##### Updating font
|
|
68
|
+
|
|
69
|
+
As BEM is used reset.css is not used and no style reset is done.
|
|
70
|
+
|
|
71
|
+
<br />
|
|
72
|
+
|
|
73
|
+
##### Polyfill for IE
|
|
74
|
+
|
|
75
|
+
For css variables to work on IE we use a polyfill at runtime to achieve dynamic theming through variables. Please add the following polyfill in your page.
|
|
76
|
+
|
|
77
|
+
```shell
|
|
78
|
+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
79
|
+
<script>
|
|
80
|
+
cssVars({
|
|
81
|
+
onlyLegacy: true
|
|
82
|
+
});
|
|
83
|
+
</script>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
<br />
|
|
87
|
+
<br />
|
|
88
|
+
|
|
89
|
+
#### Using components
|
|
90
|
+
|
|
91
|
+
Available components along with live code editor and API documentation can be found here. Components can be imported as mentioned below.
|
|
92
|
+
|
|
93
|
+
```javascript
|
|
94
|
+
{
|
|
95
|
+
...
|
|
96
|
+
Avatar,
|
|
97
|
+
Backdrop,
|
|
98
|
+
Badge,
|
|
99
|
+
BreadcrumbsWrapper,
|
|
100
|
+
Breadcrumb,
|
|
101
|
+
...
|
|
102
|
+
} from '@innovaccer/design-system'
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
<br />
|
|
106
|
+
<br />
|
|
107
|
+
|
|
108
|
+
#### How to run locally?
|
|
109
|
+
|
|
110
|
+
<br />
|
|
111
|
+
|
|
112
|
+
```shell
|
|
113
|
+
#clone repository
|
|
114
|
+
git clone https://github.com/innovaccer/design-system.git
|
|
115
|
+
|
|
116
|
+
#install dependencies
|
|
117
|
+
npm install
|
|
118
|
+
|
|
119
|
+
#start development server
|
|
120
|
+
npm run dev
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
<br />
|
|
124
|
+
<br />
|
|
125
|
+
|
|
126
|
+
#### How to contribute?
|
|
127
|
+
|
|
128
|
+
We are happy that you wish to contribute to this project. Please refer to the Contribution Guidelines for more information about setting up the project and contributing to it.
|