-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
29b2e9d
commit 28e7e8b
Showing
20 changed files
with
212 additions
and
83 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
10 changes: 10 additions & 0 deletions
10
docs/data/translations/api-docs/meter-indicator/meter-indicator.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"componentDescription": "", | ||
"propDescriptions": { | ||
"className": { | ||
"description": "Class names applied to the element or a function that returns them based on the component's state." | ||
}, | ||
"render": { "description": "A function to customize rendering of the component." } | ||
}, | ||
"classDescriptions": {} | ||
} |
37 changes: 37 additions & 0 deletions
37
docs/data/translations/api-docs/meter-root/meter-root.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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"componentDescription": "", | ||
"propDescriptions": { | ||
"aria-label": { "description": "The label for the Indicator component." }, | ||
"aria-labelledby": { | ||
"description": "An id or space-separated list of ids of elements that label the Indicator component." | ||
}, | ||
"aria-valuetext": { | ||
"description": "A string value that provides a human-readable text alternative for the current value of the meter indicator." | ||
}, | ||
"className": { | ||
"description": "Class names applied to the element or a function that returns them based on the component's state." | ||
}, | ||
"getAriaLabel": { | ||
"description": "Accepts a function which returns a string value that provides an accessible name for the Indicator component", | ||
"typeDescriptions": { "value": "The component's value" } | ||
}, | ||
"getAriaValueText": { | ||
"description": "Accepts a function which returns a string value that provides a human-readable text alternative for the current value of the meter indicator.", | ||
"typeDescriptions": { "value": "The component's value to format" } | ||
}, | ||
"high": { | ||
"description": "Sets the lower boundary of the high end of the numeric range represented by the component. If unspecified, or greater than <code>max</code>, it will fall back to <code>max</code>." | ||
}, | ||
"low": { | ||
"description": "Sets the upper boundary of the low end of the numeric range represented by the component. If unspecified, or less than <code>min</code>, it will fall back to <code>min</code>." | ||
}, | ||
"max": { "description": "The maximum value" }, | ||
"min": { "description": "The minimum value" }, | ||
"optimum": { | ||
"description": "Indicates the optimal point in the numeric range represented by the component. If unspecified, it will fall back to the midpoint between <code>min</code> and <code>max</code>." | ||
}, | ||
"render": { "description": "A function to customize rendering of the component." }, | ||
"value": { "description": "The current value." } | ||
}, | ||
"classDescriptions": {} | ||
} |
10 changes: 10 additions & 0 deletions
10
docs/data/translations/api-docs/meter-track/meter-track.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"componentDescription": "", | ||
"propDescriptions": { | ||
"className": { | ||
"description": "Class names applied to the element or a function that returns them based on the component's state." | ||
}, | ||
"render": { "description": "A function to customize rendering of the component." } | ||
}, | ||
"classDescriptions": {} | ||
} |
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,64 @@ | ||
{ | ||
"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." | ||
}, | ||
"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." | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
export { MeterRoot as Root } from './root/MeterRoot'; | ||
export { MeterTrack as Track } from './track/MeterTrack'; | ||
export { MeterIndicator as Indicator } from './indicator/MeterIndicator'; | ||
|
||
export type { MeterDirection as Direction } from './root/useMeterRoot'; |
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
Oops, something went wrong.