vmware-clarity / core

Clarity is a scalable, accessible, customizable, open-source design system built with web components. Works with any JavaScript framework, created for enterprises, and designed to be inclusive.
https://clarity.design
MIT License
167 stars 42 forks source link

Documentation for `CdsGrid` not working properly #304

Open squidjam opened 6 months ago

squidjam commented 6 months ago

Describe the bug

Documentation for the CdsGrid component is not working properly. The following is a screenshot (easier than try to describe it) image

How to reproduce

Go here and take a look

Expected behavior

The component documentation should be presented correctly, even if it's still up for discussion how the component should be.

Versions

Clarity project:

Clarity version:

Framework:

Framework version: N/A

Device:

Additional notes

In console one gets these messages:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'cells')
    at 7d8f7d84.js:7734:48
    at Array.map (<anonymous>)
    at n.render (7d8f7d84.js:7730:24)
    at n.update (7d8f7d84.js:34:561)
    at n.performUpdate (7d8f7d84.js:28:4861)
    at n.scheduleUpdate (7d8f7d84.js:28:4508)
    at n._$E_ (7d8f7d84.js:28:4416)
Uncaught TypeError: Cannot read properties of undefined (reading 'find')
    at 7d8f7d84.js:7562:153
(anonymous) @ 7d8f7d84.js:7562
kevinbuhmann commented 6 months ago

The CdsGrid is not a completed nor supported component.

squidjam commented 6 months ago

The CdsGrid is not a completed nor supported component.

Does this mean it's not a good idea to report when the documentation breaks?

squidjam commented 1 month ago

Plink