@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.
Files changed (382) hide show
  1. package/dist/Panel.js +1 -1
  2. package/dist/Panel.js.map +1 -1
  3. package/dist/components/Panel/Panel.js +4 -5
  4. package/dist/components/Panel/Panel.js.map +1 -1
  5. package/dist/esm/components/Panel/Panel.d.ts +2 -1
  6. package/dist/esm/components/Panel/Panel.d.ts.map +1 -1
  7. package/dist/esm/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  8. package/dist/esm/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  9. package/dist/esm/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  10. package/dist/esm/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  11. package/dist/esm/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  12. package/dist/esm/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  13. package/dist/esm/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  14. package/dist/esm/src/components/Avatar/Avatar.module.scss.js +1 -1
  15. package/dist/esm/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  16. package/dist/esm/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  17. package/dist/esm/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  18. package/dist/esm/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  19. package/dist/esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  20. package/dist/esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  21. package/dist/esm/src/components/Badge/Badge.module.scss.js +1 -1
  22. package/dist/esm/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  23. package/dist/esm/src/components/Box/Box.module.scss.js +1 -1
  24. package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  25. package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  26. package/dist/esm/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  27. package/dist/esm/src/components/Button/Button.module.scss.js +1 -1
  28. package/dist/esm/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  29. package/dist/esm/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  30. package/dist/esm/src/components/Clickable/Clickable.module.scss.js +1 -1
  31. package/dist/esm/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  32. package/dist/esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  33. package/dist/esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  34. package/dist/esm/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  35. package/dist/esm/src/components/Combobox/Combobox.module.scss.js +1 -1
  36. package/dist/esm/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  37. package/dist/esm/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  38. package/dist/esm/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  39. package/dist/esm/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  40. package/dist/esm/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  41. package/dist/esm/src/components/Comments/comments.scss.js +1 -1
  42. package/dist/esm/src/components/Counter/Counter.module.scss.js +1 -1
  43. package/dist/esm/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
  44. package/dist/esm/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  45. package/dist/esm/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
  46. package/dist/esm/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
  47. package/dist/esm/src/components/DatePicker/external_datepicker.scss.js +1 -1
  48. package/dist/esm/src/components/Dialog/Dialog.module.scss.js +1 -1
  49. package/dist/esm/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
  50. package/dist/esm/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  51. package/dist/esm/src/components/Diffs/DiffCell/DiffCell.module.scss.js +1 -1
  52. package/dist/esm/src/components/Divider/Divider.module.scss.js +1 -1
  53. package/dist/esm/src/components/Dropdown/Dropdown.module.scss.js +1 -1
  54. package/dist/esm/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
  55. package/dist/esm/src/components/Dropdown/components/ClearIndicator/ClearIndicator.module.scss.js +1 -1
  56. package/dist/esm/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
  57. package/dist/esm/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
  58. package/dist/esm/src/components/Dropdown/components/option/option.module.scss.js +1 -1
  59. package/dist/esm/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
  60. package/dist/esm/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  61. package/dist/esm/src/components/EditableInput/EditableInput.module.scss.js +1 -1
  62. package/dist/esm/src/components/EditableText/EditableText.module.scss.js +1 -1
  63. package/dist/esm/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  64. package/dist/esm/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  65. package/dist/esm/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  66. package/dist/esm/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  67. package/dist/esm/src/components/Flex/Flex.module.scss.js +1 -1
  68. package/dist/esm/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  69. package/dist/esm/src/components/HeaderActions/HeaderActions.module.scss.js +1 -1
  70. package/dist/esm/src/components/Heading/Heading.module.scss.js +1 -1
  71. package/dist/esm/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  72. package/dist/esm/src/components/Icon/Icon.module.scss.js +1 -1
  73. package/dist/esm/src/components/IconButton/IconButton.module.scss.js +1 -1
  74. package/dist/esm/src/components/InlineEdit/InlineEdit.module.scss.js +1 -1
  75. package/dist/esm/src/components/Label/Label.module.scss.js +1 -1
  76. package/dist/esm/src/components/LegacyEditableHeading/LegacyEditableHeading.module.scss.js +1 -1
  77. package/dist/esm/src/components/LegacyHeading/LegacyHeading.module.scss.js +1 -1
  78. package/dist/esm/src/components/Link/Link.module.scss.js +1 -1
  79. package/dist/esm/src/components/List/List.module.scss.js +1 -1
  80. package/dist/esm/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  81. package/dist/esm/src/components/ListItem/ListItem.module.scss.js +1 -1
  82. package/dist/esm/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  83. package/dist/esm/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  84. package/dist/esm/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  85. package/dist/esm/src/components/Loader/Loader.module.scss.js +1 -1
  86. package/dist/esm/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  87. package/dist/esm/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  88. package/dist/esm/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  89. package/dist/esm/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  90. package/dist/esm/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  91. package/dist/esm/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  92. package/dist/esm/src/components/Modal/Modal.module.scss.js +1 -1
  93. package/dist/esm/src/components/Modal/ModalContent/ModalContent.module.scss.js +1 -1
  94. package/dist/esm/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +1 -1
  95. package/dist/esm/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  96. package/dist/esm/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  97. package/dist/esm/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  98. package/dist/esm/src/components/NewTable/Table.module.scss.js +1 -1
  99. package/dist/esm/src/components/NewTable/components/Cell/Cell.module.scss.js +1 -1
  100. package/dist/esm/src/components/NewTable/components/Cell/HeaderCell/HeaderCell.module.scss.js +1 -1
  101. package/dist/esm/src/components/NewTable/components/ExpandedContent/ExpandedContent.module.scss.js +1 -1
  102. package/dist/esm/src/components/NewTable/components/Row/Row.module.scss.js +1 -1
  103. package/dist/esm/src/components/NewTable/components/TableHead/TableHead.module.scss.js +1 -1
  104. package/dist/esm/src/components/NewTable/components/TableHeader/TableHeader.module.scss.js +1 -1
  105. package/dist/esm/src/components/NewTable/components/ToggleExpandedIcon/ToggleExpandedIcon.module.scss.js +1 -1
  106. package/dist/esm/src/components/NewTable/components/newComponents/pagination/Pagination.module.scss.js +1 -1
  107. package/dist/esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.module.scss.js +1 -1
  108. package/dist/esm/src/components/NumericField/NumericField.module.scss.js +1 -1
  109. package/dist/esm/src/components/PageHeader/PageHeader.module.scss.js +1 -1
  110. package/dist/esm/src/components/Panel/Panel.js +1 -1
  111. package/dist/esm/src/components/Panel/Panel.js.map +1 -1
  112. package/dist/esm/src/components/Panel/Panel.module.scss.js +1 -1
  113. package/dist/esm/src/components/PanelLayout/PanelLayout.module.scss.js +1 -1
  114. package/dist/esm/src/components/ProcessingToast/ProcessingToast.module.scss.js +1 -1
  115. package/dist/esm/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
  116. package/dist/esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
  117. package/dist/esm/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  118. package/dist/esm/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  119. package/dist/esm/src/components/ResponsiveList/ResponsiveList.module.scss.js +1 -1
  120. package/dist/esm/src/components/ScrollableContainer/scrollableContainer.scss.js +1 -1
  121. package/dist/esm/src/components/Search/Search.module.scss.js +1 -1
  122. package/dist/esm/src/components/SectionHeader/SectionHeader.module.scss.js +1 -1
  123. package/dist/esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js +1 -1
  124. package/dist/esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js +1 -1
  125. package/dist/esm/src/components/Sidebar/Sidebar.module.scss.js +1 -1
  126. package/dist/esm/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  127. package/dist/esm/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  128. package/dist/esm/src/components/Slider/Slider.module.scss.js +1 -1
  129. package/dist/esm/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  130. package/dist/esm/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  131. package/dist/esm/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  132. package/dist/esm/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  133. package/dist/esm/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  134. package/dist/esm/src/components/Slider/SliderInfix.module.scss.js +1 -1
  135. package/dist/esm/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  136. package/dist/esm/src/components/Steps/Steps.module.scss.js +1 -1
  137. package/dist/esm/src/components/Steps/StepsCommand.module.scss.js +1 -1
  138. package/dist/esm/src/components/Steps/StepsDot.module.scss.js +1 -1
  139. package/dist/esm/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  140. package/dist/esm/src/components/Steps/StepsHeader.module.scss.js +1 -1
  141. package/dist/esm/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  142. package/dist/esm/src/components/Switch/Switch.module.scss.js +1 -1
  143. package/dist/esm/src/components/Table/TableHeader.module.scss.js +1 -1
  144. package/dist/esm/src/components/Table/styling/column-filter.scss.js +1 -1
  145. package/dist/esm/src/components/Table/styling/paginator.scss.js +1 -1
  146. package/dist/esm/src/components/Table/styling/table_base.scss.js +1 -1
  147. package/dist/esm/src/components/Table/table.scss.js +1 -1
  148. package/dist/esm/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  149. package/dist/esm/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  150. package/dist/esm/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  151. package/dist/esm/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  152. package/dist/esm/src/components/Tags/Tags.module.scss.js +1 -1
  153. package/dist/esm/src/components/Text/Text.module.scss.js +1 -1
  154. package/dist/esm/src/components/TextAreaField/TextAreaField.module.scss.js +1 -1
  155. package/dist/esm/src/components/TextField/TextField.module.scss.js +1 -1
  156. package/dist/esm/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  157. package/dist/esm/src/components/Timeline/Timeline/Timeline.module.scss.js +1 -1
  158. package/dist/esm/src/components/Timeline/TimelineRow/TimelineRow.module.scss.js +1 -1
  159. package/dist/esm/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  160. package/dist/esm/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  161. package/dist/esm/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  162. package/dist/esm/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
  163. package/dist/esm/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  164. package/dist/esm/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  165. package/dist/esm/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  166. package/dist/esm/src/components/Toast/Toast.module.scss.js +1 -1
  167. package/dist/esm/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  168. package/dist/esm/src/components/Toggle/MockToggle.module.scss.js +1 -1
  169. package/dist/esm/src/components/Toggle/Toggle.module.scss.js +1 -1
  170. package/dist/esm/src/components/Toggle/ToggleText.module.scss.js +1 -1
  171. package/dist/esm/src/components/Tooltip/Tooltip.module.scss.js +1 -1
  172. package/dist/esm/src/components/TopNavigationBar/TopNavigationBar.module.scss.js +1 -1
  173. package/dist/esm/src/components/TopNavigationBar/components/Notification/Notification.module.scss.js +1 -1
  174. package/dist/esm/src/components/TopNavigationBar/components/NotificationItem/NotificationItem.module.scss.js +1 -1
  175. package/dist/esm/src/components/Tree/components/TreeFile/TreeFile.scss.js +1 -1
  176. package/dist/esm/src/components/Tree/components/TreeFolder/TreeFolder.scss.js +1 -1
  177. package/dist/esm/src/components/Tree/components/TreeStatusIcon/TreeStatusIcon.scss.js +1 -1
  178. package/dist/esm/src/components/Tree/components/expand/expand.scss.js +1 -1
  179. package/dist/esm/src/components/Typography/Typography.module.scss.js +1 -1
  180. package/dist/esm/src/components/Uploader/Uploader.scss.js +1 -1
  181. package/dist/esm/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  182. package/dist/esm/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  183. package/dist/esm/src/components/Workflow/workflow.scss.js +1 -1
  184. package/dist/esm/src/components/WorkflowCard/WorkflowCard.module.scss.js +1 -1
  185. package/dist/esm/src/components/WorkflowList/WorkflowList.module.scss.js +1 -1
  186. package/dist/esm/src/components/WorkflowStep/WorkflowStep.module.scss.js +1 -1
  187. package/dist/esm/style/dist/index.min.css.js +1 -1
  188. package/dist/main.css.map +1 -1
  189. package/dist/main.js +1 -1
  190. package/dist/main.js.map +1 -1
  191. package/dist/mocked_classnames_esm/components/Panel/Panel.d.ts +2 -1
  192. package/dist/mocked_classnames_esm/components/Panel/Panel.d.ts.map +1 -1
  193. package/dist/mocked_classnames_esm/src/components/Accordion/Accordion/Accordion.module.scss.js +1 -1
  194. package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBanner.module.scss.js +1 -1
  195. package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerButton/AlertBannerButton.module.scss.js +1 -1
  196. package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerLink/AlertBannerLink.module.scss.js +1 -1
  197. package/dist/mocked_classnames_esm/src/components/AlertBanner/AlertBannerText/AlertBannerText.module.scss.js +1 -1
  198. package/dist/mocked_classnames_esm/src/components/AttentionBox/AttentionBox.module.scss.js +1 -1
  199. package/dist/mocked_classnames_esm/src/components/AttentionBox/AttentionBoxLink/AttentionBoxLink.module.scss.js +1 -1
  200. package/dist/mocked_classnames_esm/src/components/Avatar/Avatar.module.scss.js +1 -1
  201. package/dist/mocked_classnames_esm/src/components/Avatar/AvatarBadge.module.scss.js +1 -1
  202. package/dist/mocked_classnames_esm/src/components/Avatar/AvatarContent.module.scss.js +1 -1
  203. package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroup.module.scss.js +1 -1
  204. package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounter.module.scss.js +1 -1
  205. package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContent.module.scss.js +1 -1
  206. package/dist/mocked_classnames_esm/src/components/AvatarGroup/AvatarGroupCounterTooltipContentVirtualizedList.module.scss.js +1 -1
  207. package/dist/mocked_classnames_esm/src/components/Badge/Badge.module.scss.js +1 -1
  208. package/dist/mocked_classnames_esm/src/components/Badge/Indicator/Indicator.module.scss.js +1 -1
  209. package/dist/mocked_classnames_esm/src/components/Box/Box.module.scss.js +1 -1
  210. package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbContent/BreadcrumbContent.module.scss.js +1 -1
  211. package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbItem/BreadcrumbItem.module.scss.js +1 -1
  212. package/dist/mocked_classnames_esm/src/components/BreadcrumbsBar/BreadcrumbsBar.module.scss.js +1 -1
  213. package/dist/mocked_classnames_esm/src/components/Button/Button.module.scss.js +1 -1
  214. package/dist/mocked_classnames_esm/src/components/ButtonGroup/ButtonGroup.module.scss.js +1 -1
  215. package/dist/mocked_classnames_esm/src/components/Checkbox/Checkbox.module.scss.js +1 -1
  216. package/dist/mocked_classnames_esm/src/components/Clickable/Clickable.module.scss.js +1 -1
  217. package/dist/mocked_classnames_esm/src/components/ColorPicker/ColorPicker.module.scss.js +1 -1
  218. package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerClearButton.module.scss.js +1 -1
  219. package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerContent/ColorPickerColorsGrid.module.scss.js +1 -1
  220. package/dist/mocked_classnames_esm/src/components/ColorPicker/components/ColorPickerItemComponent/ColorPickerItemComponent.module.scss.js +1 -1
  221. package/dist/mocked_classnames_esm/src/components/Combobox/Combobox.module.scss.js +1 -1
  222. package/dist/mocked_classnames_esm/src/components/Combobox/ComboboxHelpers/ComboboxHelpers.module.scss.js +1 -1
  223. package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxCategory/ComboboxCategory.module.scss.js +1 -1
  224. package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxItems/ComboboxItems.module.scss.js +1 -1
  225. package/dist/mocked_classnames_esm/src/components/Combobox/components/ComboboxOption/ComboboxOption.module.scss.js +1 -1
  226. package/dist/mocked_classnames_esm/src/components/Combobox/components/StickyCategoryHeader/StickyCategoryHeader.module.scss.js +1 -1
  227. package/dist/mocked_classnames_esm/src/components/Comments/comments.scss.js +1 -1
  228. package/dist/mocked_classnames_esm/src/components/Counter/Counter.module.scss.js +1 -1
  229. package/dist/mocked_classnames_esm/src/components/DatePicker/DateNavigationItem/DateNavigationItem.module.scss.js +1 -1
  230. package/dist/mocked_classnames_esm/src/components/DatePicker/DatePicker.module.scss.js +1 -1
  231. package/dist/mocked_classnames_esm/src/components/DatePicker/DatePickerHeader/DatePickerHeader.module.scss.js +1 -1
  232. package/dist/mocked_classnames_esm/src/components/DatePicker/YearPicker/YearPicker.module.scss.js +1 -1
  233. package/dist/mocked_classnames_esm/src/components/DatePicker/external_datepicker.scss.js +1 -1
  234. package/dist/mocked_classnames_esm/src/components/Dialog/Dialog.module.scss.js +1 -1
  235. package/dist/mocked_classnames_esm/src/components/Dialog/DialogContent/DialogContent.module.scss.js +1 -1
  236. package/dist/mocked_classnames_esm/src/components/DialogContentContainer/DialogContentContainer.module.scss.js +1 -1
  237. package/dist/mocked_classnames_esm/src/components/Diffs/DiffCell/DiffCell.module.scss.js +1 -1
  238. package/dist/mocked_classnames_esm/src/components/Divider/Divider.module.scss.js +1 -1
  239. package/dist/mocked_classnames_esm/src/components/Dropdown/Dropdown.module.scss.js +1 -1
  240. package/dist/mocked_classnames_esm/src/components/Dropdown/components/ChildrenContent/ChildrenContent.module.scss.js +1 -1
  241. package/dist/mocked_classnames_esm/src/components/Dropdown/components/ClearIndicator/ClearIndicator.module.scss.js +1 -1
  242. package/dist/mocked_classnames_esm/src/components/Dropdown/components/MultiValueContainer/MultiValueContainer.module.scss.js +1 -1
  243. package/dist/mocked_classnames_esm/src/components/Dropdown/components/menu/menu.module.scss.js +1 -1
  244. package/dist/mocked_classnames_esm/src/components/Dropdown/components/option/option.module.scss.js +1 -1
  245. package/dist/mocked_classnames_esm/src/components/Dropdown/components/singleValue/singleValue.module.scss.js +1 -1
  246. package/dist/mocked_classnames_esm/src/components/EditableHeading/EditableHeading.module.scss.js +1 -1
  247. package/dist/mocked_classnames_esm/src/components/EditableInput/EditableInput.module.scss.js +1 -1
  248. package/dist/mocked_classnames_esm/src/components/EditableText/EditableText.module.scss.js +1 -1
  249. package/dist/mocked_classnames_esm/src/components/EditableTypography/EditableTypography.module.scss.js +1 -1
  250. package/dist/mocked_classnames_esm/src/components/EmptyState/EmptyState.module.scss.js +1 -1
  251. package/dist/mocked_classnames_esm/src/components/ExpandCollapse/ExpandCollapse.module.scss.js +1 -1
  252. package/dist/mocked_classnames_esm/src/components/FieldLabel/FieldLabel.module.scss.js +1 -1
  253. package/dist/mocked_classnames_esm/src/components/Flex/Flex.module.scss.js +1 -1
  254. package/dist/mocked_classnames_esm/src/components/FormattedNumber/FormattedNumber.module.scss.js +1 -1
  255. package/dist/mocked_classnames_esm/src/components/HeaderActions/HeaderActions.module.scss.js +1 -1
  256. package/dist/mocked_classnames_esm/src/components/Heading/Heading.module.scss.js +1 -1
  257. package/dist/mocked_classnames_esm/src/components/HiddenText/HiddenText.module.scss.js +1 -1
  258. package/dist/mocked_classnames_esm/src/components/Icon/Icon.module.scss.js +1 -1
  259. package/dist/mocked_classnames_esm/src/components/IconButton/IconButton.module.scss.js +1 -1
  260. package/dist/mocked_classnames_esm/src/components/InlineEdit/InlineEdit.module.scss.js +1 -1
  261. package/dist/mocked_classnames_esm/src/components/Label/Label.module.scss.js +1 -1
  262. package/dist/mocked_classnames_esm/src/components/LegacyEditableHeading/LegacyEditableHeading.module.scss.js +1 -1
  263. package/dist/mocked_classnames_esm/src/components/LegacyHeading/LegacyHeading.module.scss.js +1 -1
  264. package/dist/mocked_classnames_esm/src/components/Link/Link.module.scss.js +1 -1
  265. package/dist/mocked_classnames_esm/src/components/List/List.module.scss.js +1 -1
  266. package/dist/mocked_classnames_esm/src/components/List/VirtualizedListItems/VirtualizedListItems.module.scss.js +1 -1
  267. package/dist/mocked_classnames_esm/src/components/ListItem/ListItem.module.scss.js +1 -1
  268. package/dist/mocked_classnames_esm/src/components/ListItemAvatar/ListItemAvatar.module.scss.js +1 -1
  269. package/dist/mocked_classnames_esm/src/components/ListItemIcon/ListItemIcon.module.scss.js +1 -1
  270. package/dist/mocked_classnames_esm/src/components/ListTitle/ListTitle.module.scss.js +1 -1
  271. package/dist/mocked_classnames_esm/src/components/Loader/Loader.module.scss.js +1 -1
  272. package/dist/mocked_classnames_esm/src/components/Menu/Menu/Menu.module.scss.js +1 -1
  273. package/dist/mocked_classnames_esm/src/components/Menu/MenuDivider/MenuDivider.module.scss.js +1 -1
  274. package/dist/mocked_classnames_esm/src/components/Menu/MenuItem/MenuItem.module.scss.js +1 -1
  275. package/dist/mocked_classnames_esm/src/components/Menu/MenuItemButton/MenuItemButton.module.scss.js +1 -1
  276. package/dist/mocked_classnames_esm/src/components/Menu/MenuTitle/MenuTitle.module.scss.js +1 -1
  277. package/dist/mocked_classnames_esm/src/components/MenuButton/MenuButton.module.scss.js +1 -1
  278. package/dist/mocked_classnames_esm/src/components/Modal/Modal.module.scss.js +1 -1
  279. package/dist/mocked_classnames_esm/src/components/Modal/ModalContent/ModalContent.module.scss.js +1 -1
  280. package/dist/mocked_classnames_esm/src/components/Modal/ModalFooter/ModalFooter.module.scss.js +1 -1
  281. package/dist/mocked_classnames_esm/src/components/Modal/ModalHeader/ModalHeader.module.scss.js +1 -1
  282. package/dist/mocked_classnames_esm/src/components/MultiStepIndicator/MultiStepIndicator.module.scss.js +1 -1
  283. package/dist/mocked_classnames_esm/src/components/MultiStepIndicator/components/StepIndicator/StepIndicator.module.scss.js +1 -1
  284. package/dist/mocked_classnames_esm/src/components/NewTable/Table.module.scss.js +1 -1
  285. package/dist/mocked_classnames_esm/src/components/NewTable/components/Cell/Cell.module.scss.js +1 -1
  286. package/dist/mocked_classnames_esm/src/components/NewTable/components/Cell/HeaderCell/HeaderCell.module.scss.js +1 -1
  287. package/dist/mocked_classnames_esm/src/components/NewTable/components/ExpandedContent/ExpandedContent.module.scss.js +1 -1
  288. package/dist/mocked_classnames_esm/src/components/NewTable/components/Row/Row.module.scss.js +1 -1
  289. package/dist/mocked_classnames_esm/src/components/NewTable/components/TableHead/TableHead.module.scss.js +1 -1
  290. package/dist/mocked_classnames_esm/src/components/NewTable/components/TableHeader/TableHeader.module.scss.js +1 -1
  291. package/dist/mocked_classnames_esm/src/components/NewTable/components/ToggleExpandedIcon/ToggleExpandedIcon.module.scss.js +1 -1
  292. package/dist/mocked_classnames_esm/src/components/NewTable/components/newComponents/pagination/Pagination.module.scss.js +1 -1
  293. package/dist/mocked_classnames_esm/src/components/NewTable/components/useLeafyGreenTable/useLeafyGreenTable.module.scss.js +1 -1
  294. package/dist/mocked_classnames_esm/src/components/NumericField/NumericField.module.scss.js +1 -1
  295. package/dist/mocked_classnames_esm/src/components/PageHeader/PageHeader.module.scss.js +1 -1
  296. package/dist/mocked_classnames_esm/src/components/Panel/Panel.js +1 -1
  297. package/dist/mocked_classnames_esm/src/components/Panel/Panel.js.map +1 -1
  298. package/dist/mocked_classnames_esm/src/components/Panel/Panel.module.scss.js +1 -1
  299. package/dist/mocked_classnames_esm/src/components/PanelLayout/PanelLayout.module.scss.js +1 -1
  300. package/dist/mocked_classnames_esm/src/components/ProcessingToast/ProcessingToast.module.scss.js +1 -1
  301. package/dist/mocked_classnames_esm/src/components/ProgressBars/LinearProgressBar/Bar/Bar.module.scss.js +1 -1
  302. package/dist/mocked_classnames_esm/src/components/ProgressBars/LinearProgressBar/LinearProgressBar.module.scss.js +1 -1
  303. package/dist/mocked_classnames_esm/src/components/ProgressBars/PercentageLabel/PercentageLabel.module.scss.js +1 -1
  304. package/dist/mocked_classnames_esm/src/components/RadioButton/RadioButton.module.scss.js +1 -1
  305. package/dist/mocked_classnames_esm/src/components/ResponsiveList/ResponsiveList.module.scss.js +1 -1
  306. package/dist/mocked_classnames_esm/src/components/ScrollableContainer/scrollableContainer.scss.js +1 -1
  307. package/dist/mocked_classnames_esm/src/components/Search/Search.module.scss.js +1 -1
  308. package/dist/mocked_classnames_esm/src/components/SectionHeader/SectionHeader.module.scss.js +1 -1
  309. package/dist/mocked_classnames_esm/src/components/SegmentControl/SegmentControlCell/SegmentControlCell.module.scss.js +1 -1
  310. package/dist/mocked_classnames_esm/src/components/SegmentControl/SegmentControlList/SegmentControlList.module.scss.js +1 -1
  311. package/dist/mocked_classnames_esm/src/components/Sidebar/Sidebar.module.scss.js +1 -1
  312. package/dist/mocked_classnames_esm/src/components/Skeleton/Skeleton.module.scss.js +1 -1
  313. package/dist/mocked_classnames_esm/src/components/Slider/SelectionIndicator.module.scss.js +1 -1
  314. package/dist/mocked_classnames_esm/src/components/Slider/Slider.module.scss.js +1 -1
  315. package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderBase.module.scss.js +1 -1
  316. package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderFilledTrack.module.scss.js +1 -1
  317. package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderRail.module.scss.js +1 -1
  318. package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderThumb.module.scss.js +1 -1
  319. package/dist/mocked_classnames_esm/src/components/Slider/SliderBase/SliderTrack.module.scss.js +1 -1
  320. package/dist/mocked_classnames_esm/src/components/Slider/SliderInfix.module.scss.js +1 -1
  321. package/dist/mocked_classnames_esm/src/components/SplitButton/SplitButton.module.scss.js +1 -1
  322. package/dist/mocked_classnames_esm/src/components/Steps/Steps.module.scss.js +1 -1
  323. package/dist/mocked_classnames_esm/src/components/Steps/StepsCommand.module.scss.js +1 -1
  324. package/dist/mocked_classnames_esm/src/components/Steps/StepsDot.module.scss.js +1 -1
  325. package/dist/mocked_classnames_esm/src/components/Steps/StepsGalleryHeader.module.scss.js +1 -1
  326. package/dist/mocked_classnames_esm/src/components/Steps/StepsHeader.module.scss.js +1 -1
  327. package/dist/mocked_classnames_esm/src/components/Steps/StepsNumbersHeader.module.scss.js +1 -1
  328. package/dist/mocked_classnames_esm/src/components/Switch/Switch.module.scss.js +1 -1
  329. package/dist/mocked_classnames_esm/src/components/Table/TableHeader.module.scss.js +1 -1
  330. package/dist/mocked_classnames_esm/src/components/Table/styling/column-filter.scss.js +1 -1
  331. package/dist/mocked_classnames_esm/src/components/Table/styling/paginator.scss.js +1 -1
  332. package/dist/mocked_classnames_esm/src/components/Table/styling/table_base.scss.js +1 -1
  333. package/dist/mocked_classnames_esm/src/components/Table/table.scss.js +1 -1
  334. package/dist/mocked_classnames_esm/src/components/Tabs/Tab/Tab.module.scss.js +1 -1
  335. package/dist/mocked_classnames_esm/src/components/Tabs/TabList/TabList.module.scss.js +1 -1
  336. package/dist/mocked_classnames_esm/src/components/Tabs/TabPanel/TabPanel.module.scss.js +1 -1
  337. package/dist/mocked_classnames_esm/src/components/Tabs/TabPanels/TabPanels.module.scss.js +1 -1
  338. package/dist/mocked_classnames_esm/src/components/Tags/Tags.module.scss.js +1 -1
  339. package/dist/mocked_classnames_esm/src/components/Text/Text.module.scss.js +1 -1
  340. package/dist/mocked_classnames_esm/src/components/TextAreaField/TextAreaField.module.scss.js +1 -1
  341. package/dist/mocked_classnames_esm/src/components/TextField/TextField.module.scss.js +1 -1
  342. package/dist/mocked_classnames_esm/src/components/TextWithHighlight/TextWithHighlight.module.scss.js +1 -1
  343. package/dist/mocked_classnames_esm/src/components/Timeline/Timeline/Timeline.module.scss.js +1 -1
  344. package/dist/mocked_classnames_esm/src/components/Timeline/TimelineRow/TimelineRow.module.scss.js +1 -1
  345. package/dist/mocked_classnames_esm/src/components/Tipseen/Tipseen.module.scss.js +1 -1
  346. package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenBasicContent.module.scss.js +1 -1
  347. package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenContent.module.scss.js +1 -1
  348. package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenImage.module.scss.js +1 -1
  349. package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenMedia/TipseenMedia.module.scss.js +1 -1
  350. package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenTitle.module.scss.js +1 -1
  351. package/dist/mocked_classnames_esm/src/components/Tipseen/TipseenWizard.module.scss.js +1 -1
  352. package/dist/mocked_classnames_esm/src/components/Toast/Toast.module.scss.js +1 -1
  353. package/dist/mocked_classnames_esm/src/components/Toast/ToastLink/ToastLink.module.scss.js +1 -1
  354. package/dist/mocked_classnames_esm/src/components/Toggle/MockToggle.module.scss.js +1 -1
  355. package/dist/mocked_classnames_esm/src/components/Toggle/Toggle.module.scss.js +1 -1
  356. package/dist/mocked_classnames_esm/src/components/Toggle/ToggleText.module.scss.js +1 -1
  357. package/dist/mocked_classnames_esm/src/components/Tooltip/Tooltip.module.scss.js +1 -1
  358. package/dist/mocked_classnames_esm/src/components/TopNavigationBar/TopNavigationBar.module.scss.js +1 -1
  359. package/dist/mocked_classnames_esm/src/components/TopNavigationBar/components/Notification/Notification.module.scss.js +1 -1
  360. package/dist/mocked_classnames_esm/src/components/TopNavigationBar/components/NotificationItem/NotificationItem.module.scss.js +1 -1
  361. package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFile/TreeFile.scss.js +1 -1
  362. package/dist/mocked_classnames_esm/src/components/Tree/components/TreeFolder/TreeFolder.scss.js +1 -1
  363. package/dist/mocked_classnames_esm/src/components/Tree/components/TreeStatusIcon/TreeStatusIcon.scss.js +1 -1
  364. package/dist/mocked_classnames_esm/src/components/Tree/components/expand/expand.scss.js +1 -1
  365. package/dist/mocked_classnames_esm/src/components/Typography/Typography.module.scss.js +1 -1
  366. package/dist/mocked_classnames_esm/src/components/Uploader/Uploader.scss.js +1 -1
  367. package/dist/mocked_classnames_esm/src/components/VirtualizedGrid/VirtualizedGrid.module.scss.js +1 -1
  368. package/dist/mocked_classnames_esm/src/components/VirtualizedList/VirtualizedList.module.scss.js +1 -1
  369. package/dist/mocked_classnames_esm/src/components/Workflow/workflow.scss.js +1 -1
  370. package/dist/mocked_classnames_esm/src/components/WorkflowCard/WorkflowCard.module.scss.js +1 -1
  371. package/dist/mocked_classnames_esm/src/components/WorkflowList/WorkflowList.module.scss.js +1 -1
  372. package/dist/mocked_classnames_esm/src/components/WorkflowStep/WorkflowStep.module.scss.js +1 -1
  373. package/dist/mocked_classnames_esm/style/dist/index.min.css.js +1 -1
  374. package/dist/types/components/Panel/Panel.d.ts +2 -1
  375. package/dist/types/components/Panel/Panel.d.ts.map +1 -1
  376. package/package.json +1 -1
  377. package/src/components/PageHeader/__stories__/PageHeader.mdx +15 -13
  378. package/src/components/PageHeader/__stories__/PageHeader.stories.module.scss +11 -0
  379. package/src/components/PageHeader/__stories__/{PageHeader.stories.js → PageHeader.stories.tsx} +36 -88
  380. package/src/components/Panel/Panel.tsx +44 -29
  381. package/src/components/Panel/__stories__/Panel.stories.js +82 -0
  382. package/src/components/PanelLayout/PanelLayout.module.scss +20 -11
