@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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,477 +1,324 @@
|
|
|
1
|
-
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import { StaticImage } from
|
|
2
|
+
import { StaticImage } from 'gatsby-plugin-image';
|
|
4
3
|
import { Link } from 'gatsby';
|
|
5
4
|
|
|
6
5
|
const imgStyle = {
|
|
7
|
-
height: 'auto'
|
|
8
|
-
}
|
|
6
|
+
height: 'auto',
|
|
7
|
+
};
|
|
9
8
|
|
|
10
9
|
export const data = [
|
|
11
10
|
{
|
|
12
11
|
link: 'avatar/usage',
|
|
13
12
|
design: 'Available',
|
|
14
|
-
name: '
|
|
13
|
+
name: 'Avatar',
|
|
15
14
|
code: 'Available',
|
|
16
|
-
image: () =>
|
|
17
|
-
<StaticImage
|
|
18
|
-
src="./images/Avatar.png"
|
|
19
|
-
alt="Avatars"
|
|
20
|
-
imgStyle={imgStyle}
|
|
21
|
-
/>)
|
|
15
|
+
image: () => <StaticImage src="./images/Avatar.png" alt="Avatar" imgStyle={imgStyle} />,
|
|
22
16
|
},
|
|
23
17
|
{
|
|
24
18
|
link: 'badges/usage',
|
|
25
|
-
name: '
|
|
26
|
-
design:
|
|
27
|
-
code:
|
|
28
|
-
image: () =>
|
|
29
|
-
<StaticImage
|
|
30
|
-
src="./images/Badge.png"
|
|
31
|
-
alt="Badges"
|
|
32
|
-
imgStyle={imgStyle}
|
|
33
|
-
/>)
|
|
19
|
+
name: 'Badge',
|
|
20
|
+
design: 'Available',
|
|
21
|
+
code: 'Available',
|
|
22
|
+
image: () => <StaticImage src="./images/Badge.png" alt="Badge" imgStyle={imgStyle} />,
|
|
34
23
|
},
|
|
35
24
|
{
|
|
36
25
|
link: 'breadcrumbs/usage',
|
|
37
26
|
name: 'Breadcrumb',
|
|
38
|
-
design:
|
|
39
|
-
code:
|
|
40
|
-
image: () =>
|
|
41
|
-
<StaticImage
|
|
42
|
-
src="./images/Breadcrumb.png"
|
|
43
|
-
alt="Breadcrumbs"
|
|
44
|
-
imgStyle={imgStyle}
|
|
45
|
-
/>)
|
|
27
|
+
design: 'Available',
|
|
28
|
+
code: 'Available',
|
|
29
|
+
image: () => <StaticImage src="./images/Breadcrumb.png" alt="Breadcrumb" imgStyle={imgStyle} />,
|
|
46
30
|
},
|
|
47
31
|
{
|
|
48
32
|
link: 'button/usage',
|
|
49
33
|
name: 'Buttons',
|
|
50
|
-
design:
|
|
51
|
-
code:
|
|
52
|
-
image: () =>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
34
|
+
design: 'Available',
|
|
35
|
+
code: 'Available',
|
|
36
|
+
image: () => <StaticImage src="./images/Buttons.png" alt="Buttons" imgStyle={imgStyle} />,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
link: 'calendar/usage',
|
|
40
|
+
name: 'Calendar',
|
|
41
|
+
design: 'Available',
|
|
42
|
+
code: 'Available',
|
|
43
|
+
image: () => <StaticImage src="./images/Calendar.png" alt="Card" imgStyle={imgStyle} />,
|
|
58
44
|
},
|
|
59
45
|
{
|
|
60
46
|
link: 'card/usage',
|
|
61
47
|
name: 'Card',
|
|
62
|
-
design:
|
|
63
|
-
code:
|
|
64
|
-
image: () =>
|
|
65
|
-
<StaticImage
|
|
66
|
-
src="./images/Cards.png"
|
|
67
|
-
alt="Card"
|
|
68
|
-
imgStyle={imgStyle}
|
|
69
|
-
/>)
|
|
48
|
+
design: 'Available',
|
|
49
|
+
code: 'Available',
|
|
50
|
+
image: () => <StaticImage src="./images/Cards.png" alt="Card" imgStyle={imgStyle} />,
|
|
70
51
|
},
|
|
71
52
|
{
|
|
72
53
|
link: 'checkbox/usage',
|
|
73
54
|
name: 'Checkbox',
|
|
74
|
-
design:
|
|
75
|
-
code:
|
|
76
|
-
image: () =>
|
|
77
|
-
<StaticImage
|
|
78
|
-
src="./images/Checkbox.png"
|
|
79
|
-
alt="Checkbox"
|
|
80
|
-
imgStyle={imgStyle}
|
|
81
|
-
/>)
|
|
55
|
+
design: 'Available',
|
|
56
|
+
code: 'Available',
|
|
57
|
+
image: () => <StaticImage src="./images/Checkbox.png" alt="Checkbox" imgStyle={imgStyle} />,
|
|
82
58
|
},
|
|
83
59
|
{
|
|
84
60
|
link: 'chips/usage',
|
|
85
61
|
name: 'Chips',
|
|
86
|
-
design:
|
|
87
|
-
code:
|
|
88
|
-
image: () =>
|
|
89
|
-
<StaticImage
|
|
90
|
-
src="./images/Chips.png"
|
|
91
|
-
alt="Chip"
|
|
92
|
-
imgStyle={imgStyle}
|
|
93
|
-
/>)
|
|
62
|
+
design: 'Available',
|
|
63
|
+
code: 'Available',
|
|
64
|
+
image: () => <StaticImage src="./images/Chips.png" alt="Chips" imgStyle={imgStyle} />,
|
|
94
65
|
},
|
|
95
66
|
{
|
|
96
67
|
link: 'datePicker/usage',
|
|
97
|
-
name: 'Date
|
|
98
|
-
design:
|
|
99
|
-
code:
|
|
100
|
-
image: () =>
|
|
101
|
-
<StaticImage
|
|
102
|
-
src="./images/Date&TimePicker.png"
|
|
103
|
-
alt="Date and Time picker"
|
|
104
|
-
imgStyle={imgStyle}
|
|
105
|
-
/>)
|
|
68
|
+
name: 'Date picker',
|
|
69
|
+
design: 'Available',
|
|
70
|
+
code: 'Available',
|
|
71
|
+
image: () => <StaticImage src="./images/Date&TimePicker.png" alt="Date picker" imgStyle={imgStyle} />,
|
|
106
72
|
},
|
|
107
73
|
{
|
|
108
74
|
link: 'dividers/usage',
|
|
109
75
|
name: 'Dividers',
|
|
110
|
-
design:
|
|
111
|
-
code:
|
|
112
|
-
image: () =>
|
|
113
|
-
<StaticImage
|
|
114
|
-
src="./images/Dividers.png"
|
|
115
|
-
alt="Dividers"
|
|
116
|
-
imgStyle={imgStyle}
|
|
117
|
-
/>)
|
|
76
|
+
design: 'Available',
|
|
77
|
+
code: 'Available',
|
|
78
|
+
image: () => <StaticImage src="./images/Dividers.png" alt="Dividers" imgStyle={imgStyle} />,
|
|
118
79
|
},
|
|
119
80
|
{
|
|
120
81
|
link: 'dropdowns/usage',
|
|
121
|
-
name: '
|
|
122
|
-
design:
|
|
123
|
-
code:
|
|
124
|
-
image: () =>
|
|
125
|
-
<StaticImage
|
|
126
|
-
src="./images/Dropdowns.png"
|
|
127
|
-
alt="Dropdown"
|
|
128
|
-
imgStyle={imgStyle}
|
|
129
|
-
/>)
|
|
82
|
+
name: 'Dropdowns',
|
|
83
|
+
design: 'Available',
|
|
84
|
+
code: 'Available',
|
|
85
|
+
image: () => <StaticImage src="./images/Dropdowns.png" alt="Dropdowns" imgStyle={imgStyle} />,
|
|
130
86
|
},
|
|
131
87
|
{
|
|
132
88
|
link: 'helpText/usage',
|
|
133
89
|
name: 'Help text',
|
|
134
|
-
design:
|
|
135
|
-
code:
|
|
136
|
-
image: () =>
|
|
137
|
-
<StaticImage
|
|
138
|
-
src="./images/Helptext2.png"
|
|
139
|
-
alt="Help text"
|
|
140
|
-
imgStyle={imgStyle}
|
|
141
|
-
/>)
|
|
90
|
+
design: 'Available',
|
|
91
|
+
code: 'Unavailable',
|
|
92
|
+
image: () => <StaticImage src="./images/Helptext2.png" alt="Help text" imgStyle={imgStyle} />,
|
|
142
93
|
},
|
|
143
94
|
{
|
|
144
95
|
link: 'icons/usage',
|
|
145
96
|
name: 'Icons',
|
|
146
|
-
design:
|
|
147
|
-
code:
|
|
148
|
-
image: () =>
|
|
149
|
-
<StaticImage
|
|
150
|
-
src="./images/Icons.png"
|
|
151
|
-
alt="Icons"
|
|
152
|
-
imgStyle={imgStyle}
|
|
153
|
-
/>)
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
link: 'inputs/usage',
|
|
157
|
-
name: 'Inputs',
|
|
158
|
-
design: "Available",
|
|
159
|
-
code: "Available",
|
|
160
|
-
image: () => (
|
|
161
|
-
<StaticImage
|
|
162
|
-
src="./images/Inputs.png"
|
|
163
|
-
alt="Inputs"
|
|
164
|
-
imgStyle={imgStyle}
|
|
165
|
-
/>)
|
|
97
|
+
design: 'Available',
|
|
98
|
+
code: 'Available',
|
|
99
|
+
image: () => <StaticImage src="./images/Icons.png" alt="Icons" imgStyle={imgStyle} />,
|
|
166
100
|
},
|
|
167
101
|
{
|
|
168
102
|
link: 'inlineEditableFields',
|
|
169
103
|
name: 'Inline editable fields',
|
|
170
|
-
design:
|
|
171
|
-
code:
|
|
104
|
+
design: 'Available',
|
|
105
|
+
code: 'Available',
|
|
172
106
|
image: () => (
|
|
173
|
-
<StaticImage
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
107
|
+
<StaticImage src="./images/InlineEditableField.png" alt="Inline editable fields" imgStyle={imgStyle} />
|
|
108
|
+
),
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
link: 'inputs/usage',
|
|
112
|
+
name: 'Inputs',
|
|
113
|
+
design: 'Available',
|
|
114
|
+
code: 'Available',
|
|
115
|
+
image: () => <StaticImage src="./images/Inputs.png" alt="Inputs" imgStyle={imgStyle} />,
|
|
178
116
|
},
|
|
179
117
|
{
|
|
180
118
|
link: 'links/usage',
|
|
181
|
-
name: '
|
|
182
|
-
design:
|
|
183
|
-
code:
|
|
184
|
-
image: () =>
|
|
185
|
-
<StaticImage
|
|
186
|
-
src="./images/Link.png"
|
|
187
|
-
alt="Link"
|
|
188
|
-
imgStyle={imgStyle}
|
|
189
|
-
/>)
|
|
119
|
+
name: 'Link',
|
|
120
|
+
design: 'Available',
|
|
121
|
+
code: 'Available',
|
|
122
|
+
image: () => <StaticImage src="./images/Link.png" alt="Link" imgStyle={imgStyle} />,
|
|
190
123
|
},
|
|
191
124
|
{
|
|
192
125
|
link: 'message/usage',
|
|
193
|
-
name: '
|
|
194
|
-
design:
|
|
195
|
-
code:
|
|
196
|
-
image: () =>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
126
|
+
name: 'Messages',
|
|
127
|
+
design: 'Available',
|
|
128
|
+
code: 'Available',
|
|
129
|
+
image: () => <StaticImage src="./images/Message.png" alt="Messages" imgStyle={imgStyle} />,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
link: 'metaList/usage',
|
|
133
|
+
name: 'Meta list',
|
|
134
|
+
design: 'Available',
|
|
135
|
+
code: 'Available',
|
|
136
|
+
image: () => <StaticImage src="./images/MetaList.png" alt="Meta list" imgStyle={imgStyle} />,
|
|
202
137
|
},
|
|
203
138
|
{
|
|
204
139
|
link: 'modals/usage',
|
|
205
|
-
name: '
|
|
206
|
-
design:
|
|
207
|
-
code:
|
|
208
|
-
image: () =>
|
|
209
|
-
<StaticImage
|
|
210
|
-
src="./images/Modal.png"
|
|
211
|
-
alt="Modals"
|
|
212
|
-
imgStyle={imgStyle}
|
|
213
|
-
/>)
|
|
140
|
+
name: 'Modals',
|
|
141
|
+
design: 'Available',
|
|
142
|
+
code: 'Available',
|
|
143
|
+
image: () => <StaticImage src="./images/Modal.png" alt="Modals" imgStyle={imgStyle} />,
|
|
214
144
|
},
|
|
215
145
|
{
|
|
216
|
-
|
|
217
146
|
link: 'navigationHorizontal/usage',
|
|
218
147
|
name: 'Navigation - Horizontal',
|
|
219
|
-
design:
|
|
220
|
-
code:
|
|
148
|
+
design: 'Available',
|
|
149
|
+
code: 'Available',
|
|
221
150
|
image: () => (
|
|
222
|
-
<StaticImage
|
|
223
|
-
|
|
224
|
-
alt="Navigation - Horizontal"
|
|
225
|
-
imgStyle={imgStyle}
|
|
226
|
-
/>)
|
|
151
|
+
<StaticImage src="./images/NavigationHorizontal.png" alt="Navigation - Horizontal" imgStyle={imgStyle} />
|
|
152
|
+
),
|
|
227
153
|
},
|
|
228
154
|
{
|
|
229
155
|
link: 'navigationVertical/usage',
|
|
230
156
|
name: 'Navigation - Vertical',
|
|
231
|
-
design:
|
|
232
|
-
code:
|
|
233
|
-
image: () =>
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
157
|
+
design: 'Available',
|
|
158
|
+
code: 'Available',
|
|
159
|
+
image: () => <StaticImage src="./images/NavigationVertical.png" alt="Navigation - Vertical" imgStyle={imgStyle} />,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
link: 'pageHeaders/usage',
|
|
163
|
+
name: 'Page Headers',
|
|
164
|
+
design: 'Available',
|
|
165
|
+
code: 'Available',
|
|
166
|
+
image: () => <StaticImage src="./images/PageHeader.png" alt="Page Headers" imgStyle={imgStyle} />,
|
|
239
167
|
},
|
|
240
168
|
{
|
|
241
169
|
link: 'pagination/usage',
|
|
242
170
|
name: 'Pagination',
|
|
243
|
-
design:
|
|
244
|
-
code:
|
|
245
|
-
image: () =>
|
|
246
|
-
<StaticImage
|
|
247
|
-
src="./images/Pagination.png"
|
|
248
|
-
alt="Pagination"
|
|
249
|
-
imgStyle={imgStyle}
|
|
250
|
-
/>)
|
|
171
|
+
design: 'Available',
|
|
172
|
+
code: 'Available',
|
|
173
|
+
image: () => <StaticImage src="./images/Pagination.png" alt="Pagination" imgStyle={imgStyle} />,
|
|
251
174
|
},
|
|
252
175
|
{
|
|
253
176
|
link: 'pills/usage',
|
|
254
|
-
name: '
|
|
255
|
-
design:
|
|
256
|
-
code:
|
|
257
|
-
image: () =>
|
|
258
|
-
<StaticImage
|
|
259
|
-
src="./images/Pill.png"
|
|
260
|
-
alt="Pill"
|
|
261
|
-
imgStyle={imgStyle}
|
|
262
|
-
/>)
|
|
177
|
+
name: 'Pill',
|
|
178
|
+
design: 'Available',
|
|
179
|
+
code: 'Available',
|
|
180
|
+
image: () => <StaticImage src="./images/Pill.png" alt="Pill" imgStyle={imgStyle} />,
|
|
263
181
|
},
|
|
264
182
|
{
|
|
265
183
|
link: 'popover/usage',
|
|
266
184
|
name: 'Popover',
|
|
267
|
-
design:
|
|
268
|
-
code:
|
|
269
|
-
image: () =>
|
|
270
|
-
<StaticImage
|
|
271
|
-
src="./images/Popover.png"
|
|
272
|
-
alt="Popover"
|
|
273
|
-
imgStyle={imgStyle}
|
|
274
|
-
/>)
|
|
185
|
+
design: 'Available',
|
|
186
|
+
code: 'Available',
|
|
187
|
+
image: () => <StaticImage src="./images/Popover.png" alt="Popover" imgStyle={imgStyle} />,
|
|
275
188
|
},
|
|
276
189
|
{
|
|
277
190
|
link: 'progressIndicators/usage',
|
|
278
191
|
name: 'Progress indicators',
|
|
279
|
-
design:
|
|
280
|
-
code:
|
|
281
|
-
image: () =>
|
|
282
|
-
<StaticImage
|
|
283
|
-
src="./images/ProgressIndicators.png"
|
|
284
|
-
alt="Progress indicators"
|
|
285
|
-
imgStyle={imgStyle}
|
|
286
|
-
/>)
|
|
192
|
+
design: 'Available',
|
|
193
|
+
code: 'Available',
|
|
194
|
+
image: () => <StaticImage src="./images/ProgressIndicators.png" alt="Progress indicators" imgStyle={imgStyle} />,
|
|
287
195
|
},
|
|
288
196
|
{
|
|
289
197
|
link: 'radio/usage',
|
|
290
198
|
name: 'Radio',
|
|
291
|
-
design:
|
|
292
|
-
code:
|
|
293
|
-
image: () =>
|
|
294
|
-
<StaticImage
|
|
295
|
-
src="./images/Radio.png"
|
|
296
|
-
alt="Radio"
|
|
297
|
-
imgStyle={imgStyle}
|
|
298
|
-
/>)
|
|
199
|
+
design: 'Available',
|
|
200
|
+
code: 'Available',
|
|
201
|
+
image: () => <StaticImage src="./images/Radio.png" alt="Radio" imgStyle={imgStyle} />,
|
|
299
202
|
},
|
|
300
203
|
{
|
|
301
204
|
link: 'richTextEditor/usage',
|
|
302
205
|
name: 'Rich text editor',
|
|
303
|
-
design:
|
|
304
|
-
code:
|
|
305
|
-
image: () =>
|
|
306
|
-
<StaticImage
|
|
307
|
-
src="./images/RichTextEditor.png"
|
|
308
|
-
alt="Rich text editor"
|
|
309
|
-
imgStyle={imgStyle}
|
|
310
|
-
/>)
|
|
206
|
+
design: 'Available',
|
|
207
|
+
code: 'Available',
|
|
208
|
+
image: () => <StaticImage src="./images/RichTextEditor.png" alt="Rich text editor" imgStyle={imgStyle} />,
|
|
311
209
|
},
|
|
312
210
|
{
|
|
313
211
|
link: 'sidesheet/usage',
|
|
314
212
|
name: 'Sidesheet',
|
|
315
|
-
design:
|
|
316
|
-
code:
|
|
317
|
-
image: () =>
|
|
318
|
-
<StaticImage
|
|
319
|
-
src="./images/Sidesheet.png"
|
|
320
|
-
alt="SideSheet"
|
|
321
|
-
imgStyle={imgStyle}
|
|
322
|
-
/>)
|
|
213
|
+
design: 'Available',
|
|
214
|
+
code: 'Available',
|
|
215
|
+
image: () => <StaticImage src="./images/Sidesheet.png" alt="Sidesheet" imgStyle={imgStyle} />,
|
|
323
216
|
},
|
|
324
217
|
{
|
|
325
218
|
link: 'slider/usage',
|
|
326
|
-
name: '
|
|
327
|
-
design:
|
|
328
|
-
code:
|
|
329
|
-
image: () =>
|
|
330
|
-
<StaticImage
|
|
331
|
-
src="./images/Slider.png"
|
|
332
|
-
alt="Slider"
|
|
333
|
-
imgStyle={imgStyle}
|
|
334
|
-
/>)
|
|
219
|
+
name: 'Sliders',
|
|
220
|
+
design: 'Available',
|
|
221
|
+
code: 'Available',
|
|
222
|
+
image: () => <StaticImage src="./images/Slider.png" alt="Sliders" imgStyle={imgStyle} />,
|
|
335
223
|
},
|
|
336
224
|
{
|
|
337
225
|
link: 'statusHint/usage',
|
|
338
|
-
name: 'Status
|
|
339
|
-
design:
|
|
340
|
-
code:
|
|
341
|
-
image: () =>
|
|
342
|
-
<StaticImage
|
|
343
|
-
src="./images/Status.png"
|
|
344
|
-
alt="Status hint"
|
|
345
|
-
imgStyle={imgStyle}
|
|
346
|
-
/>)
|
|
226
|
+
name: 'Status hint',
|
|
227
|
+
design: 'Available',
|
|
228
|
+
code: 'Available',
|
|
229
|
+
image: () => <StaticImage src="./images/Status.png" alt="Status hint" imgStyle={imgStyle} />,
|
|
347
230
|
},
|
|
348
231
|
{
|
|
349
232
|
link: 'steppers/usage',
|
|
350
|
-
name: '
|
|
351
|
-
design:
|
|
352
|
-
code:
|
|
353
|
-
image: () =>
|
|
354
|
-
<StaticImage
|
|
355
|
-
src="./images/Steppers.png"
|
|
356
|
-
alt="Steppers"
|
|
357
|
-
imgStyle={imgStyle}
|
|
358
|
-
/>)
|
|
233
|
+
name: 'Stepper',
|
|
234
|
+
design: 'Available',
|
|
235
|
+
code: 'Available',
|
|
236
|
+
image: () => <StaticImage src="./images/Steppers.png" alt="Stepper" imgStyle={imgStyle} />,
|
|
359
237
|
},
|
|
360
238
|
{
|
|
361
239
|
link: 'switch/usage',
|
|
362
240
|
name: 'Switch',
|
|
363
|
-
design:
|
|
364
|
-
code:
|
|
365
|
-
image: () =>
|
|
366
|
-
<StaticImage
|
|
367
|
-
src="./images/Switch.png"
|
|
368
|
-
alt="Switch"
|
|
369
|
-
imgStyle={imgStyle}
|
|
370
|
-
/>)
|
|
241
|
+
design: 'Available',
|
|
242
|
+
code: 'Available',
|
|
243
|
+
image: () => <StaticImage src="./images/Switch.png" alt="Switch" imgStyle={imgStyle} />,
|
|
371
244
|
},
|
|
372
245
|
{
|
|
373
246
|
link: 'table/usage',
|
|
374
|
-
name: '
|
|
375
|
-
design:
|
|
376
|
-
code:
|
|
377
|
-
image: () =>
|
|
378
|
-
<StaticImage
|
|
379
|
-
src="./images/Table.png"
|
|
380
|
-
alt="Table"
|
|
381
|
-
imgStyle={imgStyle}
|
|
382
|
-
/>)
|
|
247
|
+
name: 'Tables',
|
|
248
|
+
design: 'Available',
|
|
249
|
+
code: 'Available',
|
|
250
|
+
image: () => <StaticImage src="./images/Table.png" alt="Tables" imgStyle={imgStyle} />,
|
|
383
251
|
},
|
|
384
252
|
{
|
|
385
253
|
link: 'tabs/usage',
|
|
386
254
|
name: 'Tabs',
|
|
387
|
-
design:
|
|
388
|
-
code:
|
|
389
|
-
image: () =>
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
255
|
+
design: 'Available',
|
|
256
|
+
code: 'Available',
|
|
257
|
+
image: () => <StaticImage src="./images/Tabs.png" alt="Tabs" imgStyle={imgStyle} />,
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
link: 'timePicker/usage',
|
|
261
|
+
name: 'Time picker',
|
|
262
|
+
design: 'Available',
|
|
263
|
+
code: 'Available',
|
|
264
|
+
image: () => <StaticImage src="./images/TimePicker.png" alt="Time Picker" imgStyle={imgStyle} />,
|
|
395
265
|
},
|
|
396
266
|
{
|
|
397
267
|
link: 'toast/usage',
|
|
398
268
|
name: 'Toast',
|
|
399
|
-
design:
|
|
400
|
-
code:
|
|
401
|
-
image: () =>
|
|
402
|
-
<StaticImage
|
|
403
|
-
src="./images/Toast.png"
|
|
404
|
-
alt="Toast"
|
|
405
|
-
imgStyle={imgStyle}
|
|
406
|
-
/>)
|
|
269
|
+
design: 'Available',
|
|
270
|
+
code: 'Available',
|
|
271
|
+
image: () => <StaticImage src="./images/Toast.png" alt="Toast" imgStyle={imgStyle} />,
|
|
407
272
|
},
|
|
408
273
|
{
|
|
409
274
|
link: 'tooltip/usage',
|
|
410
275
|
name: 'Tooltip',
|
|
411
|
-
design:
|
|
412
|
-
code:
|
|
413
|
-
image: () =>
|
|
414
|
-
|
|
415
|
-
src="./images/Tooltip.png"
|
|
416
|
-
alt="Tooltip"
|
|
417
|
-
imgStyle={imgStyle}
|
|
418
|
-
/>)
|
|
419
|
-
}
|
|
276
|
+
design: 'Available',
|
|
277
|
+
code: 'Available',
|
|
278
|
+
image: () => <StaticImage src="./images/Tooltip.png" alt="Tooltip" imgStyle={imgStyle} />,
|
|
279
|
+
},
|
|
420
280
|
];
|
|
421
281
|
|
|
422
|
-
|
|
423
282
|
export const schema = [
|
|
424
283
|
{
|
|
425
|
-
name:
|
|
426
|
-
displayName:
|
|
427
|
-
width:
|
|
284
|
+
name: 'name',
|
|
285
|
+
displayName: 'Component Name',
|
|
286
|
+
width: '40%',
|
|
428
287
|
sorting: false,
|
|
429
288
|
cellRenderer: ({ data }) => {
|
|
430
|
-
return
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
</Link>;
|
|
289
|
+
return (
|
|
290
|
+
<Link className="Text--link card-link" to={`/components/${data.link}`}>
|
|
291
|
+
{data.name}
|
|
292
|
+
</Link>
|
|
293
|
+
);
|
|
436
294
|
},
|
|
437
295
|
},
|
|
438
296
|
{
|
|
439
|
-
name:
|
|
440
|
-
displayName:
|
|
441
|
-
width:
|
|
442
|
-
cellType:
|
|
297
|
+
name: 'design',
|
|
298
|
+
displayName: 'Design',
|
|
299
|
+
width: '30%',
|
|
300
|
+
cellType: 'STATUS_HINT',
|
|
443
301
|
sorting: false,
|
|
444
302
|
translate: (a) => {
|
|
445
303
|
const design = a.design;
|
|
446
304
|
return {
|
|
447
305
|
title: design,
|
|
448
|
-
statusAppearance:
|
|
449
|
-
design === "Available"
|
|
450
|
-
? "success"
|
|
451
|
-
: design === "Unavailable"
|
|
452
|
-
? "alert"
|
|
453
|
-
: "info",
|
|
306
|
+
statusAppearance: design === 'Available' ? 'success' : design === 'Unavailable' ? 'alert' : 'info',
|
|
454
307
|
};
|
|
455
308
|
},
|
|
456
309
|
},
|
|
457
310
|
{
|
|
458
|
-
name:
|
|
459
|
-
displayName:
|
|
460
|
-
width:
|
|
461
|
-
cellType:
|
|
311
|
+
name: 'code',
|
|
312
|
+
displayName: 'Code',
|
|
313
|
+
width: '30%',
|
|
314
|
+
cellType: 'STATUS_HINT',
|
|
462
315
|
sorting: false,
|
|
463
316
|
translate: (a) => {
|
|
464
317
|
const code = a.code;
|
|
465
318
|
return {
|
|
466
319
|
title: code,
|
|
467
|
-
statusAppearance:
|
|
468
|
-
code === "Available"
|
|
469
|
-
? "success"
|
|
470
|
-
: code === "Unavailable"
|
|
471
|
-
? "alert"
|
|
472
|
-
: "info",
|
|
320
|
+
statusAppearance: code === 'Available' ? 'success' : code === 'Unavailable' ? 'alert' : 'info',
|
|
473
321
|
};
|
|
474
322
|
},
|
|
475
323
|
},
|
|
476
324
|
];
|
|
477
|
-
|