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/components/Button/types.d.ts +1 -1
- package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js +3 -2
- package/lib/components/ConnectingBranch/BranchComponents/MachineInstances.js.map +1 -1
- package/lib/components/ConnectingBranch/ConnectingBranch.js +6 -5
- package/lib/components/ConnectingBranch/ConnectingBranch.js.map +1 -1
- package/lib/components/ConnectingBranch/types.d.ts +2 -0
- package/lib/components/Drawer/Types.d.ts +4 -0
- package/lib/components/Editor/Editor.d.ts +0 -3
- package/lib/components/Editor/Editor.js +0 -18
- package/lib/components/Editor/Editor.js.map +1 -1
- package/lib/components/Icon/iconList.js +6 -0
- package/lib/components/Icon/iconList.js.map +1 -1
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +2 -2
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
- package/lib/index.d.ts +6 -1
- package/lib/index.js +9 -13
- package/lib/styles.css +1 -0
- package/lib/utils/getTreeDetails/getTreeDetails.js +0 -6
- package/lib/utils/getTreeDetails/getTreeDetails.js.map +1 -1
- package/package.json +1 -1
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>;
|