@@ -1,117 +1,71 @@
1
- import { createStoryMetaSettingsDecorator } from "../../../storybook";
2
- import { createComponentTemplate } from "@heliux-org/storybook-components";
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: Heading,
18
- iconPropNamesArray: [], // List props that are typed as icons here
19
- actionPropsArray: [], // List the component's actions here
11
+ component: PageHeader,
12
+ enumPropNamesArray: ["type"],
13
+ iconPropNamesArray: [],
20
14
  });
21
15
 
22
- const textTemplate = createComponentTemplate(Heading);
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} link="https://www.google.com/" active>
44
- Tab 1
45
- </Tab>,
46
- <Tab key="2" value={2} link="https://www.google.com/" active>
47
- Tab 2
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
- key="Messages"
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 PageHeaderPrimary = {
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>} // Add this line
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
- align={Flex.align.CENTER}
25
- justify={Flex.justify.STRETCH}
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 gap={Flex.gaps.SMALL}>
33
- {leftContent}
34
- <Text type={Text.types.TEXT2} element="span" weight={Text.weights.NORMAL}>
35
- <div className={styles.headerTextStyled} style={{ marginLeft: reverse ? "1rem" : "0" }}>
36
- {title}
37
- </div>
38
- </Text>
39
- </Flex>
40
- <Flex gap={Flex.gaps.SMALL}>
41
- {rightContent}
42
- <IconButton
43
- onClick={onClick}
44
- ariaLabel="Close"
45
- icon={Close}
46
- color={IconButton.colors.SECONDARY}
47
- kind={IconButton.kinds.SECONDARY}
48
- size={IconButton.sizes.XS}
49
- rounded
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
- background-color: var(--divider-secondary);
48
- box-shadow: 2px 0px 0px 0px var(--divider-secondary);
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
- fill: var(--divider-secondary);
60
- max-width: 2px;
61
- width: 2px;
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
- svg rect {
66
- fill: var(--text-color-on-primary);
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
  }