@innovaccer/design-system 3.0.0-15 → 3.0.0-18
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/.storybook/preview-head.html +2 -0
- package/core/components/atoms/_chip/__tests__/__snapshots__/_chip.test.tsx.snap +9 -9
- package/core/components/atoms/_chip/index.tsx +10 -8
- package/core/components/atoms/avatar/__stories__/{defaultAvatar.story.tsx → defaultAvatar.story.jsx} +0 -0
- package/core/components/atoms/avatar/__stories__/index.story.jsx +27 -0
- package/core/components/atoms/avatar/__stories__/variants/Appearance.story.jsx +47 -0
- package/core/components/atoms/avatar/__stories__/variants/{Size.story.tsx → Size.story.jsx} +0 -0
- package/core/components/atoms/avatarGroup/__stories__/index.story.jsx +67 -0
- package/core/components/atoms/avatarGroup/__stories__/variants/{BorderColor.story.tsx → BorderColor.story.jsx} +0 -0
- package/core/components/atoms/avatarGroup/__stories__/variants/CustomPopper.story.jsx +109 -0
- package/core/components/atoms/backdrop/__stories__/index.story.jsx +52 -0
- package/core/components/atoms/badge/_stories_/SolidAlert.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/SolidSecondary.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/SolidWarning.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/SubtleAlert.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/SubtleSecondary.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/SubtleWarning.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/Success.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/index.story.jsx +20 -0
- package/core/components/atoms/badge/_stories_/variants/Appearance.story.jsx +49 -0
- package/core/components/atoms/badge/_stories_/variants/Subtle.story.jsx +49 -0
- package/core/components/atoms/breadcrumbs/__stories__/variants/lessThan4Levels.story.jsx +73 -0
- package/core/components/atoms/breadcrumbs/__stories__/variants/moreThan4Levels.story.jsx +81 -0
- package/core/components/atoms/button/Button.tsx +1 -2
- package/core/components/atoms/button/__stories__/{Alert.story.tsx → Alert.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{Cancel.story.tsx → Cancel.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{IconButtonGroup.story.tsx → IconButtonGroup.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{IconButtonSecondary.story.tsx → IconButtonSecondary.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{IconLeftSecondary.story.tsx → IconLeftSecondary.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{IconRightSecondary.story.tsx → IconRightSecondary.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{IconTransparent.story.tsx → IconTransparent.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{LabelButtonGroup.story.tsx → LabelButtonGroup.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{LargeIconExpanded.story.tsx → LargeIconExpanded.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{LoadingPrimary.story.tsx → LoadingPrimary.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/{Primary.story.tsx → Primary.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/SplitButton.story.jsx +44 -0
- package/core/components/atoms/button/__stories__/{Transparent.story.tsx → Transparent.story.jsx} +0 -0
- package/core/components/atoms/button/__stories__/index.story.jsx +57 -0
- package/core/components/atoms/button/__stories__/variants/Appearance.story.jsx +54 -0
- package/core/components/atoms/button/__stories__/variants/Expanded.story.jsx +54 -0
- package/core/components/atoms/button/__stories__/variants/Size.story.jsx +56 -0
- package/core/components/atoms/button/__stories__/variants/icon/Icon.story.jsx +113 -0
- package/core/components/atoms/button/__stories__/variants/icon/IconLeft.story.jsx +61 -0
- package/core/components/atoms/button/__stories__/variants/icon/IconRight.story.jsx +61 -0
- package/core/components/atoms/button/__stories__/variants/state/Alert.story.jsx +86 -0
- package/core/components/atoms/button/__stories__/variants/state/Basic.story.jsx +115 -0
- package/core/components/atoms/button/__stories__/variants/state/Primary.story.jsx +85 -0
- package/core/components/atoms/button/__stories__/variants/state/Transparent.story.jsx +118 -0
- package/core/components/atoms/caption/__stories__/index.story.jsx +29 -0
- package/core/components/atoms/caption/__stories__/variants/{Error.story.tsx → Error.story.jsx} +0 -0
- package/core/components/atoms/card/__stories__/{default.story.tsx → default.story.jsx} +0 -0
- package/core/components/atoms/card/__stories__/{empty.story.tsx → empty.story.jsx} +0 -0
- package/core/components/atoms/card/__stories__/{flat.story.tsx → flat.story.jsx} +0 -0
- package/core/components/atoms/card/__stories__/{highlight.story.tsx → highlight.story.jsx} +0 -0
- package/core/components/atoms/card/__stories__/index.story.jsx +55 -0
- package/core/components/atoms/card/__stories__/nested.story.jsx +104 -0
- package/core/components/atoms/card/__stories__/scroll.story.jsx +113 -0
- package/core/components/atoms/card/__stories__/{subdued.story.tsx → subdued.story.jsx} +0 -0
- package/core/components/atoms/checkbox/__stories__/{Alignment.story.tsx → Alignment.story.jsx} +0 -0
- package/core/components/atoms/checkbox/__stories__/{DefaultCheckbox.story.tsx → DefaultCheckbox.story.jsx} +0 -0
- package/core/components/atoms/checkbox/__stories__/Group.story.jsx +24 -0
- package/core/components/atoms/checkbox/__stories__/HelpText.story.jsx +18 -0
- package/core/components/atoms/checkbox/__stories__/Nested.story.jsx +129 -0
- package/core/components/atoms/checkbox/__stories__/Overflow.story.jsx +20 -0
- package/core/components/atoms/checkbox/__stories__/index.story.jsx +38 -0
- package/core/components/atoms/checkbox/__stories__/variants/Controlled.story.jsx +48 -0
- package/core/components/atoms/checkbox/__stories__/variants/Disabled.story.jsx +39 -0
- package/core/components/atoms/checkbox/__stories__/variants/Size.story.jsx +36 -0
- package/core/components/atoms/checkbox/__stories__/variants/Uncontrolled.story.jsx +28 -0
- package/core/components/atoms/checkbox/__stories__/variants/checkboxList.story.jsx +125 -0
- package/core/components/atoms/chip/__stories__/Action.story.jsx +26 -0
- package/core/components/atoms/chip/__stories__/Input.story.jsx +27 -0
- package/core/components/atoms/chip/__stories__/{Selection.story.tsx → Selection.story.jsx} +0 -0
- package/core/components/atoms/chip/__stories__/index.story.jsx +40 -0
- package/core/components/atoms/chip/__stories__/variants/Action.story.jsx +42 -0
- package/core/components/atoms/chip/__stories__/variants/Input.story.jsx +42 -0
- package/core/components/atoms/chip/__stories__/variants/Selection.story.jsx +74 -0
- package/core/components/atoms/chip/__stories__/variants/Type.story.jsx +46 -0
- package/core/components/atoms/chipGroup/__tests__/__snapshots__/chipGroup.test.tsx.snap +7 -7
- package/core/components/atoms/chipGroup/_stories_/index.story.jsx +46 -0
- package/core/components/atoms/collapsible/Collapsible.tsx +17 -10
- package/core/components/atoms/collapsible/__stories__/CustomTrigger.story.jsx +123 -0
- package/core/components/atoms/collapsible/__stories__/index.story.jsx +54 -0
- package/core/components/atoms/divider/__stories__/BasicDividerInCard.story.jsx +74 -0
- package/core/components/atoms/divider/__stories__/{HeaderDividerInCard.story.tsx → HeaderDividerInCard.story.jsx} +0 -0
- package/core/components/atoms/divider/__stories__/IndentedDivider.story.jsx +49 -0
- package/core/components/atoms/divider/__stories__/Vertical.story.jsx +51 -0
- package/core/components/atoms/divider/__stories__/{index.story.tsx → index.story.jsx} +0 -0
- package/core/components/atoms/divider/__stories__/variants/{HorizontalDivider.story.tsx → HorizontalDivider.story.jsx} +0 -0
- package/core/components/atoms/dropdown/DropdownList.tsx +56 -29
- package/core/components/atoms/dropdown/__stories__/CustomSearchPlaceholder.story.jsx +46 -0
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithCheckbox.story.jsx +43 -0
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithIcon.story.jsx +47 -0
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithInfo.story.jsx +44 -0
- package/core/components/atoms/dropdown/__stories__/DropdownWIthIcon.story.jsx +224 -0
- package/core/components/atoms/dropdown/__stories__/DropdownWithActionButtons.story.jsx +74 -0
- package/core/components/atoms/dropdown/__stories__/DropdownWithCaption.story.jsx +73 -0
- package/core/components/atoms/dropdown/__stories__/Gender.story.jsx +41 -0
- package/core/components/atoms/dropdown/__stories__/LabelPositionInDropdown.story.jsx +63 -0
- package/core/components/atoms/dropdown/__stories__/Languages.story.jsx +44 -0
- package/core/components/atoms/dropdown/__stories__/Menu.story.jsx +44 -0
- package/core/components/atoms/dropdown/__stories__/Options.tsx +11 -11
- package/core/components/atoms/dropdown/__stories__/OptionsLessThan50.story.jsx +55 -0
- package/core/components/atoms/dropdown/__stories__/OptionsMoreThan50.story.jsx +87 -0
- package/core/components/atoms/dropdown/__stories__/SearchInDropdown.story.jsx +47 -0
- package/core/components/atoms/dropdown/__stories__/StandardDropdown.story.jsx +49 -0
- package/core/components/atoms/dropdown/__stories__/StatusWithoutLabel.story.jsx +42 -0
- package/core/components/atoms/dropdown/__stories__/WithCheckboxAndSubInfo.story.jsx +47 -0
- package/core/components/atoms/dropdown/__stories__/_common_/types.tsx +0 -1
- package/core/components/atoms/dropdown/__stories__/index.story.jsx +160 -0
- package/core/components/atoms/dropdown/__stories__/variants/Align.story.jsx +67 -0
- package/core/components/atoms/dropdown/__stories__/variants/CustomOption.story.jsx +128 -0
- package/core/components/atoms/dropdown/__stories__/variants/CustomTrigger.story.jsx +76 -0
- package/core/components/atoms/dropdown/__stories__/variants/{Disable.story.tsx → Disable.story.jsx} +0 -0
- package/core/components/atoms/dropdown/__stories__/variants/DisabledOption.story.jsx +101 -0
- package/core/components/atoms/dropdown/__stories__/variants/LoadingType.story.jsx +99 -0
- package/core/components/atoms/dropdown/__stories__/variants/MultiOptions.story.jsx +136 -0
- package/core/components/atoms/dropdown/__stories__/variants/OptionType.story.jsx +59 -0
- package/core/components/atoms/dropdown/__stories__/variants/{OptionsWrap.story.tsx → OptionsWrap.story.jsx} +0 -0
- package/core/components/atoms/dropdown/__stories__/variants/PreSelection.story.jsx +103 -0
- package/core/components/atoms/dropdown/__stories__/variants/{Search.story.tsx → Search.story.jsx} +0 -0
- package/core/components/atoms/dropdown/__stories__/variants/Section.story.jsx +60 -0
- package/core/components/atoms/dropdown/__stories__/variants/Size.story.jsx +68 -0
- package/core/components/atoms/dropdown/__stories__/variants/StaticLimit.story.jsx +111 -0
- package/core/components/atoms/dropdown/__stories__/variants/button/ButtonState.story.jsx +96 -0
- package/core/components/atoms/dropdown/__stories__/variants/button/Placeholder.story.jsx +65 -0
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/BulkMultiSelectWithApply.story.jsx +161 -0
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/MultiSelect.story.jsx +258 -0
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/MultiSelectWithApply.story.jsx +123 -0
- package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/SingleSelect.story.jsx +140 -0
- package/core/components/atoms/heading/__stories__/index.story.jsx +28 -0
- package/core/components/atoms/heading/__stories__/variants/Appearance.story.jsx +35 -0
- package/core/components/atoms/heading/__stories__/variants/Size.story.jsx +36 -0
- package/core/components/atoms/icon/__stories__/index.story.jsx +34 -0
- package/core/components/atoms/icon/__stories__/variants/Appearance.story.jsx +74 -0
- package/core/components/atoms/icon/__stories__/variants/{Image.story.tsx → Image.story.jsx} +0 -0
- package/core/components/atoms/icon/__stories__/variants/Type.story.jsx +37 -0
- package/core/components/atoms/input/__stories__/{BasicInput.story.tsx → BasicInput.story.jsx} +0 -0
- package/core/components/atoms/input/__stories__/IconLeftInput.story.jsx +22 -0
- package/core/components/atoms/input/__stories__/{InputWithCaption.story.tsx → InputWithCaption.story.jsx} +0 -0
- package/core/components/atoms/input/__stories__/{InputWithLabel.story.tsx → InputWithLabel.story.jsx} +0 -0
- package/core/components/atoms/input/__stories__/{LabelPosition.story.tsx → LabelPosition.story.jsx} +0 -0
- package/core/components/atoms/input/__stories__/{RequiredVsOptional.story.tsx → RequiredVsOptional.story.jsx} +0 -0
- package/core/components/atoms/input/__stories__/index.story.jsx +80 -0
- package/core/components/atoms/input/__stories__/variants/ActionIcon.story.jsx +37 -0
- package/core/components/atoms/input/__stories__/variants/MetricInput.story.jsx +37 -0
- package/core/components/atoms/input/__stories__/variants/Size.story.jsx +48 -0
- package/core/components/atoms/input/__stories__/variants/controlledInput.story.jsx +106 -0
- package/core/components/atoms/input/__stories__/variants/types/BasicInput.story.jsx +58 -0
- package/core/components/atoms/input/__stories__/variants/types/IconLeft.story.jsx +59 -0
- package/core/components/atoms/input/__stories__/variants/types/InlineLabel.story.jsx +38 -0
- package/core/components/atoms/input/__stories__/variants/types/WithLabel.story.jsx +69 -0
- package/core/components/atoms/label/__stories__/index.story.jsx +29 -0
- package/core/components/atoms/label/__stories__/variants/{Required.story.tsx → Required.story.jsx} +0 -0
- package/core/components/atoms/label/__stories__/variants/{State.story.tsx → State.story.jsx} +0 -0
- package/core/components/atoms/legend/__stories__/index.story.jsx +41 -0
- package/core/components/atoms/legend/__stories__/variants/{IconAppearance.story.tsx → IconAppearance.story.jsx} +0 -0
- package/core/components/atoms/legend/__stories__/variants/labelAppearance.story.jsx +32 -0
- package/core/components/atoms/legend/__stories__/variants/{labelWeight.story.tsx → labelWeight.story.jsx} +0 -0
- package/core/components/atoms/link/__stories__/index.story.jsx +38 -0
- package/core/components/atoms/link/__stories__/variants/{Appearance.story.tsx → Appearance.story.jsx} +0 -0
- package/core/components/atoms/link/__stories__/variants/{Disabled.story.tsx → Disabled.story.jsx} +0 -0
- package/core/components/atoms/link/__stories__/variants/{Size.story.tsx → Size.story.jsx} +0 -0
- package/core/components/atoms/message/__stories__/Alert.story.jsx +16 -0
- package/core/components/atoms/message/__stories__/CustomDescription.story.jsx +25 -0
- package/core/components/atoms/message/__stories__/Info.story.jsx +16 -0
- package/core/components/atoms/message/__stories__/Success.story.jsx +16 -0
- package/core/components/atoms/message/__stories__/Warning.story.jsx +15 -0
- package/core/components/atoms/message/__stories__/WithActions.story.jsx +26 -0
- package/core/components/atoms/message/__stories__/WithTitle.story.jsx +27 -0
- package/core/components/atoms/message/__stories__/index.story.jsx +32 -0
- package/core/components/atoms/message/__stories__/variants/Appearance.story.jsx +50 -0
- package/core/components/atoms/message/__stories__/variants/AppearanceTitle.story.jsx +54 -0
- package/core/components/atoms/metaList/_stories_/WithSeparator.story.jsx +29 -0
- package/core/components/atoms/metaList/_stories_/index.story.jsx +28 -0
- package/core/components/atoms/metricInput/__stories__/DefaultMetric.story.jsx +61 -0
- package/core/components/atoms/metricInput/__stories__/WithPrefix.story.jsx +59 -0
- package/core/components/atoms/metricInput/__stories__/index.story.jsx +56 -0
- package/core/components/atoms/metricInput/__stories__/variants/Controlled.story.jsx +49 -0
- package/core/components/atoms/metricInput/__stories__/variants/{Size.story.tsx → Size.story.jsx} +0 -0
- package/core/components/atoms/metricInput/__stories__/withSuffix.story.jsx +59 -0
- package/core/components/atoms/outsideClick/__stories__/index.story.jsx +47 -0
- package/core/components/atoms/paragraph/__stories__/index.story.jsx +30 -0
- package/core/components/atoms/paragraph/__stories__/variants/Appearance.story.jsx +35 -0
- package/core/components/atoms/pills/__stories__/Alert.story.jsx +20 -0
- package/core/components/atoms/pills/__stories__/Default.story.jsx +20 -0
- package/core/components/atoms/pills/__stories__/Info.story.jsx +20 -0
- package/core/components/atoms/pills/__stories__/SubtleAlert.story.jsx +22 -0
- package/core/components/atoms/pills/__stories__/SubtleWarning.story.jsx +20 -0
- package/core/components/atoms/pills/__stories__/index.story.jsx +20 -0
- package/core/components/atoms/pills/__stories__/variants/Appearance.story.jsx +49 -0
- package/core/components/atoms/pills/__stories__/variants/Subtle.story.jsx +48 -0
- package/core/components/atoms/placeholderImage/__stories__/index.story.jsx +26 -0
- package/core/components/atoms/placeholderImage/__stories__/variants/{Round.story.tsx → Round.story.jsx} +0 -0
- package/core/components/atoms/placeholderImage/__stories__/variants/Size.story.jsx +39 -0
- package/core/components/atoms/placeholderParagraph/__stories__/index.story.jsx +21 -0
- package/core/components/atoms/placeholderParagraph/__stories__/variants/Length.story.jsx +32 -0
- package/core/components/atoms/placeholderParagraph/__stories__/variants/Size.story.jsx +32 -0
- package/core/components/atoms/popperWrapper/PopperWrapper.tsx +25 -38
- package/core/components/atoms/progressBar/__stories__/{FiftyPercent.story.tsx → FiftyPercent.story.jsx} +0 -0
- package/core/components/atoms/progressBar/__stories__/index.story.jsx +19 -0
- package/core/components/atoms/progressRing/__stories__/index.story.jsx +16 -0
- package/core/components/atoms/progressRing/__stories__/variants/Size.story.jsx +34 -0
- package/core/components/atoms/radio/__stories__/{Alignment.story.tsx → Alignment.story.jsx} +0 -0
- package/core/components/atoms/radio/__stories__/{DefaultRadio.story.tsx → DefaultRadio.story.jsx} +0 -0
- package/core/components/atoms/radio/__stories__/HelpText.story.jsx +20 -0
- package/core/components/atoms/radio/__stories__/{Overflow.story.tsx → Overflow.story.jsx} +0 -0
- package/core/components/atoms/radio/__stories__/RadioGroup.story.jsx +25 -0
- package/core/components/atoms/radio/__stories__/index.story.jsx +49 -0
- package/core/components/atoms/radio/__stories__/variants/Size.story.jsx +37 -0
- package/core/components/atoms/radio/__stories__/variants/{State.story.tsx → State.story.jsx} +0 -0
- package/core/components/atoms/radio/__stories__/variants/controlledRadioGroup.story.jsx +86 -0
- package/core/components/atoms/radio/__stories__/variants/uncontrolledRadio.story.jsx +30 -0
- package/core/components/atoms/rangeSlider/__stories__/index.story.jsx +35 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/Controlled.story.jsx +60 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/CustomLabels.story.jsx +64 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/{Disabled.story.tsx → Disabled.story.jsx} +0 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/{DiscreteSlider.story.tsx → DiscreteSlider.story.jsx} +0 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/{FreeSlider.story.tsx → FreeSlider.story.jsx} +0 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/{SliderLabel.story.tsx → SliderLabel.story.jsx} +0 -0
- package/core/components/atoms/rangeSlider/__stories__/variants/{Uncontrolled.story.tsx → Uncontrolled.story.jsx} +0 -0
- package/core/components/atoms/slider/__stories__/index.story.jsx +36 -0
- package/core/components/atoms/slider/__stories__/variants/Controlled.story.jsx +61 -0
- package/core/components/atoms/slider/__stories__/variants/CustomLabels.story.jsx +64 -0
- package/core/components/atoms/slider/__stories__/variants/{Disabled.story.tsx → Disabled.story.jsx} +0 -0
- package/core/components/atoms/slider/__stories__/variants/{DiscreteSlider.story.tsx → DiscreteSlider.story.jsx} +0 -0
- package/core/components/atoms/slider/__stories__/variants/{FreeSlider.story.tsx → FreeSlider.story.jsx} +0 -0
- package/core/components/atoms/slider/__stories__/variants/{SliderLabel.story.tsx → SliderLabel.story.jsx} +0 -0
- package/core/components/atoms/slider/__stories__/variants/{Uncontrolled.story.tsx → Uncontrolled.story.jsx} +0 -0
- package/core/components/atoms/spinner/__stories__/{InlineLoader.story.tsx → InlineLoader.story.jsx} +0 -0
- package/core/components/atoms/spinner/__stories__/{ModalLoader.story.tsx → ModalLoader.story.jsx} +0 -0
- package/core/components/atoms/spinner/__stories__/index.story.jsx +25 -0
- package/core/components/atoms/spinner/__stories__/variants/Appearance.story.jsx +34 -0
- package/core/components/atoms/spinner/__stories__/variants/Size.story.jsx +34 -0
- package/core/components/atoms/statusHint/__stories__/{Completed.story.tsx → Completed.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/{Inactive.story.tsx → Inactive.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/{Ongoing.story.tsx → Ongoing.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/{alert.story.tsx → alert.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/{default.story.tsx → default.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/index.story.jsx +24 -0
- package/core/components/atoms/statusHint/__stories__/{info.story.tsx → info.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/{success.story.tsx → success.story.jsx} +0 -0
- package/core/components/atoms/statusHint/__stories__/variants/Appearance.story.jsx +31 -0
- package/core/components/atoms/subheading/__stories__/index.story.jsx +27 -0
- package/core/components/atoms/subheading/__stories__/variants/Appearance.story.jsx +36 -0
- package/core/components/atoms/switchInput/__stories__/{DefaultSwitch.story.tsx → DefaultSwitch.story.jsx} +0 -0
- package/core/components/atoms/switchInput/__stories__/{OffState.story.tsx → OffState.story.jsx} +0 -0
- package/core/components/atoms/switchInput/__stories__/index.story.jsx +51 -0
- package/core/components/atoms/switchInput/__stories__/variants/Size.story.jsx +45 -0
- package/core/components/atoms/switchInput/__stories__/variants/{State.story.tsx → State.story.jsx} +0 -0
- package/core/components/atoms/text/__stories__/index.story.jsx +34 -0
- package/core/components/atoms/text/__stories__/variants/Appearance.story.jsx +30 -0
- package/core/components/atoms/text/__stories__/variants/{Size.story.tsx → Size.story.jsx} +0 -0
- package/core/components/atoms/text/__stories__/variants/{Weight.story.tsx → Weight.story.jsx} +0 -0
- package/core/components/atoms/textarea/__stories__/{TextareaWithCaption.story.tsx → TextareaWithCaption.story.jsx} +0 -0
- package/core/components/atoms/textarea/__stories__/defaultTextarea.story.jsx +29 -0
- package/core/components/atoms/textarea/__stories__/index.story.jsx +40 -0
- package/core/components/atoms/textarea/__stories__/variants/Disable.story.jsx +48 -0
- package/core/components/atoms/toast/__stories__/{AlertToast.story.tsx → AlertToast.story.jsx} +0 -0
- package/core/components/atoms/toast/__stories__/{InfoToast.story.tsx → InfoToast.story.jsx} +0 -0
- package/core/components/atoms/toast/__stories__/{SuccessToast.story.tsx → SuccessToast.story.jsx} +0 -0
- package/core/components/atoms/toast/__stories__/{ToastWithActions.story.tsx → ToastWithActions.story.jsx} +0 -0
- package/core/components/atoms/toast/__stories__/{WarningToast.story.tsx → WarningToast.story.jsx} +0 -0
- package/core/components/atoms/toast/__stories__/WithDescription.story.jsx +12 -0
- package/core/components/atoms/toast/__stories__/index.story.jsx +37 -0
- package/core/components/atoms/toast/__stories__/variants/Appearance.story.jsx +30 -0
- package/core/components/atoms/toast/__stories__/variants/ToastMessage.story.jsx +36 -0
- package/core/components/atoms/toast/__stories__/variants/ToastWithAction.story.jsx +60 -0
- 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/chatMessage/__stories__/UserMessage.story.jsx +33 -0
- package/core/components/molecules/chipInput/__stories__/{ChipsInSingleLine.story.tsx → ChipsInSingleLine.story.jsx} +0 -0
- package/core/components/molecules/chipInput/__stories__/{ChipsWrapped.story.tsx → ChipsWrapped.story.jsx} +0 -0
- package/core/components/molecules/chipInput/__stories__/index.story.jsx +22 -0
- package/core/components/molecules/chipInput/__stories__/variants/{Controlled.story.tsx → Controlled.story.jsx} +0 -0
- package/core/components/molecules/chipInput/__stories__/variants/{Disabled.story.tsx → Disabled.story.jsx} +0 -0
- package/core/components/molecules/chipInput/__tests__/__snapshots__/ChipInput.test.tsx.snap +2 -2
- package/core/components/molecules/dialog/__stories__/index.story.jsx +93 -0
- package/core/components/molecules/dialog/__stories__/variants/dimension/Large.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/dimension/Medium.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/dimension/Small.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/primaryButton/Alert.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/primaryButton/Basic.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/primaryButton/Primary.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/primaryButton/Success.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/primaryButton/Transparent.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/secondaryButton/Alert.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/secondaryButton/Basic.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/secondaryButton/Primary.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/secondaryButton/Success.story.jsx +88 -0
- package/core/components/molecules/dialog/__stories__/variants/secondaryButton/Transparent.story.jsx +88 -0
- package/core/components/molecules/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +260 -195
- package/core/components/molecules/dropzone/__stories__/index.story.jsx +191 -0
- package/core/components/molecules/dropzone/__stories__/variants/Disabled.story.jsx +95 -0
- package/core/components/molecules/dropzone/__stories__/variants/Format.story.jsx +65 -0
- package/core/components/molecules/dropzone/__stories__/variants/Size.story.jsx +143 -0
- package/core/components/molecules/editableChipInput/__stories__/Uncontrolled.story.jsx +59 -0
- package/core/components/molecules/editableChipInput/__stories__/index.story.jsx +79 -0
- package/core/components/molecules/editableChipInput/__tests__/__snapshots__/EditableChipInput.test.tsx.snap +4 -4
- package/core/components/molecules/editableDropdown/__stories__/index.story.jsx +112 -0
- package/core/components/molecules/editableDropdown/__stories__/variants/customRenderer.story.jsx +131 -0
- package/core/components/molecules/editableInput/__stories__/index.story.jsx +66 -0
- package/core/components/molecules/editableInput/__stories__/variants/Error.story.jsx +55 -0
- package/core/components/molecules/editableInput/__stories__/variants/Size.story.jsx +81 -0
- package/core/components/molecules/editableInput/__stories__/variants/{Uncontrolled.story.tsx → Uncontrolled.story.jsx} +0 -0
- package/core/components/molecules/emptyState/__stories__/index.story.jsx +22 -0
- package/core/components/molecules/emptyState/__stories__/noContentAvailable.story.jsx +22 -0
- package/core/components/molecules/emptyState/__stories__/{noSearchResults.story.tsx → noSearchResults.story.jsx} +0 -0
- package/core/components/molecules/emptyState/__stories__/{pageNotLoaded.story.tsx → pageNotLoaded.story.jsx} +0 -0
- package/core/components/molecules/emptyState/__stories__/{pageNotLoadedWithSVG.story.tsx → pageNotLoadedWithSVG.story.jsx} +0 -0
- package/core/components/molecules/fileList/__stories__/__common__/fileListExample.tsx +1 -3
- package/core/components/molecules/fileList/__stories__/index.story.jsx +158 -0
- package/core/components/molecules/fileUploader/__stories__/_common_/fileList.tsx +2 -4
- package/core/components/molecules/fileUploader/__stories__/_common_/types.tsx +2 -4
- package/core/components/molecules/fileUploader/__stories__/{index.story.tsx → index.story.jsx} +0 -0
- package/core/components/molecules/fullscreenModal/FullscreenModal.tsx +13 -12
- package/core/components/molecules/fullscreenModal/__stories__/Custom.story.jsx +120 -0
- package/core/components/molecules/fullscreenModal/__stories__/DefaultWidth.story.jsx +88 -0
- package/core/components/molecules/fullscreenModal/__stories__/LargeWidth.story.jsx +148 -0
- package/core/components/molecules/fullscreenModal/__stories__/Layering.story.jsx +196 -0
- package/core/components/molecules/fullscreenModal/__stories__/Scrolling.story.jsx +187 -0
- package/core/components/molecules/fullscreenModal/__stories__/TwoStepWorkflow.story.jsx +240 -0
- package/core/components/molecules/fullscreenModal/__stories__/index.story.jsx +127 -0
- package/core/components/molecules/fullscreenModal/__stories__/twoSteps.story.jsx +164 -0
- package/core/components/molecules/fullscreenModal/__stories__/variants/dimension/Large.story.jsx +127 -0
- package/core/components/molecules/fullscreenModal/__stories__/variants/dimension/Medium.story.jsx +128 -0
- 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/inputMask/__stories__/{CardNumber.story.tsx → CardNumber.story.jsx} +0 -0
- package/core/components/molecules/inputMask/__stories__/index.story.jsx +88 -0
- package/core/components/molecules/inputMask/__stories__/{phoneNumber.story.tsx → phoneNumber.story.jsx} +0 -0
- package/core/components/molecules/modal/Modal.tsx +11 -9
- package/core/components/molecules/modal/__stories__/Alert.story.jsx +96 -0
- package/core/components/molecules/modal/__stories__/Confirmation.story.jsx +101 -0
- package/core/components/molecules/modal/__stories__/Dialog.story.jsx +151 -0
- package/core/components/molecules/modal/__stories__/Input.story.jsx +238 -0
- package/core/components/molecules/modal/__stories__/Layering.story.jsx +160 -0
- package/core/components/molecules/modal/__stories__/NoFooter.story.jsx +87 -0
- package/core/components/molecules/modal/__stories__/Scrolling.story.jsx +220 -0
- package/core/components/molecules/modal/__stories__/index.story.jsx +103 -0
- package/core/components/molecules/modal/__stories__/old.story.jsx +94 -0
- package/core/components/molecules/modal/__stories__/variants/dimension/Large.story.jsx +102 -0
- package/core/components/molecules/modal/__stories__/variants/dimension/Medium.story.jsx +102 -0
- package/core/components/molecules/modal/__stories__/variants/dimension/Small.story.jsx +102 -0
- package/core/components/molecules/modal/__tests__/__snapshots__/Modal.test.tsx.snap +240 -180
- package/core/components/molecules/pagination/__stories__/Basic.story.jsx +34 -0
- package/core/components/molecules/pagination/__stories__/Jump.story.jsx +60 -0
- package/core/components/molecules/pagination/__stories__/index.story.jsx +26 -0
- package/core/components/molecules/pagination/__stories__/variants/Type.story.jsx +50 -0
- package/core/components/molecules/placeholder/__stories__/index.story.jsx +29 -0
- package/core/components/molecules/placeholder/__stories__/{skeletonLoaders.story.tsx → skeletonLoaders.story.jsx} +0 -0
- package/core/components/molecules/placeholder/__stories__/variants/{Image.story.tsx → Image.story.jsx} +0 -0
- package/core/components/molecules/placeholder/__stories__/variants/{ImageShape.story.tsx → ImageShape.story.jsx} +0 -0
- package/core/components/molecules/placeholder/__stories__/variants/ImageSize.story.jsx +30 -0
- package/core/components/molecules/popover/Popover.tsx +9 -0
- package/core/components/molecules/popover/__stories__/Actions.story.jsx +38 -0
- package/core/components/molecules/popover/__stories__/Dark.story.jsx +29 -0
- package/core/components/molecules/popover/__stories__/Inputs.story.jsx +42 -0
- package/core/components/molecules/popover/__stories__/Light.story.jsx +28 -0
- package/core/components/molecules/popover/__stories__/Menu.story.jsx +49 -0
- package/core/components/molecules/popover/__stories__/index.story.jsx +78 -0
- package/core/components/molecules/popover/__stories__/variants/Position.story.jsx +45 -0
- package/core/components/molecules/popover/__stories__/variants/{Theme.story.tsx → Theme.story.jsx} +0 -0
- package/core/components/molecules/popover/__stories__/variants/boundaryElement.story.jsx +91 -0
- package/core/components/molecules/popover/__tests__/__snapshots__/Popover.test.tsx.snap +8 -8
- package/core/components/molecules/sidesheet/Sidesheet.tsx +23 -22
- package/core/components/molecules/sidesheet/__stories__/index.story.jsx +129 -0
- package/core/components/molecules/sidesheet/__stories__/variants/CustomHeader.story.jsx +150 -0
- package/core/components/molecules/sidesheet/__stories__/variants/Layering.story.jsx +180 -0
- package/core/components/molecules/sidesheet/__stories__/variants/LayeringWithModal.story.jsx +184 -0
- package/core/components/molecules/sidesheet/__stories__/variants/dimension/Large.story.jsx +127 -0
- package/core/components/molecules/sidesheet/__stories__/variants/dimension/Regular.story.jsx +127 -0
- package/core/components/molecules/sidesheet/__stories__/variants/stickyFooter.story.jsx +149 -0
- package/core/components/molecules/sidesheet/__stories__/variants/twoSteps.story.jsx +200 -0
- package/core/components/molecules/sidesheet/__tests__/__snapshots__/Sidesheet.test.tsx.snap +40 -30
- package/core/components/molecules/stepper/__stories__/SkippableStep.story.jsx +151 -0
- package/core/components/molecules/stepper/__stories__/StandaloneStepper.story.jsx +89 -0
- package/core/components/molecules/stepper/__stories__/StepperInPageHeader.story.jsx +204 -0
- package/core/components/molecules/stepper/__stories__/index.story.jsx +63 -0
- package/core/components/molecules/stepper/__stories__/variants/ActiveStep.story.jsx +62 -0
- package/core/components/molecules/stepper/__stories__/variants/CompletedStep.story.jsx +63 -0
- package/core/components/molecules/stepper/__stories__/variants/StepperWithSkip.story.jsx +143 -0
- package/core/components/molecules/stepper/__stories__/variants/StepperWithTrigger.story.jsx +99 -0
- package/core/components/molecules/tabs/Tab.tsx +12 -0
- package/core/components/molecules/tabs/Tabs.tsx +70 -12
- package/core/components/molecules/tabs/__stories__/BasicTabs.story.jsx +129 -0
- package/core/components/molecules/tabs/__stories__/CustomLabels.story.jsx +119 -0
- package/core/components/molecules/tabs/__stories__/DisabledWithActive.story.jsx +65 -0
- package/core/components/molecules/tabs/__stories__/DismissibleTab.story.jsx +89 -0
- package/core/components/molecules/tabs/__stories__/InlineContent.story.jsx +93 -0
- package/core/components/molecules/tabs/__stories__/TabsWithCount.story.jsx +109 -0
- package/core/components/molecules/tabs/__stories__/TabsWithIcon.story.jsx +73 -0
- package/core/components/molecules/tabs/__stories__/index.story.jsx +65 -0
- package/core/components/molecules/tabs/__tests__/Tabs.test.tsx +14 -0
- package/core/components/molecules/tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +18 -0
- package/core/components/molecules/tooltip/Tooltip.tsx +20 -1
- package/core/components/molecules/tooltip/__stories__/index.story.jsx +30 -0
- package/core/components/molecules/tooltip/__stories__/variants/Position.story.jsx +51 -0
- package/core/components/molecules/verificationCodeInput/__stories__/{fourFields.story.tsx → fourFields.story.jsx} +0 -0
- package/core/components/molecules/verificationCodeInput/__stories__/index.story.jsx +58 -0
- package/core/components/molecules/verificationCodeInput/__stories__/{sixFields.story.tsx → sixFields.story.jsx} +0 -0
- package/core/components/molecules/verificationCodeInput/__stories__/variants/{Disabled.story.tsx → Disabled.story.jsx} +0 -0
- package/core/components/molecules/verificationCodeInput/__stories__/variants/{Error.story.tsx → Error.story.jsx} +0 -0
- package/core/components/organisms/calendar/Calendar.tsx +5 -3
- package/core/components/organisms/calendar/__stories__/index.story.jsx +84 -0
- package/core/components/organisms/calendar/__stories__/variants/disabled.story.jsx +63 -0
- package/core/components/organisms/calendar/__stories__/variants/firstDayOfWeek.story.jsx +37 -0
- package/core/components/organisms/calendar/__stories__/variants/size.story.jsx +46 -0
- package/core/components/organisms/calendar/__stories__/variants/view.story.jsx +51 -0
- package/core/components/organisms/calendar/__stories__/variants/{withEvents.story.tsx → withEvents.story.jsx} +0 -0
- package/core/components/organisms/choiceList/__stories__/{Alignment.story.tsx → Alignment.story.jsx} +0 -0
- package/core/components/organisms/choiceList/__stories__/{AllowMultiple.story.tsx → AllowMultiple.story.jsx} +0 -0
- package/core/components/organisms/choiceList/__stories__/{Controlled.story.tsx → Controlled.story.jsx} +0 -0
- package/core/components/organisms/choiceList/__stories__/{index.story.tsx → index.story.jsx} +0 -0
- package/core/components/organisms/datePicker/__stories__/index.story.jsx +77 -0
- package/core/components/organisms/datePicker/__stories__/variants/view.story.jsx +31 -0
- package/core/components/organisms/datePicker/__stories__/variants/withInput.story.jsx +62 -0
- package/core/components/organisms/dateRangePicker/DateRangePicker.tsx +2 -1
- package/core/components/organisms/dateRangePicker/__stories__/index.story.jsx +87 -0
- package/core/components/organisms/dateRangePicker/__stories__/variants/monthsInView.story.jsx +41 -0
- package/core/components/organisms/dateRangePicker/__stories__/variants/{rangeLimit.story.tsx → rangeLimit.story.jsx} +0 -0
- package/core/components/organisms/dateRangePicker/__stories__/variants/view.story.jsx +37 -0
- package/core/components/organisms/dateRangePicker/__stories__/variants/withInput.story.jsx +68 -0
- package/core/components/organisms/dateRangePicker/__stories__/variants/withSingleInput.story.jsx +67 -0
- package/core/components/organisms/dateRangePicker/__tests__/__snapshots__/DateRangePicker.test.tsx.snap +138 -2238
- package/core/components/organisms/grid/Cell.tsx +20 -10
- package/core/components/organisms/grid/Grid.tsx +5 -0
- package/core/components/organisms/grid/GridBody.tsx +1 -2
- package/core/components/organisms/grid/__stories__/GridCell.story.jsx +53 -0
- package/core/components/organisms/grid/__stories__/_common_/editableSchema.tsx +3 -5
- package/core/components/organisms/grid/__stories__/_common_/fetchData.ts +2 -3
- package/core/components/organisms/grid/__stories__/_common_/loaderSchema.ts +1 -2
- package/core/components/organisms/grid/__stories__/_common_/nestedRowRenderer.tsx +1 -2
- package/core/components/organisms/grid/__stories__/_common_/schema.tsx +1 -2
- package/core/components/organisms/grid/__stories__/_common_/simpleLoaderSchema.ts +1 -3
- package/core/components/organisms/grid/__stories__/_common_/simpleSchema.tsx +1 -3
- package/core/components/organisms/grid/__stories__/_common_/statusSchema.ts +1 -3
- package/core/components/organisms/grid/__stories__/index.story.jsx +99 -0
- package/core/components/organisms/grid/__stories__/variants/{loading.story.tsx → loading.story.jsx} +0 -0
- package/core/components/organisms/horizontalNav/__stories__/default.story.jsx +76 -0
- package/core/components/organisms/horizontalNav/__stories__/index.story.jsx +109 -0
- package/core/components/organisms/horizontalNav/__stories__/leftAlign.story.jsx +210 -0
- package/core/components/organisms/horizontalNav/__stories__/withCount.story.jsx +90 -0
- package/core/components/organisms/horizontalNav/__stories__/withIcon.story.jsx +90 -0
- package/core/components/organisms/inlineMessage/__stories__/InlineMessageWithinTable.story.jsx +135 -0
- package/core/components/organisms/inlineMessage/__stories__/variants/Default.story.jsx +12 -0
- package/core/components/organisms/inlineMessage/__stories__/variants/Error.story.jsx +12 -0
- package/core/components/organisms/inlineMessage/__stories__/variants/Info.story.jsx +12 -0
- package/core/components/organisms/inlineMessage/__stories__/variants/Success.story.jsx +12 -0
- package/core/components/organisms/inlineMessage/__stories__/variants/Warning.story.jsx +12 -0
- package/core/components/organisms/list/__stories__/_common_/types.tsx +0 -1
- package/core/components/organisms/list/__stories__/index.story.jsx +105 -0
- package/core/components/organisms/navigation/__stories__/NavigationTabs.story.jsx +87 -0
- package/core/components/organisms/navigation/__stories__/NavigationTabsWithCount.story.jsx +97 -0
- package/core/components/organisms/navigation/__stories__/NavigationTabsWithIcon.story.jsx +95 -0
- package/core/components/organisms/navigation/__stories__/variants/horizontal.story.jsx +113 -0
- package/core/components/organisms/navigation/__stories__/variants/vertical.story.jsx +204 -0
- package/core/components/organisms/navigation/__stories__/variants/verticalRound.story.jsx +206 -0
- package/core/components/organisms/pageHeader/__stories__/Responsiveness.story.jsx +201 -0
- package/core/components/organisms/pageHeader/__stories__/level2.story.jsx +175 -0
- package/core/components/organisms/pageHeader/__stories__/variants/withNavigation.story.jsx +96 -0
- package/core/components/organisms/pageHeader/__stories__/variants/withNavigationL1.story.jsx +153 -0
- package/core/components/organisms/pageHeader/__stories__/variants/withStepper.story.jsx +119 -0
- package/core/components/organisms/pageHeader/__stories__/variants/withStepperL1.story.jsx +163 -0
- package/core/components/organisms/pageHeader/__stories__/variants/withTabs.story.jsx +155 -0
- package/core/components/organisms/pageHeader/__stories__/variants/withTabsL1.story.jsx +193 -0
- package/core/components/organisms/pageHeader/__stories__/withFilter.story.jsx +95 -0
- package/core/components/organisms/pageHeader/__stories__/withFilterL1.story.jsx +102 -0
- package/core/components/organisms/pageHeader/__stories__/withNavigation.story.jsx +88 -0
- package/core/components/organisms/pageHeader/__stories__/withNavigationL1.story.jsx +136 -0
- package/core/components/organisms/pageHeader/__stories__/withStepperL1.story.jsx +196 -0
- package/core/components/organisms/table/Table.tsx +0 -1
- package/core/components/organisms/table/__stories__/CompressedTable.story.jsx +219 -0
- package/core/components/organisms/table/__stories__/DataTable.story.jsx +426 -0
- package/core/components/organisms/table/__stories__/Filtering.story.jsx +851 -0
- package/core/components/organisms/table/__stories__/NestedTableWithNestedCard.story.jsx +311 -0
- package/core/components/organisms/table/__stories__/PinnedColumn.story.jsx +247 -0
- package/core/components/organisms/table/__stories__/ResourceTable.story.jsx +328 -0
- package/core/components/organisms/table/__stories__/Selection.story.jsx +275 -0
- package/core/components/organisms/table/__stories__/StandardTable.story.jsx +217 -0
- package/core/components/organisms/table/__stories__/TableAsDescriptionList.story.jsx +223 -0
- package/core/components/organisms/table/__stories__/TableAsOptionList.story.jsx +132 -0
- package/core/components/organisms/table/__stories__/TightStory.story.jsx +219 -0
- package/core/components/organisms/table/__stories__/_common_/types.tsx +1 -2
- package/core/components/organisms/table/__stories__/asyncTable.story.jsx +301 -0
- package/core/components/organisms/table/__stories__/index.story.jsx +147 -0
- package/core/components/organisms/table/__stories__/syncTable.story.jsx +210 -0
- package/core/components/organisms/table/__stories__/variants/customHeaderCellRenderer.story.jsx +420 -0
- package/core/components/organisms/table/__stories__/variants/nestedRows.story.jsx +187 -0
- package/core/components/organisms/table/__stories__/variants/showHead.story.jsx +57 -0
- package/core/components/organisms/table/__stories__/variants/showMenu.story.jsx +56 -0
- package/core/components/organisms/table/__stories__/variants/size.story.jsx +56 -0
- package/core/components/organisms/table/__stories__/variants/syncLoaderSchema.story.jsx +64 -0
- package/core/components/organisms/table/__stories__/variants/type.story.jsx +64 -0
- package/core/components/organisms/table/__stories__/variants/withCheckbox.story.jsx +70 -0
- package/core/components/organisms/table/__stories__/variants/withEditableCell.story.jsx +210 -0
- package/core/components/organisms/table/__stories__/variants/{withErrorTemplate.story.tsx → withErrorTemplate.story.jsx} +0 -0
- package/core/components/organisms/table/__stories__/variants/withHeader.story.jsx +54 -0
- package/core/components/organisms/table/__stories__/variants/withPagination.story.jsx +63 -0
- package/core/components/organisms/timePicker/__stories__/index.story.jsx +54 -0
- package/core/components/organisms/verticalNav/MenuItem.tsx +68 -30
- package/core/components/organisms/verticalNav/VerticalNav.tsx +60 -18
- package/core/components/organisms/verticalNav/__stories__/{ChildItemsWithIcon.story.tsx → ChildItemsWithIcon.story.jsx} +0 -0
- package/core/components/organisms/verticalNav/__stories__/CustomItemsRenderer.story.jsx +237 -0
- package/core/components/organisms/verticalNav/__stories__/CustomOptionsRenderer.story.jsx +246 -0
- package/core/components/organisms/verticalNav/__stories__/CustomTrigger.story.jsx +116 -0
- package/core/components/organisms/verticalNav/__stories__/{CustomVerticalNav.story.tsx → CustomVerticalNav.story.jsx} +0 -0
- package/core/components/organisms/verticalNav/__stories__/FlatEdgedVerticalNav.story.jsx +298 -0
- package/core/components/organisms/verticalNav/__stories__/{Grouping.story.tsx → Grouping.story.jsx} +0 -0
- package/core/components/organisms/verticalNav/__stories__/{HoverableVerticalNav.story.tsx → HoverableVerticalNav.story.jsx} +0 -0
- package/core/components/organisms/verticalNav/__stories__/LabelOverflowBehaviour.story.jsx +130 -0
- package/core/components/organisms/verticalNav/__stories__/{NonCollapsibleVerticalNav.story.tsx → NonCollapsibleVerticalNav.story.jsx} +0 -0
- package/core/components/organisms/verticalNav/__stories__/{RoundEdgedVerticalNav.story.tsx → RoundEdgedVerticalNav.story.jsx} +0 -0
- package/core/components/organisms/verticalNav/__stories__/SecondaryVerticalNav.story.jsx +336 -0
- package/core/components/organisms/verticalNav/__stories__/index.story.jsx +192 -0
- package/core/components/organisms/verticalNav/__stories__/schema.tsx +1 -2
- package/core/components/organisms/verticalNav/__stories__/variants/Rounded.story.jsx +196 -0
- package/core/components/organisms/verticalNav/__stories__/variants/Sections.story.jsx +208 -0
- package/core/utils/__tests__/__snapshots__/TS.test.tsx.snap +162 -15
- package/core/utils/action.ts +3 -0
- package/core/utils/docPage/index.tsx +2 -15
- package/css/dist/index.css +160 -4715
- package/css/dist/index.css.map +1 -1
- package/css/src/core/animation.css +6 -6
- package/dist/index.esm.js +4 -4
- package/dist/index.js +4 -4
- 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/package.json +1 -1
- package/src/components/popover/Popover.tsx +1 -1
- package/core/components/atoms/avatar/__stories__/index.story.tsx +0 -34
- package/core/components/atoms/avatar/__stories__/variants/Appearance.story.tsx +0 -48
- package/core/components/atoms/avatarGroup/__stories__/index.story.tsx +0 -76
- package/core/components/atoms/avatarGroup/__stories__/variants/CustomPopper.story.tsx +0 -109
- package/core/components/atoms/backdrop/__stories__/index.story.tsx +0 -53
- package/core/components/atoms/breadcrumbs/__stories__/variants/lessThan4Levels.story.tsx +0 -73
- package/core/components/atoms/breadcrumbs/__stories__/variants/moreThan4Levels.story.tsx +0 -81
- package/core/components/atoms/button/__stories__/SplitButton.story.tsx +0 -41
- package/core/components/atoms/button/__stories__/index.story.tsx +0 -58
- package/core/components/atoms/button/__stories__/variants/Appearance.story.tsx +0 -57
- package/core/components/atoms/button/__stories__/variants/Expanded.story.tsx +0 -57
- package/core/components/atoms/button/__stories__/variants/Size.story.tsx +0 -59
- package/core/components/atoms/caption/__stories__/index.story.tsx +0 -30
- package/core/components/atoms/card/__stories__/index.story.tsx +0 -56
- package/core/components/atoms/card/__stories__/nested.story.tsx +0 -120
- package/core/components/atoms/card/__stories__/scroll.story.tsx +0 -113
- package/core/components/atoms/checkbox/__stories__/Group.story.tsx +0 -24
- package/core/components/atoms/checkbox/__stories__/HelpText.story.tsx +0 -18
- package/core/components/atoms/checkbox/__stories__/Nested.story.tsx +0 -127
- package/core/components/atoms/checkbox/__stories__/Overflow.story.tsx +0 -20
- package/core/components/atoms/checkbox/__stories__/index.story.tsx +0 -40
- package/core/components/atoms/checkbox/__stories__/variants/Controlled.story.tsx +0 -48
- package/core/components/atoms/checkbox/__stories__/variants/Disabled.story.tsx +0 -40
- package/core/components/atoms/checkbox/__stories__/variants/Size.story.tsx +0 -38
- package/core/components/atoms/checkbox/__stories__/variants/Uncontrolled.story.tsx +0 -28
- package/core/components/atoms/checkbox/__stories__/variants/checkboxList.story.tsx +0 -125
- package/core/components/atoms/chip/__stories__/Action.story.tsx +0 -26
- package/core/components/atoms/chip/__stories__/Input.story.tsx +0 -27
- package/core/components/atoms/chip/__stories__/index.story.tsx +0 -41
- package/core/components/atoms/chip/__stories__/variants/Action.story.tsx +0 -43
- package/core/components/atoms/chip/__stories__/variants/Input.story.tsx +0 -43
- package/core/components/atoms/chip/__stories__/variants/Selection.story.tsx +0 -75
- package/core/components/atoms/chip/__stories__/variants/Type.story.tsx +0 -47
- package/core/components/atoms/collapsible/__stories__/index.story.tsx +0 -55
- package/core/components/atoms/divider/__stories__/BasicDividerInCard.story.tsx +0 -74
- package/core/components/atoms/divider/__stories__/IndentedDivider.story.tsx +0 -49
- package/core/components/atoms/divider/__stories__/Vertical.story.tsx +0 -51
- package/core/components/atoms/dropdown/__stories__/CustomSearchPlaceholder.story.tsx +0 -45
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithCheckbox.story.tsx +0 -42
- package/core/components/atoms/dropdown/__stories__/DropdownItemsWithIcon.story.tsx +0 -46
- package/core/components/atoms/dropdown/__stories__/DropdownWIthIcon.story.tsx +0 -222
- package/core/components/atoms/dropdown/__stories__/DropdownWithActionButtons.story.tsx +0 -73
- package/core/components/atoms/dropdown/__stories__/DropdownWithCaption.story.tsx +0 -72
- package/core/components/atoms/dropdown/__stories__/Gender.story.tsx +0 -40
- package/core/components/atoms/dropdown/__stories__/LabelPositionInDropdown.story.tsx +0 -62
- package/core/components/atoms/dropdown/__stories__/Languages.story.tsx +0 -43
- package/core/components/atoms/dropdown/__stories__/Menu.story.tsx +0 -42
- package/core/components/atoms/dropdown/__stories__/OptionsLessThan50.story.tsx +0 -52
- package/core/components/atoms/dropdown/__stories__/OptionsMoreThan50.story.tsx +0 -88
- package/core/components/atoms/dropdown/__stories__/SearchInDropdown.story.tsx +0 -46
- package/core/components/atoms/dropdown/__stories__/StandardDropdown.story.tsx +0 -48
- package/core/components/atoms/dropdown/__stories__/StatusWithoutLabel.story.tsx +0 -41
- package/core/components/atoms/dropdown/__stories__/WithCheckboxAndSubInfo.story.tsx +0 -46
- package/core/components/atoms/dropdown/__stories__/index.story.tsx +0 -161
- package/core/components/atoms/dropdown/__stories__/variants/Align.story.tsx +0 -68
- package/core/components/atoms/dropdown/__stories__/variants/CustomOption.story.tsx +0 -128
- package/core/components/atoms/dropdown/__stories__/variants/CustomTrigger.story.tsx +0 -76
- package/core/components/atoms/dropdown/__stories__/variants/DisabledOption.story.tsx +0 -101
- package/core/components/atoms/dropdown/__stories__/variants/LoadingType.story.tsx +0 -99
- package/core/components/atoms/dropdown/__stories__/variants/MultiOptions.story.tsx +0 -136
- package/core/components/atoms/dropdown/__stories__/variants/OptionType.story.tsx +0 -59
- package/core/components/atoms/dropdown/__stories__/variants/PreSelection.story.tsx +0 -103
- package/core/components/atoms/dropdown/__stories__/variants/Section.story.tsx +0 -60
- package/core/components/atoms/dropdown/__stories__/variants/Size.story.tsx +0 -69
- package/core/components/atoms/dropdown/__stories__/variants/StaticLimit.story.tsx +0 -111
- package/core/components/atoms/heading/__stories__/index.story.tsx +0 -39
- package/core/components/atoms/heading/__stories__/variants/Appearance.story.tsx +0 -36
- package/core/components/atoms/heading/__stories__/variants/Size.story.tsx +0 -36
- package/core/components/atoms/icon/__stories__/index.story.tsx +0 -42
- package/core/components/atoms/icon/__stories__/variants/Appearance.story.tsx +0 -75
- package/core/components/atoms/icon/__stories__/variants/Type.story.tsx +0 -38
- package/core/components/atoms/input/__stories__/IconLeftInput.story.tsx +0 -22
- package/core/components/atoms/input/__stories__/index.story.tsx +0 -81
- package/core/components/atoms/input/__stories__/variants/ActionIcon.story.tsx +0 -37
- package/core/components/atoms/input/__stories__/variants/MetricInput.story.tsx +0 -37
- package/core/components/atoms/input/__stories__/variants/Size.story.tsx +0 -53
- package/core/components/atoms/input/__stories__/variants/controlledInput.story.tsx +0 -106
- package/core/components/atoms/label/__stories__/index.story.tsx +0 -30
- package/core/components/atoms/legend/__stories__/index.story.tsx +0 -52
- package/core/components/atoms/legend/__stories__/variants/labelAppearance.story.tsx +0 -33
- package/core/components/atoms/link/__stories__/index.story.tsx +0 -39
- package/core/components/atoms/message/__stories__/Alert.story.tsx +0 -16
- package/core/components/atoms/message/__stories__/Info.story.tsx +0 -16
- package/core/components/atoms/message/__stories__/Success.story.tsx +0 -16
- package/core/components/atoms/message/__stories__/Warning.story.tsx +0 -15
- package/core/components/atoms/message/__stories__/WithActions.story.tsx +0 -26
- package/core/components/atoms/message/__stories__/WithTitle.story.tsx +0 -27
- package/core/components/atoms/message/__stories__/index.story.tsx +0 -35
- package/core/components/atoms/message/__stories__/variants/Appearance.story.tsx +0 -51
- package/core/components/atoms/message/__stories__/variants/AppearanceTitle.story.tsx +0 -56
- package/core/components/atoms/metricInput/__stories__/DefaultMetric.story.tsx +0 -61
- package/core/components/atoms/metricInput/__stories__/WithPrefix.story.tsx +0 -59
- package/core/components/atoms/metricInput/__stories__/index.story.tsx +0 -57
- package/core/components/atoms/metricInput/__stories__/variants/Controlled.story.tsx +0 -49
- package/core/components/atoms/metricInput/__stories__/withSuffix.story.tsx +0 -59
- package/core/components/atoms/outsideClick/__stories__/index.story.tsx +0 -47
- package/core/components/atoms/paragraph/__stories__/index.story.tsx +0 -38
- package/core/components/atoms/paragraph/__stories__/variants/Appearance.story.tsx +0 -35
- package/core/components/atoms/pills/__stories__/Alert.story.tsx +0 -20
- package/core/components/atoms/pills/__stories__/Default.story.tsx +0 -20
- package/core/components/atoms/pills/__stories__/Info.story.tsx +0 -20
- package/core/components/atoms/pills/__stories__/SubtleAlert.story.tsx +0 -22
- package/core/components/atoms/pills/__stories__/SubtleWarning.story.tsx +0 -20
- package/core/components/atoms/pills/__stories__/index.story.tsx +0 -27
- package/core/components/atoms/pills/__stories__/variants/Appearance.story.tsx +0 -53
- package/core/components/atoms/pills/__stories__/variants/Subtle.story.tsx +0 -52
- package/core/components/atoms/placeholderImage/__stories__/index.story.tsx +0 -27
- package/core/components/atoms/placeholderImage/__stories__/variants/Size.story.tsx +0 -40
- package/core/components/atoms/placeholderParagraph/__stories__/index.story.tsx +0 -23
- package/core/components/atoms/placeholderParagraph/__stories__/variants/Length.story.tsx +0 -32
- package/core/components/atoms/placeholderParagraph/__stories__/variants/Size.story.tsx +0 -32
- package/core/components/atoms/progressBar/__stories__/index.story.tsx +0 -20
- package/core/components/atoms/progressRing/__stories__/index.story.tsx +0 -18
- package/core/components/atoms/progressRing/__stories__/variants/Size.story.tsx +0 -34
- package/core/components/atoms/radio/__stories__/HelpText.story.tsx +0 -20
- package/core/components/atoms/radio/__stories__/RadioGroup.story.tsx +0 -22
- package/core/components/atoms/radio/__stories__/index.story.tsx +0 -50
- package/core/components/atoms/radio/__stories__/variants/Size.story.tsx +0 -37
- package/core/components/atoms/radio/__stories__/variants/controlledRadioGroup.story.tsx +0 -86
- package/core/components/atoms/radio/__stories__/variants/uncontrolledRadio.story.tsx +0 -30
- package/core/components/atoms/rangeSlider/__stories__/index.story.tsx +0 -37
- package/core/components/atoms/rangeSlider/__stories__/variants/Controlled.story.tsx +0 -61
- package/core/components/atoms/rangeSlider/__stories__/variants/CustomLabels.story.tsx +0 -65
- package/core/components/atoms/slider/__stories__/index.story.tsx +0 -37
- package/core/components/atoms/slider/__stories__/variants/Controlled.story.tsx +0 -61
- package/core/components/atoms/slider/__stories__/variants/CustomLabels.story.tsx +0 -64
- package/core/components/atoms/spinner/__stories__/index.story.tsx +0 -26
- package/core/components/atoms/spinner/__stories__/variants/Appearance.story.tsx +0 -34
- package/core/components/atoms/spinner/__stories__/variants/Size.story.tsx +0 -34
- package/core/components/atoms/statusHint/__stories__/index.story.tsx +0 -25
- package/core/components/atoms/statusHint/__stories__/variants/Appearance.story.tsx +0 -32
- package/core/components/atoms/subheading/__stories__/index.story.tsx +0 -35
- package/core/components/atoms/subheading/__stories__/variants/Appearance.story.tsx +0 -37
- package/core/components/atoms/switchInput/__stories__/index.story.tsx +0 -53
- package/core/components/atoms/switchInput/__stories__/variants/Size.story.tsx +0 -45
- package/core/components/atoms/text/__stories__/index.story.tsx +0 -55
- package/core/components/atoms/text/__stories__/variants/Appearance.story.tsx +0 -30
- package/core/components/atoms/textarea/__stories__/defaultTextarea.story.tsx +0 -29
- package/core/components/atoms/textarea/__stories__/index.story.tsx +0 -41
- package/core/components/atoms/textarea/__stories__/variants/Disable.story.tsx +0 -48
- package/core/components/atoms/toast/__stories__/WithDescription.story.tsx +0 -10
- package/core/components/atoms/toast/__stories__/index.story.tsx +0 -38
- package/core/components/atoms/toast/__stories__/variants/Appearance.story.tsx +0 -31
- package/core/components/atoms/toast/__stories__/variants/ToastMessage.story.tsx +0 -38
- package/core/components/atoms/toast/__stories__/variants/ToastWithAction.story.tsx +0 -62
- package/core/components/molecules/chatMessage/__stories__/UserMessage.story.tsx +0 -37
- package/core/components/molecules/chipInput/__stories__/index.story.tsx +0 -25
- package/core/components/molecules/dialog/__stories__/index.story.tsx +0 -105
- package/core/components/molecules/dropzone/__stories__/index.story.tsx +0 -192
- package/core/components/molecules/dropzone/__stories__/variants/Disabled.story.tsx +0 -96
- package/core/components/molecules/dropzone/__stories__/variants/Format.story.tsx +0 -66
- package/core/components/molecules/dropzone/__stories__/variants/Size.story.tsx +0 -144
- package/core/components/molecules/editableChipInput/__stories__/Uncontrolled.story.tsx +0 -59
- package/core/components/molecules/editableChipInput/__stories__/index.story.tsx +0 -80
- package/core/components/molecules/editableDropdown/__stories__/index.story.tsx +0 -113
- package/core/components/molecules/editableDropdown/__stories__/variants/customRenderer.story.tsx +0 -131
- package/core/components/molecules/editableInput/__stories__/index.story.tsx +0 -67
- package/core/components/molecules/editableInput/__stories__/variants/Error.story.tsx +0 -55
- package/core/components/molecules/editableInput/__stories__/variants/Size.story.tsx +0 -81
- package/core/components/molecules/emptyState/__stories__/index.story.tsx +0 -27
- package/core/components/molecules/emptyState/__stories__/noContentAvailable.story.tsx +0 -26
- package/core/components/molecules/fileList/__stories__/index.story.tsx +0 -159
- package/core/components/molecules/fullscreenModal/__stories__/Custom.story.tsx +0 -142
- package/core/components/molecules/fullscreenModal/__stories__/DefaultWidth.story.tsx +0 -107
- package/core/components/molecules/fullscreenModal/__stories__/LargeWidth.story.tsx +0 -168
- package/core/components/molecules/fullscreenModal/__stories__/Layering.story.tsx +0 -228
- package/core/components/molecules/fullscreenModal/__stories__/Scrolling.story.tsx +0 -207
- package/core/components/molecules/fullscreenModal/__stories__/TwoStepWorkflow.story.tsx +0 -261
- package/core/components/molecules/fullscreenModal/__stories__/index.story.tsx +0 -155
- package/core/components/molecules/fullscreenModal/__stories__/twoSteps.story.tsx +0 -184
- package/core/components/molecules/inputMask/__stories__/index.story.tsx +0 -89
- package/core/components/molecules/modal/__stories__/Alert.story.tsx +0 -114
- package/core/components/molecules/modal/__stories__/Confirmation.story.tsx +0 -119
- package/core/components/molecules/modal/__stories__/Dialog.story.tsx +0 -171
- package/core/components/molecules/modal/__stories__/Input.story.tsx +0 -256
- package/core/components/molecules/modal/__stories__/Layering.story.tsx +0 -180
- package/core/components/molecules/modal/__stories__/NoFooter.story.tsx +0 -107
- package/core/components/molecules/modal/__stories__/Scrolling.story.tsx +0 -238
- package/core/components/molecules/modal/__stories__/index.story.tsx +0 -123
- package/core/components/molecules/modal/__stories__/old.story.tsx +0 -114
- package/core/components/molecules/pagination/__stories__/Basic.story.tsx +0 -34
- package/core/components/molecules/pagination/__stories__/Jump.story.tsx +0 -60
- package/core/components/molecules/pagination/__stories__/index.story.tsx +0 -27
- package/core/components/molecules/pagination/__stories__/variants/Type.story.tsx +0 -51
- package/core/components/molecules/placeholder/__stories__/index.story.tsx +0 -30
- package/core/components/molecules/placeholder/__stories__/variants/ImageSize.story.tsx +0 -30
- package/core/components/molecules/popover/__stories__/Actions.story.tsx +0 -38
- package/core/components/molecules/popover/__stories__/Dark.story.tsx +0 -29
- package/core/components/molecules/popover/__stories__/Inputs.story.tsx +0 -37
- package/core/components/molecules/popover/__stories__/Light.story.tsx +0 -23
- package/core/components/molecules/popover/__stories__/Menu.story.tsx +0 -49
- package/core/components/molecules/popover/__stories__/index.story.tsx +0 -87
- package/core/components/molecules/popover/__stories__/variants/Position.story.tsx +0 -56
- package/core/components/molecules/popover/__stories__/variants/boundaryElement.story.tsx +0 -100
- package/core/components/molecules/sidesheet/__stories__/index.story.tsx +0 -146
- package/core/components/molecules/sidesheet/__stories__/variants/CustomHeader.story.tsx +0 -172
- package/core/components/molecules/sidesheet/__stories__/variants/Layering.story.tsx +0 -197
- package/core/components/molecules/sidesheet/__stories__/variants/LayeringWithModal.story.tsx +0 -201
- package/core/components/molecules/sidesheet/__stories__/variants/stickyFooter.story.tsx +0 -166
- package/core/components/molecules/sidesheet/__stories__/variants/twoSteps.story.tsx +0 -218
- package/core/components/molecules/stepper/__stories__/SkippableStep.story.tsx +0 -151
- package/core/components/molecules/stepper/__stories__/StandaloneStepper.story.tsx +0 -89
- package/core/components/molecules/stepper/__stories__/StepperInPageHeader.story.tsx +0 -204
- package/core/components/molecules/stepper/__stories__/index.story.tsx +0 -63
- package/core/components/molecules/stepper/__stories__/variants/ActiveStep.story.tsx +0 -62
- package/core/components/molecules/stepper/__stories__/variants/CompletedStep.story.tsx +0 -63
- package/core/components/molecules/stepper/__stories__/variants/StepperWithSkip.story.tsx +0 -143
- package/core/components/molecules/stepper/__stories__/variants/StepperWithTrigger.story.tsx +0 -99
- package/core/components/molecules/tabs/__stories__/BasicTabs.story.tsx +0 -129
- package/core/components/molecules/tabs/__stories__/CustomLabels.story.tsx +0 -118
- package/core/components/molecules/tabs/__stories__/InlineContent.story.tsx +0 -92
- package/core/components/molecules/tabs/__stories__/TabsWithCount.story.tsx +0 -108
- package/core/components/molecules/tabs/__stories__/TabsWithIcon.story.tsx +0 -72
- package/core/components/molecules/tabs/__stories__/index.story.tsx +0 -64
- package/core/components/molecules/tooltip/__stories__/index.story.tsx +0 -35
- package/core/components/molecules/tooltip/__stories__/variants/Position.story.tsx +0 -62
- package/core/components/molecules/verificationCodeInput/__stories__/index.story.tsx +0 -59
- package/core/components/organisms/calendar/__stories__/index.story.tsx +0 -69
- package/core/components/organisms/calendar/__stories__/variants/disabled.story.tsx +0 -64
- package/core/components/organisms/calendar/__stories__/variants/firstDayOfWeek.story.tsx +0 -38
- package/core/components/organisms/calendar/__stories__/variants/size.story.tsx +0 -52
- package/core/components/organisms/datePicker/__stories__/index.story.tsx +0 -90
- package/core/components/organisms/datePicker/__stories__/variants/view.story.tsx +0 -32
- package/core/components/organisms/datePicker/__stories__/variants/withInput.story.tsx +0 -75
- package/core/components/organisms/dateRangePicker/__stories__/index.story.tsx +0 -100
- package/core/components/organisms/dateRangePicker/__stories__/variants/monthsInView.story.tsx +0 -41
- package/core/components/organisms/dateRangePicker/__stories__/variants/view.story.tsx +0 -38
- package/core/components/organisms/dateRangePicker/__stories__/variants/withInput.story.tsx +0 -81
- package/core/components/organisms/dateRangePicker/__stories__/variants/withSingleInput.story.tsx +0 -80
- package/core/components/organisms/grid/__stories__/GridCell.story.tsx +0 -58
- package/core/components/organisms/grid/__stories__/index.story.tsx +0 -100
- package/core/components/organisms/horizontalNav/__stories__/default.story.tsx +0 -77
- package/core/components/organisms/horizontalNav/__stories__/index.story.tsx +0 -110
- package/core/components/organisms/horizontalNav/__stories__/leftAlign.story.tsx +0 -211
- package/core/components/organisms/horizontalNav/__stories__/withCount.story.tsx +0 -91
- package/core/components/organisms/horizontalNav/__stories__/withIcon.story.tsx +0 -91
- package/core/components/organisms/inlineMessage/__stories__/InlineMessageWithinTable.story.tsx +0 -136
- package/core/components/organisms/inlineMessage/__stories__/variants/Default.story.tsx +0 -16
- package/core/components/organisms/inlineMessage/__stories__/variants/Error.story.tsx +0 -16
- package/core/components/organisms/inlineMessage/__stories__/variants/Info.story.tsx +0 -16
- package/core/components/organisms/inlineMessage/__stories__/variants/Success.story.tsx +0 -16
- package/core/components/organisms/inlineMessage/__stories__/variants/Warning.story.tsx +0 -15
- package/core/components/organisms/list/__stories__/index.story.tsx +0 -106
- package/core/components/organisms/navigation/__stories__/NavigationTabs.story.tsx +0 -89
- package/core/components/organisms/navigation/__stories__/NavigationTabsWithCount.story.tsx +0 -99
- package/core/components/organisms/navigation/__stories__/NavigationTabsWithIcon.story.tsx +0 -97
- package/core/components/organisms/navigation/__stories__/variants/horizontal.story.tsx +0 -115
- package/core/components/organisms/navigation/__stories__/variants/vertical.story.tsx +0 -207
- package/core/components/organisms/navigation/__stories__/variants/verticalRound.story.tsx +0 -209
- package/core/components/organisms/pageHeader/__stories__/Responsiveness.story.tsx +0 -202
- package/core/components/organisms/pageHeader/__stories__/level2.story.tsx +0 -175
- package/core/components/organisms/pageHeader/__stories__/variants/withNavigation.story.tsx +0 -97
- package/core/components/organisms/pageHeader/__stories__/variants/withNavigationL1.story.tsx +0 -154
- package/core/components/organisms/pageHeader/__stories__/variants/withStepper.story.tsx +0 -120
- package/core/components/organisms/pageHeader/__stories__/variants/withStepperL1.story.tsx +0 -164
- package/core/components/organisms/pageHeader/__stories__/variants/withTabs.story.tsx +0 -157
- package/core/components/organisms/pageHeader/__stories__/variants/withTabsL1.story.tsx +0 -195
- package/core/components/organisms/pageHeader/__stories__/withFilter.story.tsx +0 -95
- package/core/components/organisms/pageHeader/__stories__/withFilterL1.story.tsx +0 -102
- package/core/components/organisms/pageHeader/__stories__/withNavigation.story.tsx +0 -89
- package/core/components/organisms/pageHeader/__stories__/withNavigationL1.story.tsx +0 -137
- package/core/components/organisms/pageHeader/__stories__/withStepperL1.story.tsx +0 -196
- package/core/components/organisms/table/__stories__/CompressedTable.story.tsx +0 -220
- package/core/components/organisms/table/__stories__/DataTable.story.tsx +0 -427
- package/core/components/organisms/table/__stories__/Filtering.story.tsx +0 -849
- package/core/components/organisms/table/__stories__/NestedTableWithNestedCard.story.tsx +0 -312
- package/core/components/organisms/table/__stories__/PinnedColumn.story.tsx +0 -248
- package/core/components/organisms/table/__stories__/ResourceTable.story.tsx +0 -329
- package/core/components/organisms/table/__stories__/Selection.story.tsx +0 -276
- package/core/components/organisms/table/__stories__/StandardTable.story.tsx +0 -218
- package/core/components/organisms/table/__stories__/TableAsDescriptionList.story.tsx +0 -225
- package/core/components/organisms/table/__stories__/TableAsOptionList.story.tsx +0 -133
- package/core/components/organisms/table/__stories__/TightStory.story.tsx +0 -220
- package/core/components/organisms/table/__stories__/asyncTable.story.tsx +0 -301
- package/core/components/organisms/table/__stories__/index.story.tsx +0 -148
- package/core/components/organisms/table/__stories__/syncTable.story.tsx +0 -210
- package/core/components/organisms/table/__stories__/variants/nestedRows.story.tsx +0 -187
- package/core/components/organisms/table/__stories__/variants/showHead.story.tsx +0 -58
- package/core/components/organisms/table/__stories__/variants/showMenu.story.tsx +0 -57
- package/core/components/organisms/table/__stories__/variants/size.story.tsx +0 -57
- package/core/components/organisms/table/__stories__/variants/syncLoaderSchema.story.tsx +0 -65
- package/core/components/organisms/table/__stories__/variants/type.story.tsx +0 -65
- package/core/components/organisms/table/__stories__/variants/withCheckbox.story.tsx +0 -71
- package/core/components/organisms/table/__stories__/variants/withEditableCell.story.tsx +0 -210
- package/core/components/organisms/table/__stories__/variants/withHeader.story.tsx +0 -42
- package/core/components/organisms/table/__stories__/variants/withPagination.story.tsx +0 -64
- package/core/components/organisms/timePicker/__stories__/index.story.tsx +0 -51
- package/core/components/organisms/verticalNav/__stories__/FlatEdgedVerticalNav.story.tsx +0 -287
- package/core/components/organisms/verticalNav/__stories__/SecondaryVerticalNav.story.tsx +0 -336
- package/core/components/organisms/verticalNav/__stories__/index.story.tsx +0 -194
- package/core/components/organisms/verticalNav/__stories__/variants/Rounded.story.tsx +0 -198
- package/core/components/organisms/verticalNav/__stories__/variants/Sections.story.tsx +0 -210
- package/css/src/components/Legend.css +0 -11
- package/css/src/components/ProgressBar.css +0 -12
- package/css/src/components/avatarGroup.css +0 -28
- package/css/src/components/backdrop.css +0 -47
- package/css/src/components/breadcrumbs.css +0 -28
- package/css/src/components/calendar.css +0 -259
- package/css/src/components/card.css +0 -40
- package/css/src/components/cardSubdued.css +0 -20
- package/css/src/components/chat.css +0 -36
- package/css/src/components/checkbox.css +0 -124
- package/css/src/components/chip.css +0 -113
- package/css/src/components/chipGroup.css +0 -15
- package/css/src/components/chipInput.css +0 -54
- package/css/src/components/choiceList.css +0 -25
- package/css/src/components/collapsible.css +0 -38
- package/css/src/components/dateRangePicker.css +0 -33
- package/css/src/components/divider.css +0 -20
- package/css/src/components/dropdown.css +0 -146
- package/css/src/components/dropdownButton.css +0 -78
- package/css/src/components/dropzone.css +0 -106
- package/css/src/components/editableChipInput.css +0 -40
- package/css/src/components/editableDropdown.css +0 -11
- package/css/src/components/editableInput.css +0 -47
- package/css/src/components/emptyState.css +0 -34
- package/css/src/components/fileList.css +0 -78
- package/css/src/components/fileUploader.css +0 -39
- package/css/src/components/fullscreenModal.css +0 -66
- package/css/src/components/grid.css +0 -482
- package/css/src/components/horizontalNav.css +0 -42
- package/css/src/components/icon.css +0 -151
- package/css/src/components/inlineMessage.css +0 -30
- package/css/src/components/input.css +0 -130
- package/css/src/components/list.css +0 -14
- package/css/src/components/message.css +0 -73
- package/css/src/components/metaList.css +0 -42
- package/css/src/components/metricInput.css +0 -141
- package/css/src/components/modal.css +0 -89
- package/css/src/components/navigation.css +0 -120
- package/css/src/components/overlay.css +0 -49
- package/css/src/components/pageHeader.css +0 -54
- package/css/src/components/pagination.css +0 -57
- package/css/src/components/placeholder.css +0 -161
- package/css/src/components/progressRing.css +0 -26
- package/css/src/components/radio.css +0 -137
- package/css/src/components/sidesheet.css +0 -101
- package/css/src/components/slider.css +0 -103
- package/css/src/components/spinner.css +0 -61
- package/css/src/components/statusHints.css +0 -34
- package/css/src/components/stepper.css +0 -23
- package/css/src/components/switch.css +0 -117
- package/css/src/components/table.css +0 -22
- package/css/src/components/tabs.css +0 -114
- package/css/src/components/textarea.css +0 -60
- package/css/src/components/toast.css +0 -166
- package/css/src/components/verificationCodeInput.css +0 -14
- package/css/src/components/verticalNav.css +0 -94
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<link
|
|
2
2
|
href="https://fonts.googleapis.com/css?family=Nunito+Sans:300,300i,400,400i,600,600i,700,700i,800,800i,900,900i&display=swap"
|
|
3
3
|
rel="stylesheet">
|
|
4
|
+
<link href="https://unpkg.com/@innovaccer/design-system@2.12.0-0/css/dist/index.css" rel="stylesheet" />
|
|
4
5
|
|
|
5
6
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
7
|
+
|
|
6
8
|
<script>
|
|
7
9
|
cssVars({
|
|
8
10
|
onlyLegacy: true
|
|
@@ -10,7 +10,7 @@ exports[`Chip component
|
|
|
10
10
|
data-test="DesignSystem-GenericChip--GenericChipWrapper"
|
|
11
11
|
>
|
|
12
12
|
<i
|
|
13
|
-
class="material-icons material-icons-round Icon Icon--
|
|
13
|
+
class="material-icons material-icons-round Icon Icon--inverse Chip-icon Chip-icon--left"
|
|
14
14
|
data-test="DesignSystem-GenericChip--Icon"
|
|
15
15
|
role="button"
|
|
16
16
|
style="font-size: 16px; width: 16px;"
|
|
@@ -38,7 +38,7 @@ exports[`Chip component
|
|
|
38
38
|
data-test="DesignSystem-GenericChip--GenericChipWrapper"
|
|
39
39
|
>
|
|
40
40
|
<i
|
|
41
|
-
class="material-icons material-icons-round Icon Icon--
|
|
41
|
+
class="material-icons material-icons-round Icon Icon--primary Chip-icon Chip-icon--left"
|
|
42
42
|
data-test="DesignSystem-GenericChip--Icon"
|
|
43
43
|
role="button"
|
|
44
44
|
style="font-size: 16px; width: 16px;"
|
|
@@ -94,7 +94,7 @@ exports[`Chip component
|
|
|
94
94
|
data-test="DesignSystem-GenericChip--GenericChipWrapper"
|
|
95
95
|
>
|
|
96
96
|
<i
|
|
97
|
-
class="material-icons material-icons-round Icon Icon--
|
|
97
|
+
class="material-icons material-icons-round Icon Icon--primaryLighter Chip-icon Chip-icon--left"
|
|
98
98
|
data-test="DesignSystem-GenericChip--Icon"
|
|
99
99
|
role="button"
|
|
100
100
|
style="font-size: 16px; width: 16px;"
|
|
@@ -122,7 +122,7 @@ exports[`Chip component
|
|
|
122
122
|
data-test="DesignSystem-GenericChip--GenericChipWrapper"
|
|
123
123
|
>
|
|
124
124
|
<i
|
|
125
|
-
class="material-icons material-icons-round Icon Chip-icon Chip-icon--left"
|
|
125
|
+
class="material-icons material-icons-round Icon Icon--inverse Chip-icon Chip-icon--left"
|
|
126
126
|
data-test="DesignSystem-GenericChip--Icon"
|
|
127
127
|
role="button"
|
|
128
128
|
style="font-size: 16px; width: 16px;"
|
|
@@ -136,7 +136,7 @@ exports[`Chip component
|
|
|
136
136
|
ChipLabel
|
|
137
137
|
</span>
|
|
138
138
|
<i
|
|
139
|
-
class="material-icons material-icons-round Icon Chip-icon Chip-icon--right cursor-pointer"
|
|
139
|
+
class="material-icons material-icons-round Icon Icon--subtle Chip-icon Chip-icon--right cursor-pointer"
|
|
140
140
|
data-test="DesignSystem-GenericChip--clearButton"
|
|
141
141
|
role="button"
|
|
142
142
|
style="font-size: 16px; width: 16px;"
|
|
@@ -159,7 +159,7 @@ exports[`Chip component
|
|
|
159
159
|
data-test="DesignSystem-GenericChip--GenericChipWrapper"
|
|
160
160
|
>
|
|
161
161
|
<i
|
|
162
|
-
class="material-icons material-icons-round Icon Icon--
|
|
162
|
+
class="material-icons material-icons-round Icon Icon--primary Chip-icon Chip-icon--left"
|
|
163
163
|
data-test="DesignSystem-GenericChip--Icon"
|
|
164
164
|
role="button"
|
|
165
165
|
style="font-size: 16px; width: 16px;"
|
|
@@ -173,7 +173,7 @@ exports[`Chip component
|
|
|
173
173
|
ChipLabel
|
|
174
174
|
</span>
|
|
175
175
|
<i
|
|
176
|
-
class="material-icons material-icons-round Icon Icon--
|
|
176
|
+
class="material-icons material-icons-round Icon Icon--primary Chip-icon Chip-icon--right cursor-pointer"
|
|
177
177
|
data-test="DesignSystem-GenericChip--clearButton"
|
|
178
178
|
role="button"
|
|
179
179
|
style="font-size: 16px; width: 16px;"
|
|
@@ -233,7 +233,7 @@ exports[`Chip component
|
|
|
233
233
|
data-test="DesignSystem-GenericChip--GenericChipWrapper"
|
|
234
234
|
>
|
|
235
235
|
<i
|
|
236
|
-
class="material-icons material-icons-round Icon Icon--
|
|
236
|
+
class="material-icons material-icons-round Icon Icon--primaryLighter Chip-icon Chip-icon--left"
|
|
237
237
|
data-test="DesignSystem-GenericChip--Icon"
|
|
238
238
|
role="button"
|
|
239
239
|
style="font-size: 16px; width: 16px;"
|
|
@@ -247,7 +247,7 @@ exports[`Chip component
|
|
|
247
247
|
ChipLabel
|
|
248
248
|
</span>
|
|
249
249
|
<i
|
|
250
|
-
class="material-icons material-icons-round Icon Icon--
|
|
250
|
+
class="material-icons material-icons-round Icon Icon--primaryLighter Chip-icon Chip-icon--right"
|
|
251
251
|
data-test="DesignSystem-GenericChip--clearButton"
|
|
252
252
|
role="button"
|
|
253
253
|
style="font-size: 16px; width: 16px;"
|
|
@@ -38,12 +38,14 @@ export const GenericChip = (props: GenericChipProps) => {
|
|
|
38
38
|
if (onClick) onClick();
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
const iconAppearance =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
const iconAppearance = (align: string) =>
|
|
42
|
+
classNames({
|
|
43
|
+
['disabled']: disabled && !selected,
|
|
44
|
+
['primary']: !disabled && selected,
|
|
45
|
+
['primary_lighter']: disabled && selected,
|
|
46
|
+
['subtle']: !disabled && !selected && align === 'right',
|
|
47
|
+
['inverse']: !disabled && !selected && align === 'left',
|
|
48
|
+
}) as IconProps['appearance'];
|
|
47
49
|
|
|
48
50
|
const textAppearance = classNames({
|
|
49
51
|
['disabled']: disabled && !selected,
|
|
@@ -64,7 +66,7 @@ export const GenericChip = (props: GenericChipProps) => {
|
|
|
64
66
|
<Icon
|
|
65
67
|
data-test="DesignSystem-GenericChip--Icon"
|
|
66
68
|
name={icon}
|
|
67
|
-
appearance={iconAppearance}
|
|
69
|
+
appearance={iconAppearance('left')}
|
|
68
70
|
className={iconClass('left')}
|
|
69
71
|
/>
|
|
70
72
|
)}
|
|
@@ -75,7 +77,7 @@ export const GenericChip = (props: GenericChipProps) => {
|
|
|
75
77
|
<Icon
|
|
76
78
|
data-test="DesignSystem-GenericChip--clearButton"
|
|
77
79
|
name="clear"
|
|
78
|
-
appearance={iconAppearance}
|
|
80
|
+
appearance={iconAppearance('right')}
|
|
79
81
|
className={iconClass('right')}
|
|
80
82
|
onClick={onCloseHandler}
|
|
81
83
|
/>
|
package/core/components/atoms/avatar/__stories__/{defaultAvatar.story.tsx → defaultAvatar.story.jsx}
RENAMED
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Avatar from '../Avatar';
|
|
3
|
+
|
|
4
|
+
// CSF format story
|
|
5
|
+
export const all = () => {
|
|
6
|
+
const appearance = 'primary';
|
|
7
|
+
const size = 'tiny';
|
|
8
|
+
const withTooltip = true;
|
|
9
|
+
const children = '';
|
|
10
|
+
const firstName = 'John';
|
|
11
|
+
const lastName = 'Doe';
|
|
12
|
+
|
|
13
|
+
const options = {
|
|
14
|
+
appearance,
|
|
15
|
+
withTooltip,
|
|
16
|
+
size,
|
|
17
|
+
firstName,
|
|
18
|
+
lastName,
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
return <Avatar {...options}>{children}</Avatar>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
title: 'Components/Avatar/All',
|
|
26
|
+
component: Avatar,
|
|
27
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Avatar from '../../Avatar';
|
|
3
|
+
import Text from '@/components/atoms/text';
|
|
4
|
+
|
|
5
|
+
// CSF format story
|
|
6
|
+
export const appearance = () => {
|
|
7
|
+
const weight = 'strong';
|
|
8
|
+
|
|
9
|
+
const appearances = [
|
|
10
|
+
'primary',
|
|
11
|
+
'secondary',
|
|
12
|
+
'alert',
|
|
13
|
+
'warning',
|
|
14
|
+
'success',
|
|
15
|
+
'accent1',
|
|
16
|
+
'accent2',
|
|
17
|
+
'accent3',
|
|
18
|
+
'accent4',
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<div className="d-flex">
|
|
23
|
+
{appearances.map((appear, ind) => {
|
|
24
|
+
return (
|
|
25
|
+
<div key={ind} className="mr-9">
|
|
26
|
+
<Text weight={weight}>{appear.charAt(0).toUpperCase() + appear.slice(1)}</Text>
|
|
27
|
+
<br />
|
|
28
|
+
<br />
|
|
29
|
+
<Avatar firstName="John" lastName="Doe" appearance={appear} />
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
})}
|
|
33
|
+
</div>
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default {
|
|
38
|
+
title: 'Components/Avatar/Variants/Appearance',
|
|
39
|
+
component: Avatar,
|
|
40
|
+
parameters: {
|
|
41
|
+
docs: {
|
|
42
|
+
docPage: {
|
|
43
|
+
title: 'Avatar',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AvatarGroup } from '../AvatarGroup';
|
|
3
|
+
import { list } from './AvatarList';
|
|
4
|
+
|
|
5
|
+
export const all = () => {
|
|
6
|
+
const position = 'bottom-end';
|
|
7
|
+
const on = 'hover';
|
|
8
|
+
const dark = true;
|
|
9
|
+
const max = 2;
|
|
10
|
+
const options = {
|
|
11
|
+
max,
|
|
12
|
+
popoverOptions: {
|
|
13
|
+
on,
|
|
14
|
+
position,
|
|
15
|
+
dark,
|
|
16
|
+
},
|
|
17
|
+
list: list.slice(0, 4),
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
return <AvatarGroup {...options} />;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const customCode = `() => {
|
|
24
|
+
const list = [
|
|
25
|
+
{
|
|
26
|
+
firstName: 'John',
|
|
27
|
+
lastName: 'Doe',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
firstName: 'Steven',
|
|
31
|
+
lastName: 'Packton',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
firstName: 'Nancy',
|
|
35
|
+
lastName: 'Wheeler'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
firstName: 'Monica',
|
|
39
|
+
lastName: 'Geller'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
firstName: 'Arya',
|
|
43
|
+
lastName: 'Stark',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
firstName: 'Rachel',
|
|
47
|
+
lastName: 'Green',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
firstName: 'Walter',
|
|
51
|
+
lastName: 'Wheeler'
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
return <AvatarGroup list={list} popoverOptions={{ dark: true, on: 'hover', position: 'bottom'}}/>;
|
|
55
|
+
}`;
|
|
56
|
+
|
|
57
|
+
export default {
|
|
58
|
+
title: 'Components/AvatarGroup/All',
|
|
59
|
+
component: AvatarGroup,
|
|
60
|
+
parameters: {
|
|
61
|
+
docs: {
|
|
62
|
+
docPage: {
|
|
63
|
+
customCode,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AvatarGroup, Avatar, Text } from '@/index';
|
|
3
|
+
import { list } from '../AvatarList';
|
|
4
|
+
|
|
5
|
+
export const customPopper = () => {
|
|
6
|
+
const popperRenderer = (names) => {
|
|
7
|
+
const AvatarList = names.map((avatar, index) => {
|
|
8
|
+
const { firstName, lastName, appearance } = avatar;
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className="d-flex align-items-center mr-4 mb-4" key={index}>
|
|
12
|
+
<Avatar
|
|
13
|
+
firstName={firstName}
|
|
14
|
+
lastName={lastName}
|
|
15
|
+
appearance={appearance}
|
|
16
|
+
className="mr-4"
|
|
17
|
+
withTooltip={false}
|
|
18
|
+
/>
|
|
19
|
+
<Text>{`${firstName} ${lastName}`}</Text>
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<div className="overflow-auto py-4 px-6" style={{ maxHeight: '150px' }}>
|
|
26
|
+
{AvatarList}
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return <AvatarGroup list={list} popoverOptions={{ popperRenderer, dark: false, on: 'click' }} />;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const customCode = `() => {
|
|
35
|
+
const list = [
|
|
36
|
+
{
|
|
37
|
+
firstName: 'John',
|
|
38
|
+
lastName: 'Doe',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
firstName: 'Steven',
|
|
42
|
+
lastName: 'Packton',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
firstName: 'Nancy',
|
|
46
|
+
lastName: 'Wheeler'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
firstName: 'Monica',
|
|
50
|
+
lastName: 'Geller'
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
firstName: 'Arya',
|
|
54
|
+
lastName: 'Stark',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
firstName: 'Rachel',
|
|
58
|
+
lastName: 'Green',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
firstName: 'Walter',
|
|
62
|
+
lastName: 'Wheeler'
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
|
|
66
|
+
const popperRenderer = (list) => {
|
|
67
|
+
const AvatarList = list.map((avatar, index) => {
|
|
68
|
+
const { firstName, lastName, appearance } = avatar;
|
|
69
|
+
|
|
70
|
+
return (
|
|
71
|
+
<div className="d-flex align-items-center mr-4 mb-4" key={index}>
|
|
72
|
+
<Avatar
|
|
73
|
+
firstName={firstName}
|
|
74
|
+
lastName={lastName}
|
|
75
|
+
appearance={appearance}
|
|
76
|
+
className="mr-4"
|
|
77
|
+
withTooltip={false}
|
|
78
|
+
/>
|
|
79
|
+
<Text>{\`\${firstName} \${lastName}\`}</Text>
|
|
80
|
+
</div>
|
|
81
|
+
)
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<div className="overflow-auto py-4 px-6" style={{ maxHeight: '150px' }}>
|
|
86
|
+
{AvatarList}
|
|
87
|
+
</div>
|
|
88
|
+
)
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
return (
|
|
92
|
+
<AvatarGroup
|
|
93
|
+
list={list}
|
|
94
|
+
popoverOptions={{ dark: false, on: 'click', popperRenderer }}
|
|
95
|
+
/>
|
|
96
|
+
);
|
|
97
|
+
}`;
|
|
98
|
+
|
|
99
|
+
export default {
|
|
100
|
+
title: 'Components/AvatarGroup/Variants/Custom Popper',
|
|
101
|
+
component: AvatarGroup,
|
|
102
|
+
parameters: {
|
|
103
|
+
docs: {
|
|
104
|
+
docPage: {
|
|
105
|
+
customCode,
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Backdrop from '../Backdrop';
|
|
3
|
+
import { Paragraph } from '@/index';
|
|
4
|
+
|
|
5
|
+
export const all = () => {
|
|
6
|
+
const open = true;
|
|
7
|
+
|
|
8
|
+
const options = {
|
|
9
|
+
open,
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div>
|
|
14
|
+
<Paragraph>
|
|
15
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
|
|
16
|
+
magna aliqua.
|
|
17
|
+
<br />
|
|
18
|
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
19
|
+
<br />
|
|
20
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <br />
|
|
21
|
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
22
|
+
<br />
|
|
23
|
+
</Paragraph>
|
|
24
|
+
<Backdrop {...options} />
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const customCode = `() => (
|
|
30
|
+
<div>
|
|
31
|
+
<Paragraph>
|
|
32
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br />
|
|
33
|
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <br />
|
|
34
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <br />
|
|
35
|
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. <br />
|
|
36
|
+
</Paragraph>
|
|
37
|
+
<Backdrop open={false} />
|
|
38
|
+
</div>
|
|
39
|
+
)`;
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
title: 'Components/Backdrop/All',
|
|
43
|
+
component: Backdrop,
|
|
44
|
+
parameters: {
|
|
45
|
+
docs: {
|
|
46
|
+
docPage: {
|
|
47
|
+
customCode,
|
|
48
|
+
noHtml: true,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const solidAlert = () => (
|
|
5
|
+
<Badge appearance="alert" subtle={false}>
|
|
6
|
+
{'Failed'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge/Solid Alert',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const solidSecondary = () => (
|
|
5
|
+
<Badge appearance="secondary" subtle={false}>
|
|
6
|
+
{'Closed'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const solidWarning = () => (
|
|
5
|
+
<Badge appearance="warning" subtle={false}>
|
|
6
|
+
{'Disapproved'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge/Solid Warning',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const subtleAlert = () => (
|
|
5
|
+
<Badge appearance="alert" subtle={true}>
|
|
6
|
+
{'1.41'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge/Subtle Alert',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const subtleSecondary = () => (
|
|
5
|
+
<Badge appearance="secondary" subtle={true}>
|
|
6
|
+
{'Closed'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge/Subtle Secondary',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const subtleWarning = () => (
|
|
5
|
+
<Badge appearance="warning" subtle={true}>
|
|
6
|
+
{'Pending'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge/Subtle Warning',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
export const success = () => (
|
|
5
|
+
<Badge appearance="success" subtle={false}>
|
|
6
|
+
{'Badge'}
|
|
7
|
+
</Badge>
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Badge/Success',
|
|
12
|
+
component: Badge,
|
|
13
|
+
parameters: {
|
|
14
|
+
docs: {
|
|
15
|
+
docPage: {
|
|
16
|
+
title: 'Badge',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../Badge';
|
|
3
|
+
|
|
4
|
+
// CSF format story
|
|
5
|
+
export const all = () => {
|
|
6
|
+
const appearance = 'primary';
|
|
7
|
+
const subtle = false;
|
|
8
|
+
const children = 'Badge';
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<Badge appearance={appearance} subtle={subtle}>
|
|
12
|
+
{children}
|
|
13
|
+
</Badge>
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
title: 'Components/Badge/All',
|
|
19
|
+
component: Badge,
|
|
20
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Badge from '../../Badge';
|
|
3
|
+
import Text from '@/components/atoms/text';
|
|
4
|
+
|
|
5
|
+
// CSF format story
|
|
6
|
+
export const appearance = () => {
|
|
7
|
+
const subtle = false;
|
|
8
|
+
const weight = 'strong';
|
|
9
|
+
const children = 'Badge';
|
|
10
|
+
const appearances = [
|
|
11
|
+
'primary',
|
|
12
|
+
'secondary',
|
|
13
|
+
'alert',
|
|
14
|
+
'warning',
|
|
15
|
+
'success',
|
|
16
|
+
'accent1',
|
|
17
|
+
'accent2',
|
|
18
|
+
'accent3',
|
|
19
|
+
'accent4',
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<div className="d-flex">
|
|
24
|
+
{appearances.map((appear, ind) => {
|
|
25
|
+
return (
|
|
26
|
+
<div key={ind} className="mr-9">
|
|
27
|
+
<Badge appearance={appear} subtle={subtle}>
|
|
28
|
+
{children}
|
|
29
|
+
</Badge>
|
|
30
|
+
<br />
|
|
31
|
+
<Text weight={weight}>{appear.charAt(0).toUpperCase() + appear.slice(1)}</Text>
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
})}
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default {
|
|
40
|
+
title: 'Components/Badge/Variants/Appearance',
|
|
41
|
+
component: Badge,
|
|
42
|
+
parameters: {
|
|
43
|
+
docs: {
|
|
44
|
+
docPage: {
|
|
45
|
+
title: 'Badge',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|