pixel-react 1.20.16 → 1.20.18

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/lib/index.d.ts CHANGED
@@ -106,7 +106,7 @@ interface ButtonProps {
106
106
  /**
107
107
  * Variant of the button
108
108
  */
109
- variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning' | 'custom' | 'danger';
109
+ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning' | 'custom' | 'danger' | string;
110
110
  /**
111
111
  * What background color to use
112
112
  */
@@ -215,6 +215,10 @@ interface ButtonProps {
215
215
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
216
216
 
217
217
  interface BtnPropsCommon {
218
+ /**
219
+ * Variant of the button
220
+ */
221
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning' | 'custom' | 'danger' | string;
218
222
  /**
219
223
  * Label for the button
220
224
  */
@@ -4842,6 +4846,7 @@ interface ConnectBranchProps {
4842
4846
  getParentNodeComponentActionItems: (nodeArgs: ConnectingNodeConfig) => ReactElement;
4843
4847
  getChildNodeComponent: (nodeArgs: ConnectingNodeConfig) => ReactElement;
4844
4848
  isReadOnlyMode?: boolean;
4849
+ hideNodeAtLast?: boolean;
4845
4850
  }
4846
4851
 
4847
4852
  declare const ConnectingBranch: React__default.FC<ConnectBranchProps>;