-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5d1b64
commit 31833d5
Showing
18 changed files
with
106 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "MeterIndicator", | ||
"description": "", | ||
"props": { | ||
"className": { | ||
"type": "string | (state) => string", | ||
"description": "Class names applied to the element or a function that returns them based on the component's state." | ||
}, | ||
"render": { | ||
"type": "React.ReactElement | (props, state) => React.ReactElement", | ||
"description": "A function to customize rendering of the component." | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "MeterRoot", | ||
"description": "", | ||
"props": { | ||
"value": { | ||
"type": "number", | ||
"required": true, | ||
"description": "The current value." | ||
}, | ||
"aria-label": { | ||
"type": "string", | ||
"description": "The label for the Indicator component." | ||
}, | ||
"aria-labelledby": { | ||
"type": "string", | ||
"description": "An id or space-separated list of ids of elements that label the Indicator component." | ||
}, | ||
"aria-valuetext": { | ||
"type": "string", | ||
"description": "A string value that provides a human-readable text alternative for the current value of the meter indicator." | ||
}, | ||
"className": { | ||
"type": "string | (state) => string", | ||
"description": "Class names applied to the element or a function that returns them based on the component's state." | ||
}, | ||
"direction": { | ||
"type": "'ltr' | 'rtl'", | ||
"default": "'ltr'", | ||
"description": "The direction that the meter fills towards" | ||
}, | ||
"getAriaLabel": { | ||
"type": "function(value: number) => string", | ||
"description": "Accepts a function which returns a string value that provides an accessible name for the Indicator component" | ||
}, | ||
"getAriaValueText": { | ||
"type": "function(value: number) => string", | ||
"description": "Accepts a function which returns a string value that provides a human-readable text alternative for the current value of the meter indicator." | ||
}, | ||
"high": { | ||
"type": "number", | ||
"default": "100", | ||
"description": "Sets the lower boundary of the high end of the numeric range represented by the component.\nIf unspecified, or greater than `max`, it will fall back to `max`." | ||
}, | ||
"low": { | ||
"type": "number", | ||
"default": "0", | ||
"description": "Sets the upper boundary of the low end of the numeric range represented by the component.\nIf unspecified, or less than `min`, it will fall back to `min`." | ||
}, | ||
"max": { | ||
"type": "number", | ||
"default": "100", | ||
"description": "The maximum value" | ||
}, | ||
"min": { | ||
"type": "number", | ||
"default": "0", | ||
"description": "The minimum value" | ||
}, | ||
"optimum": { | ||
"type": "number", | ||
"default": "50", | ||
"description": "Indicates the optimal point in the numeric range represented by the component.\nIf unspecified, it will fall back to the midpoint between `min` and `max`." | ||
}, | ||
"render": { | ||
"type": "React.ReactElement | (props, state) => React.ReactElement", | ||
"description": "A function to customize rendering of the component." | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "MeterTrack", | ||
"description": "", | ||
"props": { | ||
"className": { | ||
"type": "string | (state) => string", | ||
"description": "Class names applied to the element or a function that returns them based on the component's state." | ||
}, | ||
"render": { | ||
"type": "React.ReactElement | (props, state) => React.ReactElement", | ||
"description": "A function to customize rendering of the component." | ||
} | ||
} | ||
} |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.