@transferwise/components 0.0.0-experimental-78015a4 → 0.0.0-experimental-45502d0
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/build/i18n/en.json +1 -1
- package/build/index.esm.js +3 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3 -2
- package/build/index.js.map +1 -1
- package/build/types/button/Button.d.ts +1 -0
- package/build/types/button/Button.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/button/Button.spec.js +12 -0
- package/src/button/Button.tsx +3 -1
- package/src/flowNavigation/FlowNavigation.messages.ts +1 -1
- package/src/i18n/en.json +1 -1
package/build/i18n/en.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"neptune.DateLookup.selected": "selected",
|
|
15
15
|
"neptune.DateLookup.twentyYears": "20 years",
|
|
16
16
|
"neptune.DateLookup.year": "year",
|
|
17
|
-
"neptune.FlowNavigation.back": "back to
|
|
17
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
18
18
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
19
19
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
20
20
|
"neptune.Select.searchPlaceholder": "Search...",
|
package/build/index.esm.js
CHANGED
|
@@ -2286,6 +2286,7 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
2286
2286
|
priority = Priority.PRIMARY,
|
|
2287
2287
|
size = Size.MEDIUM,
|
|
2288
2288
|
type = ControlType.ACCENT,
|
|
2289
|
+
'aria-label': ariaLabel,
|
|
2289
2290
|
...rest
|
|
2290
2291
|
}, reference) => {
|
|
2291
2292
|
const intl = useIntl();
|
|
@@ -2335,7 +2336,7 @@ const Button = /*#__PURE__*/forwardRef(({
|
|
|
2335
2336
|
className: classes,
|
|
2336
2337
|
...props,
|
|
2337
2338
|
"aria-live": loading ? 'polite' : 'off',
|
|
2338
|
-
"aria-label": loading ? intl.formatMessage(messages$9.loadingAriaLabel) :
|
|
2339
|
+
"aria-label": loading ? intl.formatMessage(messages$9.loadingAriaLabel) : ariaLabel,
|
|
2339
2340
|
children: [children, loading && /*#__PURE__*/jsx(ProcessIndicator$1, {
|
|
2340
2341
|
size: processIndicatorSize(),
|
|
2341
2342
|
className: "btn-loader"
|
|
@@ -10676,7 +10677,7 @@ var en = {
|
|
|
10676
10677
|
"neptune.DateLookup.selected": "selected",
|
|
10677
10678
|
"neptune.DateLookup.twentyYears": "20 years",
|
|
10678
10679
|
"neptune.DateLookup.year": "year",
|
|
10679
|
-
"neptune.FlowNavigation.back": "back to
|
|
10680
|
+
"neptune.FlowNavigation.back": "back to previous step",
|
|
10680
10681
|
"neptune.Link.opensInNewTab": "(opens in new tab)",
|
|
10681
10682
|
"neptune.MoneyInput.Select.placeholder": "Select an option...",
|
|
10682
10683
|
"neptune.Select.searchPlaceholder": "Search...",
|