diff --git a/.changeset/friendly-apes-carry.md b/.changeset/friendly-apes-carry.md new file mode 100644 index 00000000..a643a794 --- /dev/null +++ b/.changeset/friendly-apes-carry.md @@ -0,0 +1,5 @@ +--- +'@compai/css-gui': patch +--- + +Add all properties export diff --git a/apps/docs/pages/unsupported.tsx b/apps/docs/pages/unsupported.tsx index e78b5491..b38893f3 100644 --- a/apps/docs/pages/unsupported.tsx +++ b/apps/docs/pages/unsupported.tsx @@ -1,6 +1,14 @@ -import { unsupportedProperties } from '@compai/css-gui' +import { allProperties, unsupportedProperties } from '@compai/css-gui' export default function UnsupportedProperties() { + const allPropertiesCount = allProperties.length + const unsupportedPropertiesCount = unsupportedProperties.length + const implementedPropertiesCount = + allPropertiesCount - unsupportedPropertiesCount + const percentageComplete = Math.round( + (implementedPropertiesCount / allPropertiesCount) * 100 + ) + return (