revdev-components 0.284.0 → 0.286.0

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.
@@ -4,7 +4,7 @@ export interface AlfaAttributorOption {
4
4
  content: React.ReactNode;
5
5
  href?: string;
6
6
  icon?: RegularIconName;
7
- label?: string;
7
+ label?: React.ReactNode;
8
8
  }
9
9
  interface Props {
10
10
  options: AlfaAttributorOption[];
@@ -6,7 +6,7 @@ interface Props {
6
6
  loading?: boolean;
7
7
  disabled?: boolean;
8
8
  type?: ButtonType;
9
- buttonRef: React.Ref<HTMLAnchorElement | HTMLButtonElement>;
9
+ buttonRef?: React.Ref<HTMLAnchorElement | HTMLButtonElement>;
10
10
  }
11
11
  export declare const FormButton: React.FC<Props>;
12
12
  export {};
package/build/index.js CHANGED
@@ -6093,7 +6093,7 @@ var AlfaAttributor = function (_a) {
6093
6093
  var result = content;
6094
6094
  if (label) {
6095
6095
  result = (React.createElement("div", { className: s$d.option },
6096
- React.createElement("div", null, "".concat(label, ":")),
6096
+ React.createElement("div", null, typeof label === "string" ? "".concat(label, ":") : label),
6097
6097
  React.createElement("div", null, result)));
6098
6098
  }
6099
6099
  if (typeof href === "string") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.284.0",
3
+ "version": "0.286.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {