@primer/react 0.0.0-20260408181349 → 0.0.0-20260408182140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/generated/components.json +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2109,15 +2109,15 @@
|
|
|
2109
2109
|
"importPath": "@primer/react/experimental",
|
|
2110
2110
|
"stories": [
|
|
2111
2111
|
{
|
|
2112
|
-
"id": "components-card--default",
|
|
2112
|
+
"id": "experimental-components-card--default",
|
|
2113
2113
|
"code": "() => {\n return (\n <div\n style={{\n maxWidth: '400px',\n }}\n >\n <Card>\n <Card.Icon icon={RocketIcon} />\n <Card.Heading>Card Heading</Card.Heading>\n <Card.Description>\n This is a description of the card providing supplemental information.\n </Card.Description>\n <Card.Metadata>Updated 2 hours ago</Card.Metadata>\n </Card>\n </div>\n )\n}"
|
|
2114
2114
|
},
|
|
2115
2115
|
{
|
|
2116
|
-
"id": "components-card-features--with-image",
|
|
2116
|
+
"id": "experimental-components-card-features--with-image",
|
|
2117
2117
|
"code": "() => {\n return (\n <div\n style={{\n maxWidth: '400px',\n }}\n >\n <Card>\n <Card.Image src=\"https://github.com/octocat.png\" alt=\"Octocat\" />\n <Card.Heading>Card with Image</Card.Heading>\n <Card.Description>\n This card uses an edge-to-edge image instead of an icon.\n </Card.Description>\n </Card>\n </div>\n )\n}"
|
|
2118
2118
|
},
|
|
2119
2119
|
{
|
|
2120
|
-
"id": "components-card-features--with-metadata",
|
|
2120
|
+
"id": "experimental-components-card-features--with-metadata",
|
|
2121
2121
|
"code": "() => {\n return (\n <div\n style={{\n maxWidth: '400px',\n }}\n >\n <Card>\n <Card.Icon icon={RepoIcon} />\n <Card.Heading>primer/react</Card.Heading>\n <Card.Description>\n {\n \"GitHub's design system implemented as React components for building consistent user interfaces.\"\n }\n </Card.Description>\n <Card.Metadata>\n <StarIcon size={16} />\n 1.2k stars\n </Card.Metadata>\n </Card>\n </div>\n )\n}"
|
|
2122
2122
|
}
|
|
2123
2123
|
],
|
package/package.json
CHANGED