-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(components): update import path to experimental (#4793)
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
84 additions
and
87 deletions.
There are no files selected for viewing
55 changes: 27 additions & 28 deletions
55
packages/react/src/drafts/Skeleton/SkeletonAvatar.docs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,28 @@ | ||
{ | ||
"id": "skeleton_avatar", | ||
"name": "SkeletonAvatar", | ||
"status": "draft", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"importPath": "@primer/react/drafts", | ||
"props": [ | ||
{ | ||
"name": "size", | ||
"type": "number | { narrow?: number; regular?: number; wide?: number; }", | ||
"defaultValue": "20", | ||
"description": "The size of the avatar in pixels." | ||
}, | ||
{ | ||
"name": "square", | ||
"type": "boolean", | ||
"defaultValue": "false", | ||
"description": "If true, the avatar will be square instead of circular." | ||
}, | ||
{ | ||
"name": "className", | ||
"type": "string", | ||
"description": "Class name for custom styling." | ||
} | ||
], | ||
"subcomponents": [] | ||
} | ||
|
||
"id": "skeleton_avatar", | ||
"name": "SkeletonAvatar", | ||
"status": "draft", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"importPath": "@primer/react/experimental", | ||
"props": [ | ||
{ | ||
"name": "size", | ||
"type": "number | { narrow?: number; regular?: number; wide?: number; }", | ||
"defaultValue": "20", | ||
"description": "The size of the avatar in pixels." | ||
}, | ||
{ | ||
"name": "square", | ||
"type": "boolean", | ||
"defaultValue": "false", | ||
"description": "If true, the avatar will be square instead of circular." | ||
}, | ||
{ | ||
"name": "className", | ||
"type": "string", | ||
"description": "Class name for custom styling." | ||
} | ||
], | ||
"subcomponents": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
{ | ||
"id": "skeleton_box", | ||
"name": "SkeletonBox", | ||
"status": "draft", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"importPath": "@primer/react/drafts", | ||
"props": [ | ||
{ | ||
"name": "width", | ||
"type": "string", | ||
"description": "Width of the skeleton box. Accepts any valid CSS `width` value." | ||
}, | ||
{ | ||
"name": "height", | ||
"defaultValue": "1rem", | ||
"type": "string", | ||
"description": "Height of the skeleton box. Accepts any valid CSS `height` value." | ||
}, | ||
{ | ||
"name": "sx", | ||
"type": "SystemStyleObject" | ||
} | ||
], | ||
"subcomponents": [] | ||
} | ||
|
||
"id": "skeleton_box", | ||
"name": "SkeletonBox", | ||
"status": "draft", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"importPath": "@primer/react/experimental", | ||
"props": [ | ||
{ | ||
"name": "width", | ||
"type": "string", | ||
"description": "Width of the skeleton box. Accepts any valid CSS `width` value." | ||
}, | ||
{ | ||
"name": "height", | ||
"defaultValue": "1rem", | ||
"type": "string", | ||
"description": "Height of the skeleton box. Accepts any valid CSS `height` value." | ||
}, | ||
{ | ||
"name": "sx", | ||
"type": "SystemStyleObject" | ||
} | ||
], | ||
"subcomponents": [] | ||
} |
65 changes: 32 additions & 33 deletions
65
packages/react/src/drafts/Skeleton/SkeletonText.docs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
{ | ||
"id": "skeleton_text", | ||
"name": "SkeletonText", | ||
"status": "draft", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"importPath": "@primer/react/drafts", | ||
"props": [ | ||
{ | ||
"name": "size", | ||
"defaultValue": "'bodyMedium'", | ||
"type": "'display' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall' | 'subtitle'", | ||
"description": "Size of the text that the skeleton is replacing." | ||
}, | ||
{ | ||
"name": "lines", | ||
"defaultValue": "1", | ||
"type": "number", | ||
"description": "Number of lines of skeleton text to render." | ||
}, | ||
{ | ||
"name": "maxWidth", | ||
"type": "string", | ||
"description": "Maximum width that the line(s) of skeleton text can take up. Accepts any valid CSS `max-width` value." | ||
}, | ||
{ | ||
"name": "className", | ||
"type": "string", | ||
"description": "Class name for custom styling." | ||
} | ||
], | ||
"subcomponents": [] | ||
} | ||
|
||
"id": "skeleton_text", | ||
"name": "SkeletonText", | ||
"status": "draft", | ||
"a11yReviewed": false, | ||
"stories": [], | ||
"importPath": "@primer/react/experimental", | ||
"props": [ | ||
{ | ||
"name": "size", | ||
"defaultValue": "'bodyMedium'", | ||
"type": "'display' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall' | 'subtitle'", | ||
"description": "Size of the text that the skeleton is replacing." | ||
}, | ||
{ | ||
"name": "lines", | ||
"defaultValue": "1", | ||
"type": "number", | ||
"description": "Number of lines of skeleton text to render." | ||
}, | ||
{ | ||
"name": "maxWidth", | ||
"type": "string", | ||
"description": "Maximum width that the line(s) of skeleton text can take up. Accepts any valid CSS `max-width` value." | ||
}, | ||
{ | ||
"name": "className", | ||
"type": "string", | ||
"description": "Class name for custom styling." | ||
} | ||
], | ||
"subcomponents": [] | ||
} |