Skip to content

Commit

Permalink
Add description for some of the aria-labels for DateInput
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongmao86 committed Apr 29, 2023
1 parent 00c4e32 commit 3b3b4ca
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/docs/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@
"ratio": "Aspect ratio of the component's wrapper.",
"groupBy": "When `options` prop is an object, this key will be used to group up options. Can be string (path to the key) or function of type: `(option) => option.group`",
"grow": "Take all container width",
"immediateValidation": "Sets the validation to be performed when the component is mounted"
"immediateValidation": "Sets the validation to be performed when the component is mounted",
"anchorSelector": "Anchor CSS selector instead of passing slot"
}
},
"VaBadge": {
Expand Down Expand Up @@ -1009,7 +1010,6 @@
"cursor": "Dropdown will be rendered relative to cursor position",
"closeOnAnchorClick": "Dropdown will be closed when anchor is clicked",
"closeOnClickOutside": "Dropdown will be closed when clicked outside dropdown content and anchor",
"anchorSelector": "Anchor CSS selector instead of passing slot",
"autoPlacement": "If dropdown doesn't fit viewport, it will be placed automatically to fit viewport"
},
"events": {
Expand Down Expand Up @@ -1206,7 +1206,11 @@
"manualInput": "Allows user to manually input date in VaInput",
"parse": "Function that transforms input field text to date, date array or date period",
"parseDate": "Function that transforms input field text to date",
"parseValue": "Function that transforms string value to date, date array or date period"
"parseValue": "Function that transforms string value to date, date array or date period",
"ariaLabel": "The aria-label of the input",
"ariaNextPeriodLabel": "The aria-label of the \"next period\" button",
"ariaPreviousPeriodLabel": "The aria-label of the \"previous period\" button",
"ariaResetLabel": "The aria-label of the \"reset\" button"
},
"events": {
"clear": "Emitted if select value has been cleared",
Expand Down Expand Up @@ -1478,7 +1482,6 @@
},
"VaDropdown": {
"props": {
"anchorSelector": "Anchor CSS selector instead of passing slot",
"innerAnchorSelector": "Anchor CSS selector inside passed slot",
"autoPlacement": "If dropdown doesn't fit viewport, it will be placed automatically to fit viewport",
"closeOnAnchorClick": "Dropdown will be closed when anchor is clicked",
Expand Down

0 comments on commit 3b3b4ca

Please sign in to comment.