Skip to content

Conversation

@frano-m
Copy link
Contributor

@frano-m frano-m commented Nov 19, 2025

Closes #703.

This pull request introduces a new KeyValueCell component for table cells, designed to display key-value pairs in a flexible and reusable way. The implementation includes supporting subcomponents for rendering keys and values, and provides Storybook stories for easy testing and documentation.

New KeyValueCell component and supporting subcomponents:

  • Added the KeyValueCell component, which renders key-value pairs using the new KeyElType, KeyValueElType, and KeyValuesElType subcomponents. This enables consistent and customizable display of key-value data in table cells.
  • Implemented the KeyElType subcomponent for rendering individual keys with customizable typography, leveraging MUI's Typography and shared style constants.
  • Added the KeyValueElType and KeyValuesElType subcomponents, which use MUI's Stack for layout, supporting flexible arrangement of key-value pairs and groups of values. [1] [2]

Storybook integration for testing and documentation:

  • Created Storybook stories for the KeyValueCell component, including default arguments and example data to facilitate visual testing and documentation. [1] [2]
image

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create time-since component

3 participants