@heliux-org/design-system-core 0.0.359 → 0.0.361
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Panel.js +1 -1
- package/dist/Panel.js.map +1 -1
- package/dist/components/Panel/Panel.js +4 -5
- package/dist/components/Panel/Panel.js.map +1 -1
- package/dist/esm/components/Panel/Panel.d.ts +2 -1
- package/dist/esm/components/Panel/Panel.d.ts.map +1 -1
- package/dist/esm/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/esm/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/esm/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/esm/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/esm/src/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/esm/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/esm/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/esm/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/esm/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/esm/src/components/Box/Box.module.scss.js +1 -1
- package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/esm/src/components/Button/Button.module.scss.js +1 -1
- package/dist/esm/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
- package/dist/esm/src/components/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/esm/src/components/Clickable/Clickable.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/esm/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/esm/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Comments/comments.scss.js +1 -1
- package/dist/esm/src/components/Counter/Counter.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
- package/dist/esm/src/components/DatePicker/external_datepicker.scss.js +1 -1
- package/dist/esm/src/components/Dialog/Dialog.module.scss.js +1 -1
- package/dist/esm/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
- package/dist/esm/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
- package/dist/esm/src/components/Diffs/DiffCell/DiffCell.module.scss.js +1 -1
- package/dist/esm/src/components/Divider/Divider.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/Dropdown.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/ClearIndicator/ClearIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/option/option.module.scss.js +1 -1
- package/dist/esm/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
- package/dist/esm/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/esm/src/components/EditableInput/EditableInput.module.scss.js +1 -1
- package/dist/esm/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/esm/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/esm/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/esm/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
- package/dist/esm/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/esm/src/components/Flex/Flex.module.scss.js +1 -1
- package/dist/esm/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
- package/dist/esm/src/components/HeaderActions/HeaderActions.module.scss.js +1 -1
- package/dist/esm/src/components/Heading/Heading.module.scss.js +1 -1
- package/dist/esm/src/components/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/esm/src/components/Icon/Icon.module.scss.js +1 -1
- package/dist/esm/src/components/IconButton/IconButton.module.scss.js +1 -1
- package/dist/esm/src/components/InlineEdit/InlineEdit.module.scss.js +1 -1
- package/dist/esm/src/components/Label/Label.module.scss.js +1 -1
- package/dist/esm/src/components/LegacyEditableHeading/LegacyEditableHeading.module.scss.js +1 -1
- package/dist/esm/src/components/LegacyHeading/LegacyHeading.module.scss.js +1 -1
- package/dist/esm/src/components/Link/Link.module.scss.js +1 -1
- package/dist/esm/src/components/List/List.module.scss.js +1 -1
- package/dist/esm/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/esm/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/esm/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/esm/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/esm/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/esm/src/components/Loader/Loader.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/esm/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/esm/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/Modal.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/ModalContent/ModalContent.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/esm/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/esm/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/Table.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Cell/Cell.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Cell/HeaderCell/HeaderCell.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/ExpandedContent/ExpandedContent.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/Row/Row.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/TableHead/TableHead.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/ToggleExpandedIcon/ToggleExpandedIcon.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/newComponents/pagination/Pagination.module.scss.js +1 -1
- package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.module.scss.js +1 -1
- package/dist/esm/src/components/NumericField/NumericField.module.scss.js +1 -1
- package/dist/esm/src/components/PageHeader/PageHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Panel/Panel.js +1 -1
- package/dist/esm/src/components/Panel/Panel.js.map +1 -1
- package/dist/esm/src/components/Panel/Panel.module.scss.js +1 -1
- package/dist/esm/src/components/PanelLayout/PanelLayout.module.scss.js +1 -1
- package/dist/esm/src/components/ProcessingToast/ProcessingToast.module.scss.js +1 -1
- package/dist/esm/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
- package/dist/esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
- package/dist/esm/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
- package/dist/esm/src/components/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/esm/src/components/ResponsiveList/ResponsiveList.module.scss.js +1 -1
- package/dist/esm/src/components/ScrollableContainer/scrollableContainer.scss.js +1 -1
- package/dist/esm/src/components/Search/Search.module.scss.js +1 -1
- package/dist/esm/src/components/SectionHeader/SectionHeader.module.scss.js +1 -1
- package/dist/esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js +1 -1
- package/dist/esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js +1 -1
- package/dist/esm/src/components/Sidebar/Sidebar.module.scss.js +1 -1
- package/dist/esm/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/esm/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/esm/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/esm/src/components/Table/TableHeader.module.scss.js +1 -1
- package/dist/esm/src/components/Table/styling/column-filter.scss.js +1 -1
- package/dist/esm/src/components/Table/styling/paginator.scss.js +1 -1
- package/dist/esm/src/components/Table/styling/table_base.scss.js +1 -1
- package/dist/esm/src/components/Table/table.scss.js +1 -1
- package/dist/esm/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/esm/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/esm/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/esm/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/esm/src/components/Tags/Tags.module.scss.js +1 -1
- package/dist/esm/src/components/Text/Text.module.scss.js +1 -1
- package/dist/esm/src/components/TextAreaField/TextAreaField.module.scss.js +1 -1
- package/dist/esm/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/esm/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/esm/src/components/Timeline/Timeline/Timeline.module.scss.js +1 -1
- package/dist/esm/src/components/Timeline/TimelineRow/TimelineRow.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/esm/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/esm/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/esm/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/esm/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/esm/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/esm/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/esm/src/components/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/esm/src/components/TopNavigationBar/TopNavigationBar.module.scss.js +1 -1
- package/dist/esm/src/components/TopNavigationBar/components/Notification/Notification.module.scss.js +1 -1
- package/dist/esm/src/components/TopNavigationBar/components/NotificationItem/NotificationItem.module.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeFile/TreeFile.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeFolder/TreeFolder.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/TreeStatusIcon/TreeStatusIcon.scss.js +1 -1
- package/dist/esm/src/components/Tree/components/expand/expand.scss.js +1 -1
- package/dist/esm/src/components/Typography/Typography.module.scss.js +1 -1
- package/dist/esm/src/components/Uploader/Uploader.scss.js +1 -1
- package/dist/esm/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/esm/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/esm/src/components/Workflow/workflow.scss.js +1 -1
- package/dist/esm/src/components/WorkflowCard/WorkflowCard.module.scss.js +1 -1
- package/dist/esm/src/components/WorkflowList/WorkflowList.module.scss.js +1 -1
- package/dist/esm/src/components/WorkflowStep/WorkflowStep.module.scss.js +1 -1
- package/dist/esm/style/dist/index.min.css.js +1 -1
- package/dist/main.css.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/mocked_classnames_esm/components/Panel/Panel.d.ts +2 -1
- package/dist/mocked_classnames_esm/components/Panel/Panel.d.ts.map +1 -1
- package/dist/mocked_classnames_esm/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Avatar/Avatar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Avatar/AvatarContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Badge/Badge.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Box/Box.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Button/Button.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Checkbox/Checkbox.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Clickable/Clickable.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/Combobox.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Comments/comments.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Counter/Counter.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/DatePicker.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DatePicker/external_datepicker.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dialog/Dialog.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Diffs/DiffCell/DiffCell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Divider/Divider.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/Dropdown.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/ClearIndicator/ClearIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/option/option.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableInput/EditableInput.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableText/EditableText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/EmptyState/EmptyState.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Flex/Flex.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/HeaderActions/HeaderActions.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Heading/Heading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/HiddenText/HiddenText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Icon/Icon.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/IconButton/IconButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/InlineEdit/InlineEdit.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Label/Label.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/LegacyEditableHeading/LegacyEditableHeading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/LegacyHeading/LegacyHeading.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Link/Link.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/List/List.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListItem/ListItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ListTitle/ListTitle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Loader/Loader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/Menu/Menu.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/MenuButton/MenuButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/Modal.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/ModalContent/ModalContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/Table.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Cell/Cell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Cell/HeaderCell/HeaderCell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/ExpandedContent/ExpandedContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/Row/Row.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/TableHead/TableHead.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/TableHeader/TableHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/ToggleExpandedIcon/ToggleExpandedIcon.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/newComponents/pagination/Pagination.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/NumericField/NumericField.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/PageHeader/PageHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Panel/Panel.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Panel/Panel.js.map +1 -1
- package/dist/mocked_classnames_esm/src/components/Panel/Panel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/PanelLayout/PanelLayout.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProcessingToast/ProcessingToast.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/RadioButton/RadioButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ResponsiveList/ResponsiveList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/ScrollableContainer/scrollableContainer.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Search/Search.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SectionHeader/SectionHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Sidebar/Sidebar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Skeleton/Skeleton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/Slider.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Slider/SliderInfix.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/SplitButton/SplitButton.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/Steps.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsCommand.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsDot.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Switch/Switch.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/TableHeader.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/styling/column-filter.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/styling/paginator.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/styling/table_base.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Table/table.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tags/Tags.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Text/Text.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TextAreaField/TextAreaField.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TextField/TextField.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Timeline/Timeline/Timeline.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Timeline/TimelineRow/TimelineRow.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/Tipseen.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toast/Toast.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toggle/MockToggle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toggle/Toggle.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Toggle/ToggleText.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tooltip/Tooltip.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TopNavigationBar/TopNavigationBar.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TopNavigationBar/components/Notification/Notification.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/TopNavigationBar/components/NotificationItem/NotificationItem.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFile/TreeFile.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFolder/TreeFolder.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/TreeStatusIcon/TreeStatusIcon.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Tree/components/expand/expand.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Typography/Typography.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Uploader/Uploader.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/Workflow/workflow.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/WorkflowCard/WorkflowCard.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/WorkflowList/WorkflowList.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/src/components/WorkflowStep/WorkflowStep.module.scss.js +1 -1
- package/dist/mocked_classnames_esm/style/dist/index.min.css.js +1 -1
- package/dist/types/components/Panel/Panel.d.ts +2 -1
- package/dist/types/components/Panel/Panel.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/PageHeader/__stories__/PageHeader.mdx +15 -13
- package/src/components/PageHeader/__stories__/PageHeader.stories.module.scss +11 -0
- package/src/components/PageHeader/__stories__/{PageHeader.stories.js → PageHeader.stories.tsx} +36 -88
- package/src/components/Panel/Panel.tsx +44 -29
- package/src/components/Panel/__stories__/Panel.stories.js +82 -0
- package/src/components/PanelLayout/PanelLayout.module.scss +20 -11
package/src/components/PageHeader/__stories__/{PageHeader.stories.js → PageHeader.stories.tsx}
RENAMED
@@ -1,117 +1,71 @@
|
|
1
|
-
import
|
2
|
-
import {
|
3
|
-
|
4
|
-
import Heading from "../../Heading/Heading";
|
5
|
-
|
1
|
+
import React from "react";
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
6
3
|
import PageHeader from "../PageHeader";
|
7
|
-
|
8
|
-
import styles from "./PageHeader.stories.module.scss";
|
9
|
-
import componentStyles from "../PageHeader.module.scss";
|
4
|
+
import { createStoryMetaSettingsDecorator } from "../../../storybook";
|
10
5
|
import Button from "../../Button/Button";
|
11
6
|
import Tab from "../../Tabs/Tab/Tab";
|
12
7
|
import BreadcrumbsBar from "../../BreadcrumbsBar/BreadcrumbsBar";
|
13
8
|
import BreadcrumbItem from "../../BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem";
|
14
|
-
import Link from "../../Link/Link";
|
15
9
|
|
16
10
|
const metaSettings = createStoryMetaSettingsDecorator({
|
17
|
-
component:
|
18
|
-
|
19
|
-
|
11
|
+
component: PageHeader,
|
12
|
+
enumPropNamesArray: ["type"],
|
13
|
+
iconPropNamesArray: [],
|
20
14
|
});
|
21
15
|
|
22
|
-
const
|
23
|
-
|
24
|
-
export default {
|
16
|
+
const meta: Meta<typeof PageHeader> = {
|
25
17
|
title: "Navigation/Page Header",
|
26
18
|
component: PageHeader,
|
27
19
|
argTypes: metaSettings.argTypes,
|
28
|
-
decorators: metaSettings.decorators,
|
20
|
+
decorators: metaSettings.decorators as any,
|
29
21
|
};
|
30
22
|
|
23
|
+
export default meta;
|
24
|
+
|
25
|
+
type Story = StoryObj<typeof PageHeader>;
|
26
|
+
|
27
|
+
// Helper constants
|
31
28
|
const breadcrumb = (
|
32
|
-
<BreadcrumbsBar
|
33
|
-
type={BreadcrumbsBar.types.INDICATION}
|
34
|
-
className={componentStyles.PageHeaderBreadcrumbs}
|
35
|
-
>
|
29
|
+
<BreadcrumbsBar type={BreadcrumbsBar.types.INDICATION}>
|
36
30
|
<BreadcrumbItem text="Workspace" />
|
37
31
|
<BreadcrumbItem text="Folder" />
|
38
|
-
<BreadcrumbItem text="
|
32
|
+
<BreadcrumbItem text="Page" />
|
39
33
|
</BreadcrumbsBar>
|
40
34
|
);
|
41
35
|
|
42
36
|
const tabs = [
|
43
|
-
<Tab key="1" value={1}
|
44
|
-
|
45
|
-
</Tab>,
|
46
|
-
<Tab key="
|
47
|
-
|
48
|
-
</Tab>,
|
49
|
-
<Tab key="3" value={3} link="https://www.google.com/" active>
|
50
|
-
Tab 3
|
51
|
-
</Tab>,
|
52
|
-
<Tab key="4" value={4} active>
|
53
|
-
Tab 4
|
54
|
-
</Tab>,
|
55
|
-
<Tab key="5" value={5} link="https://www.google.com/" disabled>
|
56
|
-
Tab 5
|
57
|
-
</Tab>,
|
37
|
+
<Tab key="1" value={1} active>Tab 1</Tab>,
|
38
|
+
<Tab key="2" value={2}>Tab 2</Tab>,
|
39
|
+
<Tab key="3" value={3}>Tab 3</Tab>,
|
40
|
+
<Tab key="4" value={4}>Tab 4</Tab>,
|
41
|
+
<Tab key="5" value={5} disabled>Tab 5</Tab>,
|
58
42
|
];
|
59
43
|
|
60
44
|
const linkTabs = [
|
61
|
-
<Button
|
62
|
-
key="v1"
|
63
|
-
onClick={() => console.log("Activity tab 1 clicked")}
|
64
|
-
kind="secondary"
|
65
|
-
size="small"
|
66
|
-
>
|
45
|
+
<Button key="v1" onClick={() => console.log("Activity tab 1 clicked")} kind={Button.kinds.SECONDARY} size="small">
|
67
46
|
v1
|
68
47
|
</Button>,
|
69
|
-
<Button
|
70
|
-
|
71
|
-
onClick={() => console.log("Messages tab 2 clicked")}
|
72
|
-
kind="secondary"
|
73
|
-
size="small"
|
74
|
-
>
|
75
|
-
Messages <span className={styles.circle}>2</span>
|
48
|
+
<Button key="Messages" onClick={() => console.log("Messages tab 2 clicked")} kind={Button.kinds.SECONDARY} size="small">
|
49
|
+
<span>Messages </span>
|
76
50
|
</Button>,
|
77
|
-
<Button
|
78
|
-
key="Activity"
|
79
|
-
onClick={() => console.log("Activity tab 1 clicked")}
|
80
|
-
kind="secondary"
|
81
|
-
size="small"
|
82
|
-
>
|
51
|
+
<Button key="Activity" onClick={() => console.log("Activity tab clicked")}kind={Button.kinds.SECONDARY} size="small">
|
83
52
|
Activity
|
84
53
|
</Button>,
|
85
54
|
];
|
86
55
|
|
87
56
|
const buttons = [
|
88
|
-
<Button
|
89
|
-
key="1"
|
90
|
-
onClick={() => console.log("Clicked button 1")}
|
91
|
-
kind="primary"
|
92
|
-
size={Button.sizes.SMALL}
|
93
|
-
>
|
57
|
+
<Button key="1" onClick={() => console.log("Clicked button 1")} kind={Button.kinds.SECONDARY} size={Button.sizes.SMALL}>
|
94
58
|
Button 1
|
95
59
|
</Button>,
|
96
|
-
<Button
|
97
|
-
key="2"
|
98
|
-
onClick={() => console.log("Clicked button 2")}
|
99
|
-
kind="secondary"
|
100
|
-
size={Button.sizes.SMALL}
|
101
|
-
>
|
60
|
+
<Button key="2" onClick={() => console.log("Clicked button 2")} kind={Button.kinds.SECONDARY} size={Button.sizes.SMALL}>
|
102
61
|
Button 2
|
103
62
|
</Button>,
|
104
|
-
<Button
|
105
|
-
key="3"
|
106
|
-
onClick={() => console.log("Clicked button 3")}
|
107
|
-
kind="secondary"
|
108
|
-
size={Button.sizes.SMALL}
|
109
|
-
>
|
63
|
+
<Button key="3" onClick={() => console.log("Clicked button 3")} kind={Button.kinds.SECONDARY} size={Button.sizes.SMALL}>
|
110
64
|
Button 3
|
111
65
|
</Button>,
|
112
66
|
];
|
113
67
|
|
114
|
-
export const
|
68
|
+
export const Overview: Story = {
|
115
69
|
render: () => (
|
116
70
|
<PageHeader
|
117
71
|
title="Release Manager"
|
@@ -122,11 +76,10 @@ export const PageHeaderPrimary = {
|
|
122
76
|
buttons={buttons}
|
123
77
|
/>
|
124
78
|
),
|
125
|
-
|
126
|
-
name: "Page Header",
|
79
|
+
name: "Overview",
|
127
80
|
};
|
128
81
|
|
129
|
-
export const WithSecondaryTitle = {
|
82
|
+
export const WithSecondaryTitle: Story = {
|
130
83
|
render: () => (
|
131
84
|
<PageHeader
|
132
85
|
title="Eco-267"
|
@@ -138,22 +91,20 @@ export const WithSecondaryTitle = {
|
|
138
91
|
buttons={buttons}
|
139
92
|
/>
|
140
93
|
),
|
141
|
-
|
142
94
|
name: "With Secondary Title",
|
143
95
|
};
|
144
96
|
|
145
|
-
export const WithoutLinkTabs = {
|
97
|
+
export const WithoutLinkTabs: Story = {
|
146
98
|
render: () => (
|
147
99
|
<PageHeader
|
148
100
|
title="Release Manager"
|
149
101
|
description="Short description can go here..."
|
150
102
|
/>
|
151
103
|
),
|
152
|
-
|
153
104
|
name: "Without Link Tabs",
|
154
105
|
};
|
155
106
|
|
156
|
-
export const EditableTitle = {
|
107
|
+
export const EditableTitle: Story = {
|
157
108
|
render: () => (
|
158
109
|
<PageHeader
|
159
110
|
title="Release Manager"
|
@@ -164,11 +115,10 @@ export const EditableTitle = {
|
|
164
115
|
linkTabs={linkTabs}
|
165
116
|
/>
|
166
117
|
),
|
167
|
-
|
168
118
|
name: "With Editable Title",
|
169
119
|
};
|
170
120
|
|
171
|
-
export const Bare = {
|
121
|
+
export const Bare: Story = {
|
172
122
|
render: () => (
|
173
123
|
<PageHeader
|
174
124
|
title="Release Manager"
|
@@ -176,11 +126,10 @@ export const Bare = {
|
|
176
126
|
linkTabs={linkTabs}
|
177
127
|
/>
|
178
128
|
),
|
179
|
-
|
180
129
|
name: "Bare",
|
181
130
|
};
|
182
131
|
|
183
|
-
export const WithTitleContent = {
|
132
|
+
export const WithTitleContent: Story = {
|
184
133
|
render: () => (
|
185
134
|
<PageHeader
|
186
135
|
title="Eco-267"
|
@@ -190,9 +139,8 @@ export const WithTitleContent = {
|
|
190
139
|
tabs={tabs}
|
191
140
|
linkTabs={linkTabs}
|
192
141
|
buttons={buttons}
|
193
|
-
titleContent={<Button size={Button.sizes.XS} kind={Button.kinds.SECONDARY}>Custom Action</Button>}
|
142
|
+
titleContent={<Button size={Button.sizes.XS} kind={Button.kinds.SECONDARY}>Custom Action</Button>}
|
194
143
|
/>
|
195
144
|
),
|
196
|
-
|
197
145
|
name: "With Title Content",
|
198
|
-
};
|
146
|
+
};
|
@@ -14,42 +14,57 @@ type HeaderProps = {
|
|
14
14
|
divider?: boolean;
|
15
15
|
rightContent?: React.ReactNode;
|
16
16
|
leftContent?: React.ReactNode;
|
17
|
+
size?: 'small' | 'large';
|
17
18
|
};
|
18
|
-
export function PanelHeader({ side = "onRight", title, onClick, divider = true, rightContent, leftContent }: HeaderProps) {
|
19
|
+
export function PanelHeader({ side = "onRight", title, onClick, divider = true, rightContent, leftContent, size = 'small' }: HeaderProps) {
|
19
20
|
const reverse = side === "onLeft";
|
20
21
|
return (
|
21
|
-
<div className={styles.panelHeaderStyled}>
|
22
|
+
<div className={styles.panelHeaderStyled} style={{ width: '100%' }}>
|
22
23
|
<Flex
|
23
24
|
className={styles.panelHeaderInner}
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
style={{
|
28
|
-
justifyContent: reverse ? "flex-end" : "space-between",
|
29
|
-
flexDirection: reverse ? "row-reverse" : "row"
|
30
|
-
}}
|
25
|
+
direction={Flex.directions.COLUMN}
|
26
|
+
gap={size === 'large' ? Flex.gaps.MEDIUM : Flex.gaps.NONE}
|
27
|
+
style={{ width: '100%' }}
|
31
28
|
>
|
32
|
-
<Flex
|
33
|
-
{
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
29
|
+
<Flex
|
30
|
+
align={Flex.align.CENTER}
|
31
|
+
justify={Flex.justify.SPACE_BETWEEN}
|
32
|
+
style={{
|
33
|
+
width: '100%'
|
34
|
+
}}
|
35
|
+
>
|
36
|
+
<Flex gap={Flex.gaps.SMALL} style={{ flex: '1 1 auto' }}>
|
37
|
+
{leftContent}
|
38
|
+
{size === 'small' && title && (
|
39
|
+
<Text type={Text.types.TEXT2} element="span" weight={Text.weights.NORMAL}>
|
40
|
+
<div className={styles.headerTextStyled} style={{ marginLeft: reverse ? "1rem" : "0" }}>
|
41
|
+
{title}
|
42
|
+
</div>
|
43
|
+
</Text>
|
44
|
+
)}
|
45
|
+
</Flex>
|
46
|
+
<Flex gap={Flex.gaps.SMALL}>
|
47
|
+
{rightContent}
|
48
|
+
<IconButton
|
49
|
+
onClick={onClick}
|
50
|
+
ariaLabel="Close"
|
51
|
+
icon={Close}
|
52
|
+
color={IconButton.colors.SECONDARY}
|
53
|
+
kind={IconButton.kinds.SECONDARY}
|
54
|
+
size={IconButton.sizes.XS}
|
55
|
+
rounded
|
56
|
+
/>
|
57
|
+
</Flex>
|
51
58
|
</Flex>
|
52
|
-
|
59
|
+
{size === 'large' && title && (
|
60
|
+
<Flex style={{ width: '100%' }}>
|
61
|
+
<Text type={Text.types.TEXT2} element="span" weight={Text.weights.NORMAL} style={{ width: '100%' }}>
|
62
|
+
<div className={styles.headerTextStyled}>
|
63
|
+
{title}
|
64
|
+
</div>
|
65
|
+
</Text>
|
66
|
+
</Flex>
|
67
|
+
)}
|
53
68
|
</Flex>
|
54
69
|
{divider && <div style={{borderBottom: "1px solid var(--divider-primary)"}}/>}
|
55
70
|
</div>
|
@@ -380,3 +380,85 @@ export const HeaderWithContent = {
|
|
380
380
|
}
|
381
381
|
}
|
382
382
|
};
|
383
|
+
|
384
|
+
export const StandaloneHeader = {
|
385
|
+
render: () => {
|
386
|
+
const leftContent = (
|
387
|
+
<IconButton
|
388
|
+
icon={Filter}
|
389
|
+
size={IconButton.sizes.SMALL}
|
390
|
+
ariaLabel="Filter"
|
391
|
+
onClick={() => console.log("Left content clicked")}
|
392
|
+
/>
|
393
|
+
);
|
394
|
+
|
395
|
+
const rightContent = (
|
396
|
+
<Flex gap={Flex.gaps.SMALL}>
|
397
|
+
<IconButton
|
398
|
+
icon={Download}
|
399
|
+
size={IconButton.sizes.SMALL}
|
400
|
+
ariaLabel="Download"
|
401
|
+
onClick={() => console.log("Download clicked")}
|
402
|
+
/>
|
403
|
+
<IconButton
|
404
|
+
icon={Search}
|
405
|
+
size={IconButton.sizes.SMALL}
|
406
|
+
ariaLabel="Search"
|
407
|
+
onClick={() => console.log("Search clicked")}
|
408
|
+
/>
|
409
|
+
</Flex>
|
410
|
+
);
|
411
|
+
|
412
|
+
return (
|
413
|
+
<Flex direction={Flex.directions.COLUMN} gap={100} align={Flex.align.START}>
|
414
|
+
<div style={{ width: '600px' }}>
|
415
|
+
<PanelHeader
|
416
|
+
title="Small Header (Default)"
|
417
|
+
size="small"
|
418
|
+
onClick={() => console.log("Close clicked")}
|
419
|
+
leftContent={leftContent}
|
420
|
+
rightContent={rightContent}
|
421
|
+
/>
|
422
|
+
</div>
|
423
|
+
<div style={{ width: '600px' }}>
|
424
|
+
<PanelHeader
|
425
|
+
title="Large Header"
|
426
|
+
size="large"
|
427
|
+
onClick={() => console.log("Close clicked")}
|
428
|
+
leftContent={leftContent}
|
429
|
+
rightContent={rightContent}
|
430
|
+
/>
|
431
|
+
</div>
|
432
|
+
</Flex>
|
433
|
+
);
|
434
|
+
},
|
435
|
+
name: "Standalone Header",
|
436
|
+
parameters: {
|
437
|
+
docs: {
|
438
|
+
description: {
|
439
|
+
story: 'PanelHeader component can be used independently of Panel. It supports two sizes: "small" (default) and "large".'
|
440
|
+
}
|
441
|
+
}
|
442
|
+
}
|
443
|
+
};
|
444
|
+
|
445
|
+
export const StandaloneFooter = {
|
446
|
+
render: () => {
|
447
|
+
return (
|
448
|
+
<div style={{ border: '1px solid var(--ui-border-color)', maxWidth: '600px' }}>
|
449
|
+
<PanelFooter>
|
450
|
+
<Button kind={Button.kinds.SECONDARY} stretched>Cancel</Button>
|
451
|
+
<Button stretched>Save</Button>
|
452
|
+
</PanelFooter>
|
453
|
+
</div>
|
454
|
+
);
|
455
|
+
},
|
456
|
+
name: "Standalone Footer",
|
457
|
+
parameters: {
|
458
|
+
docs: {
|
459
|
+
description: {
|
460
|
+
story: 'PanelFooter component can be used independently of Panel'
|
461
|
+
}
|
462
|
+
}
|
463
|
+
}
|
464
|
+
};
|
@@ -8,8 +8,8 @@
|
|
8
8
|
border-radius: 6px;
|
9
9
|
gap: 4px;
|
10
10
|
overflow: hidden;
|
11
|
-
|
12
|
-
|
11
|
+
|
12
|
+
|
13
13
|
.emptyState {
|
14
14
|
display: flex;
|
15
15
|
align-items: center;
|
@@ -43,11 +43,13 @@
|
|
43
43
|
background-color: transparent;
|
44
44
|
width: 2px;
|
45
45
|
transition: all 0.3s ease-in-out;
|
46
|
+
|
46
47
|
&:hover {
|
47
|
-
|
48
|
-
|
48
|
+
background-color: var(--divider-secondary);
|
49
|
+
box-shadow: 2px 0px 0px 0px var(--divider-secondary);
|
49
50
|
}
|
50
51
|
}
|
52
|
+
|
51
53
|
.collapse-handle {
|
52
54
|
z-index: 100;
|
53
55
|
max-width: 2px;
|
@@ -55,18 +57,22 @@
|
|
55
57
|
display: flex;
|
56
58
|
align-items: center;
|
57
59
|
justify-content: center;
|
60
|
+
|
58
61
|
svg rect {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
+
fill: var(--divider-secondary);
|
63
|
+
max-width: 2px;
|
64
|
+
width: 2px;
|
62
65
|
}
|
66
|
+
|
63
67
|
&:hover {
|
64
68
|
background-color: var(--divider-secondary);
|
65
|
-
|
66
|
-
|
67
|
-
|
69
|
+
|
70
|
+
svg rect {
|
71
|
+
fill: var(--text-color-on-primary);
|
72
|
+
}
|
68
73
|
}
|
69
74
|
}
|
75
|
+
|
70
76
|
.styled-handle {
|
71
77
|
height: 100%;
|
72
78
|
width: 6px;
|
@@ -75,16 +81,19 @@
|
|
75
81
|
align-items: center;
|
76
82
|
justify-content: center;
|
77
83
|
transition: all 0.3s ease-in-out;
|
84
|
+
|
78
85
|
&:hover {
|
79
86
|
background-color: var(--divider-selected);
|
80
87
|
}
|
81
88
|
}
|
89
|
+
|
82
90
|
.handle {
|
83
91
|
height: 100%;
|
84
92
|
background-color: var(--divider-primary);
|
85
93
|
cursor: ew-resize;
|
86
94
|
transition: background-color 0.3s ease-in-out;
|
87
|
-
width:134px;
|
95
|
+
width: 134px;
|
96
|
+
|
88
97
|
&:hover {
|
89
98
|
background-color: var(--divider-selected);
|
90
99
|
}
|