@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,37 @@
|
|
|
1
|
+
.table-of-content {
|
|
2
|
+
width: var(--spacing-10);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.toc-link {
|
|
6
|
+
text-decoration: none;
|
|
7
|
+
font-size: var(--font-size);
|
|
8
|
+
color: var(--inverse);
|
|
9
|
+
padding: var(--spacing) 0;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.right-nav-container {
|
|
14
|
+
height: max-content;
|
|
15
|
+
border-left: var(--border);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.active-link {
|
|
19
|
+
font-weight: var(--font-weight-bold);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.table-of-content-list {
|
|
23
|
+
list-style: none;
|
|
24
|
+
padding-left: 16px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.active-link::before {
|
|
28
|
+
content: '';
|
|
29
|
+
display: block;
|
|
30
|
+
width: 2px;
|
|
31
|
+
height: 36px;
|
|
32
|
+
background: #000;
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: 0;
|
|
35
|
+
background: var(--primary);
|
|
36
|
+
border-radius: 0 1px 1px 0;
|
|
37
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
2
|
+
import { useNavItems } from '../../util/InPageNavItems';
|
|
3
|
+
import { Subheading } from '@innovaccer/design-system';
|
|
4
|
+
import { Link } from 'gatsby';
|
|
5
|
+
import './TableOfContent.css';
|
|
6
|
+
|
|
7
|
+
const TableOfContent = (props) => {
|
|
8
|
+
const { relativePagePath, location } = props;
|
|
9
|
+
const clickedRef = useRef(false);
|
|
10
|
+
const unsetClickedRef = useRef(null);
|
|
11
|
+
|
|
12
|
+
let navItems = useNavItems(relativePagePath);
|
|
13
|
+
const [active, setActive] = useState('');
|
|
14
|
+
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
const navIds = getIds(navItems);
|
|
17
|
+
document.body.addEventListener('scroll', (e) => onScrollHandler(e, navIds), true);
|
|
18
|
+
return () => {
|
|
19
|
+
document.body.removeEventListener('scroll', (e) => onScrollHandler(e, navIds), true);
|
|
20
|
+
}
|
|
21
|
+
}, []);
|
|
22
|
+
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
let urlHash = '';
|
|
25
|
+
if (location && location.hash) {
|
|
26
|
+
urlHash = location.hash.slice(1);
|
|
27
|
+
setActive(urlHash);
|
|
28
|
+
} else if(navItems && navItems.length) {
|
|
29
|
+
setActive(navItems[0].url?.slice(1));
|
|
30
|
+
}
|
|
31
|
+
}, []);
|
|
32
|
+
|
|
33
|
+
const onScrollHandler = (e, idList) => {
|
|
34
|
+
// Don't set the active index based on scroll if a link was just clicked
|
|
35
|
+
if (clickedRef.current) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const headerHeight = document.getElementById('mainHeader').getBoundingClientRect().height;
|
|
39
|
+
const viewportHeight = document.body.offsetHeight - headerHeight;
|
|
40
|
+
let resultFound = false;
|
|
41
|
+
|
|
42
|
+
idList && idList.forEach((item) => {
|
|
43
|
+
let element = document.getElementById(item);
|
|
44
|
+
if (element && !resultFound) {
|
|
45
|
+
const { top, height } = element.getBoundingClientRect();
|
|
46
|
+
if (top > 0 && viewportHeight > top - height) {
|
|
47
|
+
setActive(item);
|
|
48
|
+
resultFound = true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const onClickHandler = (e, itemUrl) => {
|
|
55
|
+
setActive(itemUrl);
|
|
56
|
+
|
|
57
|
+
// Used to disable onScrollHandler if the page scrolls due to a click
|
|
58
|
+
clickedRef.current = true;
|
|
59
|
+
unsetClickedRef.current = setTimeout(() => {
|
|
60
|
+
clickedRef.current = false;
|
|
61
|
+
}, 1000);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
function getIds(items) {
|
|
65
|
+
return items.reduce((acc, item) => {
|
|
66
|
+
if (item.url) {
|
|
67
|
+
// url has a # as first character, remove it to get the raw Id
|
|
68
|
+
acc.push(item.url.slice(1));
|
|
69
|
+
}
|
|
70
|
+
if (item.items) {
|
|
71
|
+
acc.push(...getIds(item.items));
|
|
72
|
+
}
|
|
73
|
+
return acc;
|
|
74
|
+
}, []);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function renderItems(items) {
|
|
78
|
+
return (
|
|
79
|
+
<ul className='table-of-content-list pr-8'>
|
|
80
|
+
{items && items.map((item, key) => {
|
|
81
|
+
return (
|
|
82
|
+
<li key={key}>
|
|
83
|
+
<div
|
|
84
|
+
className={`${active == item.url?.slice(1) ? 'active-link' : ''
|
|
85
|
+
}`}
|
|
86
|
+
>
|
|
87
|
+
<Link
|
|
88
|
+
to={item.url}
|
|
89
|
+
onClick={(e) => onClickHandler(e, item.url.slice(1))}
|
|
90
|
+
className='toc-link'
|
|
91
|
+
style={{
|
|
92
|
+
display: `${item.title ? 'inline-block' : 'none'
|
|
93
|
+
}`,
|
|
94
|
+
}}
|
|
95
|
+
>
|
|
96
|
+
{item.title}
|
|
97
|
+
</Link>
|
|
98
|
+
</div>
|
|
99
|
+
{item.items && renderItems(item.items)}
|
|
100
|
+
</li>
|
|
101
|
+
);
|
|
102
|
+
})}
|
|
103
|
+
</ul>
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return (
|
|
108
|
+
<div className='d-flex flex-column right-nav-container overflow-hidden'>
|
|
109
|
+
{navItems && navItems.length ? (
|
|
110
|
+
<>
|
|
111
|
+
<Subheading
|
|
112
|
+
appearance='subtle'
|
|
113
|
+
className='pl-6 mt-10'
|
|
114
|
+
>
|
|
115
|
+
CONTENTS
|
|
116
|
+
</Subheading>
|
|
117
|
+
{renderItems(navItems)}
|
|
118
|
+
</>
|
|
119
|
+
) : (
|
|
120
|
+
''
|
|
121
|
+
)}
|
|
122
|
+
</div>
|
|
123
|
+
);
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export default TableOfContent;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Add back the container background-color, border-radius, padding, margin
|
|
3
|
+
* and overflow that we removed from <pre>.
|
|
4
|
+
*/
|
|
5
|
+
.gatsby-highlight {
|
|
6
|
+
border-radius: var(--spacing);
|
|
7
|
+
border: var(--spacing-xs) solid var(--secondary-lightest);
|
|
8
|
+
position: relative;
|
|
9
|
+
background-color: var(--secondary-light);
|
|
10
|
+
margin: 0.5em 0;
|
|
11
|
+
padding: 1em;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Remove the default PrismJS theme background-color, border-radius, margin,
|
|
19
|
+
* padding and overflow.
|
|
20
|
+
* 1. Make the element just wide enough to fit its content.
|
|
21
|
+
* 2. Always fill the visible space in .gatsby-highlight.
|
|
22
|
+
* 3. Adjust the position of the line numbers
|
|
23
|
+
*/
|
|
24
|
+
.gatsby-highlight pre[class*='language-'] {
|
|
25
|
+
background-color: transparent;
|
|
26
|
+
margin: 0;
|
|
27
|
+
padding: 0;
|
|
28
|
+
overflow: initial;
|
|
29
|
+
float: left; /* 1 */
|
|
30
|
+
min-width: 100%; /* 2 */
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
code[class*="language-"] {
|
|
36
|
+
background: transparent !important;
|
|
37
|
+
white-space: pre-wrap !important;
|
|
38
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.in-page-nav {
|
|
2
|
+
top: 0;
|
|
3
|
+
align-self: flex-start;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@keyframes fadeInAnimation {
|
|
7
|
+
0% {
|
|
8
|
+
opacity: 0.25;
|
|
9
|
+
margin-top: 2px;
|
|
10
|
+
}
|
|
11
|
+
100% {
|
|
12
|
+
opacity: 1;
|
|
13
|
+
margin-top: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.page-animation {
|
|
18
|
+
animation: fadeInAnimation ease 0.5s;
|
|
19
|
+
animation-iteration-count: 1;
|
|
20
|
+
animation-fill-mode: forwards;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.page-scroll {
|
|
24
|
+
overflow-y: scroll;
|
|
25
|
+
scroll-behavior: smooth;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.list {
|
|
29
|
+
margin-top: var(--spacing-m);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.list > li {
|
|
33
|
+
list-style: none;
|
|
34
|
+
margin-bottom: var(--spacing-2);
|
|
35
|
+
margin-left: var(--spacing-s);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.list li::before {
|
|
39
|
+
content: '\2022';
|
|
40
|
+
width: 2px;
|
|
41
|
+
display: inline-block;
|
|
42
|
+
color: var(--inverse-lightest);
|
|
43
|
+
margin-right: var(--spacing-l);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.toast {
|
|
47
|
+
left: 0;
|
|
48
|
+
bottom: 0;
|
|
49
|
+
z-index: 1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.rectangle {
|
|
53
|
+
background-color: var(--secondary-lightest);
|
|
54
|
+
border: var(--border);
|
|
55
|
+
border-radius: var(--spacing-m);
|
|
56
|
+
font-weight: var(--font-weight-bold);
|
|
57
|
+
display: inline-block;
|
|
58
|
+
padding: 0 var(--spacing-m) 0 var(--spacing-m);
|
|
59
|
+
font-family: 'Roboto mono';
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.A11y-markdown code {
|
|
63
|
+
background-color: var(--secondary-lightest);
|
|
64
|
+
border: 1px solid var(--secondary-light);
|
|
65
|
+
font-weight: var(--font-weight-bold);
|
|
66
|
+
color: var(--inverse);
|
|
67
|
+
line-height: 1;
|
|
68
|
+
padding: 3px 5px;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
border-radius: var(--spacing-m);
|
|
71
|
+
font-size: var(--spacing-l);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.overflow-x-scroll::-webkit-scrollbar {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.overflow-x-scroll {
|
|
79
|
+
overflow-x: scroll;
|
|
80
|
+
scroll-behavior: smooth;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
table {
|
|
84
|
+
border-spacing: 0;
|
|
85
|
+
border-collapse: collapse;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
table th,
|
|
89
|
+
table td {
|
|
90
|
+
border: 1px solid var(--secondary-light);
|
|
91
|
+
padding: var(--spacing-l);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.docblock-argstable th,
|
|
95
|
+
.docblock-argstable td {
|
|
96
|
+
border: none;
|
|
97
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Layout from '../Layout';
|
|
3
|
+
import LastModifiedDate from '../LastModifiedDate';
|
|
4
|
+
|
|
5
|
+
export default ({ pageContext, children, ...rest }) => {
|
|
6
|
+
const { frontmatter = {}, titleType, relativePagePath } = pageContext;
|
|
7
|
+
const { title, description, keywords, date, component, tabs, logos, showMobile=false } = frontmatter;
|
|
8
|
+
return (
|
|
9
|
+
<Layout
|
|
10
|
+
pageTitle={title}
|
|
11
|
+
titleType={titleType}
|
|
12
|
+
pageDescription={description}
|
|
13
|
+
pageKeywords={keywords}
|
|
14
|
+
relativePagePath={relativePagePath}
|
|
15
|
+
component={component}
|
|
16
|
+
tabs={tabs}
|
|
17
|
+
logos={logos}
|
|
18
|
+
showMobile={showMobile}
|
|
19
|
+
{...rest}
|
|
20
|
+
>
|
|
21
|
+
{children}
|
|
22
|
+
</Layout>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { StaticImage } from "gatsby-plugin-image";
|
|
4
|
+
import { Link } from 'gatsby';
|
|
5
|
+
|
|
6
|
+
const imgStyle = {
|
|
7
|
+
height: 'auto'
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const data = [
|
|
11
|
+
{
|
|
12
|
+
link: 'avatar/usage',
|
|
13
|
+
design: 'Unavailable',
|
|
14
|
+
name: 'Avatars',
|
|
15
|
+
code: 'Unavailable',
|
|
16
|
+
image: () => (
|
|
17
|
+
<StaticImage
|
|
18
|
+
src="./images/Avatars.png"
|
|
19
|
+
alt="Avatars"
|
|
20
|
+
imgStyle={imgStyle}
|
|
21
|
+
/>)
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
link: 'badges/usage',
|
|
25
|
+
name: 'Badges',
|
|
26
|
+
design: "Available",
|
|
27
|
+
code: "Unavailable"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
link: 'breadcrumbs/usage',
|
|
31
|
+
name: 'Breadcrumb',
|
|
32
|
+
design: "Available",
|
|
33
|
+
code: "Available",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
link: 'button/usage',
|
|
37
|
+
name: 'Buttons',
|
|
38
|
+
design: "Available",
|
|
39
|
+
code: "Available",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
link: 'card/usage',
|
|
43
|
+
name: 'Card',
|
|
44
|
+
design: "Available",
|
|
45
|
+
code: "Available",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
link: 'checkbox/usage',
|
|
49
|
+
name: 'Checkbox',
|
|
50
|
+
design: "Available",
|
|
51
|
+
code: "Available",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
link: '',
|
|
55
|
+
name: 'Chips',
|
|
56
|
+
design: "Unavailable",
|
|
57
|
+
code: "Unavailable",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
link: 'datepicker/usage',
|
|
61
|
+
name: 'Date & Time Picker',
|
|
62
|
+
design: "Unavailable",
|
|
63
|
+
code: "Available",
|
|
64
|
+
image: () => (
|
|
65
|
+
<StaticImage
|
|
66
|
+
src="./images/Datepicker.png"
|
|
67
|
+
alt="Avatars"
|
|
68
|
+
imgStyle={imgStyle}
|
|
69
|
+
/>)
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
link: '',
|
|
73
|
+
name: 'Dividers',
|
|
74
|
+
design: "Unavailable",
|
|
75
|
+
code: "Unavailable",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
link: '',
|
|
79
|
+
name: 'Dropdown',
|
|
80
|
+
design: "Unavailable",
|
|
81
|
+
code: "Unavailable",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
link: '',
|
|
85
|
+
name: 'Icons',
|
|
86
|
+
design: "Unavailable",
|
|
87
|
+
code: "Unavailable",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
link: '',
|
|
91
|
+
name: 'Inputs',
|
|
92
|
+
design: "Unavailable",
|
|
93
|
+
code: "Unavailable",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
link: '',
|
|
97
|
+
name: 'Inline editable fields',
|
|
98
|
+
design: "Unavailable",
|
|
99
|
+
code: "Unavailable",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
link: '',
|
|
103
|
+
name: 'Links',
|
|
104
|
+
design: "Unavailable",
|
|
105
|
+
code: "Unavailable",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
link: 'message/usage',
|
|
109
|
+
name: 'Message',
|
|
110
|
+
design: "Unavailable",
|
|
111
|
+
code: "Unavailable",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
link: '',
|
|
115
|
+
name: 'Modal',
|
|
116
|
+
design: "Unavailable",
|
|
117
|
+
code: "Unavailable",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
|
|
121
|
+
link: '',
|
|
122
|
+
name: 'Navigation - Horizontal',
|
|
123
|
+
design: "Unavailable",
|
|
124
|
+
code: "Unavailable",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
link: '',
|
|
128
|
+
name: 'Navigation - Vertical',
|
|
129
|
+
design: "Unavailable",
|
|
130
|
+
code: "Unavailable",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
link: '',
|
|
134
|
+
name: 'Pagination',
|
|
135
|
+
design: "Unavailable",
|
|
136
|
+
code: "Unavailable",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
link: '',
|
|
140
|
+
name: 'Pills',
|
|
141
|
+
design: "Unavailable",
|
|
142
|
+
code: "Unavailable",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
link: '',
|
|
146
|
+
name: 'Popover',
|
|
147
|
+
design: "Unavailable",
|
|
148
|
+
code: "Unavailable",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
link: '',
|
|
152
|
+
name: 'Progress indicators',
|
|
153
|
+
design: "Unavailable",
|
|
154
|
+
code: "Unavailable",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
link: '',
|
|
158
|
+
name: 'Radio',
|
|
159
|
+
design: "Unavailable",
|
|
160
|
+
code: "Unavailable",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
link: '',
|
|
164
|
+
name: 'Scrollbar',
|
|
165
|
+
design: "Unavailable",
|
|
166
|
+
code: "Unavailable",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
link: '',
|
|
170
|
+
name: 'Sidesheet',
|
|
171
|
+
design: "Unavailable",
|
|
172
|
+
code: "Unavailable",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
link: '',
|
|
176
|
+
name: 'Slider',
|
|
177
|
+
design: "Unavailable",
|
|
178
|
+
code: "Unavailable",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
link: '',
|
|
182
|
+
name: 'Status hints',
|
|
183
|
+
design: "Unavailable",
|
|
184
|
+
code: "Unavailable",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
link: '',
|
|
188
|
+
name: 'Steppers',
|
|
189
|
+
design: "Unavailable",
|
|
190
|
+
code: "Unavailable",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
link: '',
|
|
194
|
+
name: 'Switch',
|
|
195
|
+
design: "Unavailable",
|
|
196
|
+
code: "Unavailable",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
link: '',
|
|
200
|
+
name: 'Table',
|
|
201
|
+
design: "Unavailable",
|
|
202
|
+
code: "Unavailable",
|
|
203
|
+
image: () => (
|
|
204
|
+
<StaticImage
|
|
205
|
+
src="./images/Table.png"
|
|
206
|
+
alt="Avatars"
|
|
207
|
+
imgStyle={imgStyle}
|
|
208
|
+
/>)
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
link: '',
|
|
212
|
+
name: 'Tabs',
|
|
213
|
+
design: "Unavailable",
|
|
214
|
+
code: "Unavailable",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
link: '',
|
|
218
|
+
name: 'Toast',
|
|
219
|
+
design: "Unavailable",
|
|
220
|
+
code: "Unavailable",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
link: '',
|
|
224
|
+
name: 'Tooltip',
|
|
225
|
+
design: "Unavailable",
|
|
226
|
+
code: "Unavailable",
|
|
227
|
+
}
|
|
228
|
+
];
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
export const schema = [
|
|
232
|
+
{
|
|
233
|
+
name: "name",
|
|
234
|
+
displayName: "Component Name",
|
|
235
|
+
width: "40%",
|
|
236
|
+
sorting: false,
|
|
237
|
+
cellRenderer: ({ data }) => {
|
|
238
|
+
return <Link
|
|
239
|
+
className='Text--link card-link'
|
|
240
|
+
to={`/components/${data.link.toLowerCase()}`}
|
|
241
|
+
>
|
|
242
|
+
{data.name}
|
|
243
|
+
</Link>;
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "design",
|
|
248
|
+
displayName: "Design",
|
|
249
|
+
width: "30%",
|
|
250
|
+
cellType: "STATUS_HINT",
|
|
251
|
+
sorting: false,
|
|
252
|
+
translate: (a) => {
|
|
253
|
+
const design = a.design;
|
|
254
|
+
return {
|
|
255
|
+
title: design,
|
|
256
|
+
statusAppearance:
|
|
257
|
+
design === "Available"
|
|
258
|
+
? "success"
|
|
259
|
+
: design === "Unavailable"
|
|
260
|
+
? "alert"
|
|
261
|
+
: "info",
|
|
262
|
+
};
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: "code",
|
|
267
|
+
displayName: "Code",
|
|
268
|
+
width: "30%",
|
|
269
|
+
cellType: "STATUS_HINT",
|
|
270
|
+
sorting: false,
|
|
271
|
+
translate: (a) => {
|
|
272
|
+
const code = a.code;
|
|
273
|
+
return {
|
|
274
|
+
title: code,
|
|
275
|
+
statusAppearance:
|
|
276
|
+
code === "Available"
|
|
277
|
+
? "success"
|
|
278
|
+
: code === "Unavailable"
|
|
279
|
+
? "alert"
|
|
280
|
+
: "info",
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
];
|
|
285
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
- label: © Innovaccer 2021
|
|
2
|
+
|
|
3
|
+
- label: Terms of use
|
|
4
|
+
link: https://innovaccer.com/terms-of-use/
|
|
5
|
+
|
|
6
|
+
- label: Privacy policy
|
|
7
|
+
link: https://innovaccer.com/privacy/
|
|
8
|
+
|
|
9
|
+
- label: Careers
|
|
10
|
+
link: https://innovaccer.com/careers/
|
|
11
|
+
|
|
12
|
+
- label: Github
|
|
13
|
+
link: https://github.com/innovaccer/design-system
|
|
14
|
+
|
|
15
|
+
- label: How to contribute?
|
|
16
|
+
link: https://github.com/innovaccer/design-system/blob/master/CONTRIBUTING.md
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
- label: Introduction
|
|
2
|
+
link: /introduction/get-started/developers/
|
|
3
|
+
|
|
4
|
+
- label: Foundations
|
|
5
|
+
link: /foundations/principles/
|
|
6
|
+
|
|
7
|
+
- label: Content
|
|
8
|
+
link: /content/voice-and-tone-guidelines/tabs/voice-and-tone/
|
|
9
|
+
|
|
10
|
+
- label: Components
|
|
11
|
+
link: /components/overview/tabs/all-components/
|
|
12
|
+
|
|
13
|
+
- label: Patterns
|
|
14
|
+
link: /patterns/
|
|
15
|
+
|
|
16
|
+
- label: Resources
|
|
17
|
+
link: /resources/
|
|
18
|
+
|
|
19
|
+
- label: Storybook
|
|
20
|
+
link: https://innovaccer.github.io/design-system
|