@deque/cauldron-react 6.3.2-canary.39b806da → 6.3.2-canary.53e4b833

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.LinkHTMLAttributes<HTMLLinkElement>>;
3
+ type BreadcrumbLinkProps = PolymorphicProps<React.AnchorHTMLAttributes<HTMLAnchorElement>>;
4
4
  declare const BreadcrumbLink: PolymorphicComponent<BreadcrumbLinkProps>;
5
5
  export default BreadcrumbLink;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IconType, iconTypes } from './types';
2
+ import { type IconType, iconTypes } from './types';
3
3
  export { IconType, iconTypes };
4
4
  export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  label?: string;
package/lib/index.js CHANGED
@@ -2267,7 +2267,7 @@ var RadioCardGroup = function (_a) {
2267
2267
  RadioCardGroup.displayName = 'RadioCardGroup';
2268
2268
 
2269
2269
  var Checkbox = React.forwardRef(function (_a, ref) {
2270
- var id = _a.id, label = _a.label, labelDescription = _a.labelDescription, error = _a.error, checkboxRef = _a.checkboxRef, className = _a.className, onChange = _a.onChange, onFocus = _a.onFocus, onBlur = _a.onBlur, ariaDescribedby = _a["aria-describedby"], _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.checked, checked = _c === void 0 ? false : _c, other = tslib.__rest(_a, ["id", "label", "labelDescription", "error", "checkboxRef", "className", "onChange", "onFocus", "onBlur", 'aria-describedby', "disabled", "checked"]);
2270
+ var id = _a.id, label = _a.label, labelDescription = _a.labelDescription, error = _a.error, checkboxRef = _a.checkboxRef, className = _a.className, onChange = _a.onChange, onFocus = _a.onFocus, onBlur = _a.onBlur, ariaDescribedby = _a["aria-describedby"], _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.checked, checked = _c === void 0 ? false : _c; _a.children; var other = tslib.__rest(_a, ["id", "label", "labelDescription", "error", "checkboxRef", "className", "onChange", "onFocus", "onBlur", 'aria-describedby', "disabled", "checked", "children"]);
2271
2271
  var _d = tslib.__read(React.useState(checked), 2), isChecked = _d[0], setIsChecked = _d[1];
2272
2272
  var _e = tslib.__read(React.useState(false), 2), focused = _e[0], setFocused = _e[1];
2273
2273
  var checkRef = React.useRef(null);
@@ -2368,7 +2368,7 @@ var TextField = /** @class */ (function (_super) {
2368
2368
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2369
2369
  _a.onChange;
2370
2370
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2371
- _a.defaultValue; var _b = _a.error, error = _b === void 0 ? null : _b, requiredText = _a.requiredText, multiline = _a.multiline, ariaDescribedby = _a["aria-describedby"], className = _a.className, other = tslib.__rest(_a, ["label", "fieldRef", "value", "onChange", "defaultValue", "error", "requiredText", "multiline", 'aria-describedby', "className"]);
2371
+ _a.defaultValue; var _b = _a.error, error = _b === void 0 ? null : _b, requiredText = _a.requiredText, multiline = _a.multiline, ariaDescribedby = _a["aria-describedby"]; _a.children; var className = _a.className, other = tslib.__rest(_a, ["label", "fieldRef", "value", "onChange", "defaultValue", "error", "requiredText", "multiline", 'aria-describedby', "children", "className"]);
2372
2372
  // typescript can't infer the type so it's complaining about
2373
2373
  // textarea and input props being incompatible
2374
2374
  // we should probably fix this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-react",
3
- "version": "6.3.2-canary.39b806da",
3
+ "version": "6.3.2-canary.53e4b833",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Fully accessible react components library for Deque Cauldron",
6
6
  "homepage": "https://cauldron.dequelabs.com/",