@planningcenter/tapestry-migration-cli 3.0.0-rc.10 → 3.0.0-rc.11

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.
@@ -2611,7 +2611,7 @@ function LoadingSpinner() {
2611
2611
  const buildComponentClassName$1 = ({ className, fullWidth, kind, loading, size }) => {
2612
2612
  return classNames(kind && "tds-btn", size && size !== "md" && COMPONENT_SIZE_CLASS_MAP[size], kind && COMPONENT_KIND_CLASS_MAP[kind], fullWidth && "tds-btn--full-width", loading && "tds-btn--loading", className);
2613
2613
  };
2614
- const BaseButton = reactExports.forwardRef(({ size, prefix, suffix, kind = "secondary", label, className, fullWidth, loading = false, loadingAriaLabel = "Loading...", "aria-label": ariaLabel, ...restProps }, ref) => {
2614
+ const BaseButton = reactExports.forwardRef(({ size, prefix, suffix, kind = "secondary", label, className, fullWidth, loading = false, loadingAriaLabel = "Loading...", "aria-label": ariaLabel, disabled = false, ...restProps }, ref) => {
2615
2615
  const combinedClassName = buildComponentClassName$1({
2616
2616
  className,
2617
2617
  fullWidth,
@@ -2621,9 +2621,10 @@ const BaseButton = reactExports.forwardRef(({ size, prefix, suffix, kind = "seco
2621
2621
  });
2622
2622
  const prefixElement = enhanceElementWithClassName(prefix, "prefix");
2623
2623
  const suffixElement = enhanceElementWithClassName(suffix, "suffix");
2624
+ const isDisabled = disabled || loading;
2624
2625
  return React.createElement(
2625
2626
  "button",
2626
- { type: "button", className: combinedClassName, ref, "aria-disabled": loading, disabled: loading, "aria-label": loading ? loadingAriaLabel : ariaLabel, "aria-busy": loading, ...restProps },
2627
+ { type: "button", className: combinedClassName, ref, ...restProps, "aria-busy": loading || void 0, "aria-disabled": isDisabled || void 0, disabled: isDisabled, "aria-label": loading ? loadingAriaLabel : ariaLabel },
2627
2628
  loading && React.createElement(LoadingSpinner, null),
2628
2629
  prefixElement,
2629
2630
  loading ? React.createElement("span", null, label) : label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planningcenter/tapestry-migration-cli",
3
- "version": "3.0.0-rc.10",
3
+ "version": "3.0.0-rc.11",
4
4
  "description": "CLI tool for Tapestry migrations",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "a203b9bca56b893e03dad1c64c8bdfa57c22d28f"
54
+ "gitHead": "20a7443a979670f42c12ff55e6537a5b08b1592a"
55
55
  }