@deque/cauldron-react 6.3.1 → 6.3.2-canary.362629f1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PolymorphicProps, PolymorphicComponent } from '../../utils/polymorphicComponent';
|
|
3
|
-
type BreadcrumbLinkProps = PolymorphicProps<React.
|
|
3
|
+
type BreadcrumbLinkProps = PolymorphicProps<React.AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
4
4
|
declare const BreadcrumbLink: PolymorphicComponent<BreadcrumbLinkProps>;
|
|
5
5
|
export default BreadcrumbLink;
|
package/lib/index.js
CHANGED
|
@@ -2455,7 +2455,7 @@ var SearchField = React.forwardRef(function (_a, ref) {
|
|
|
2455
2455
|
'TextFieldWrapper--disabled': inputProps.disabled
|
|
2456
2456
|
}) },
|
|
2457
2457
|
React__default["default"].createElement(Icon, { type: "magnifying-glass", className: "SearchField__search-icon" }),
|
|
2458
|
-
React__default["default"].createElement("input", tslib.__assign({ id: inputId, value: value, onChange: handleChange, placeholder: placeholder, ref: ref }, inputProps, { type: "search" })),
|
|
2458
|
+
React__default["default"].createElement("input", tslib.__assign({ id: inputId, value: isControlled ? propValue : value, onChange: handleChange, placeholder: placeholder, ref: ref }, inputProps, { type: "search" })),
|
|
2459
2459
|
trailingChildren)));
|
|
2460
2460
|
});
|
|
2461
2461
|
SearchField.displayName = 'SearchField';
|
|
@@ -2879,7 +2879,7 @@ var Pagination = React__default["default"].forwardRef(function (_a, ref) {
|
|
|
2879
2879
|
React__default["default"].createElement("li", null,
|
|
2880
2880
|
React__default["default"].createElement(IconButton, { icon: "chevron-left", tooltipPlacement: tooltipPlacement, label: previousPageLabel, "aria-disabled": isFirstPage, onClick: isFirstPage ? undefined : onPreviousPageClick })),
|
|
2881
2881
|
React__default["default"].createElement("li", null,
|
|
2882
|
-
React__default["default"].createElement("span", { role: "log", "aria-atomic": "true" }, statusLabel || (React__default["default"].createElement("span", null,
|
|
2882
|
+
React__default["default"].createElement("span", { role: "log", "aria-atomic": "true", "aria-live": "polite" }, statusLabel || (React__default["default"].createElement("span", null,
|
|
2883
2883
|
"Showing ",
|
|
2884
2884
|
React__default["default"].createElement("strong", null, itemStart),
|
|
2885
2885
|
" to",
|
package/package.json
CHANGED