@trii/components 3.1.11 → 3.1.12
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/dist/cjs/index.js +36 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +37 -36
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/OptionsMenu.d.ts +2 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/style.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/InformationItemContainer.d.ts +4 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/style.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/style.d.ts +1 -4
- package/dist/types/components/EditContactModal/layout/EditorViewPane.d.ts +8 -0
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChannelType } from '@trii/types/dist/Common/Channels';
|
|
2
2
|
type OptionsMenuProps = {
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
onDelete: () => void;
|
|
4
5
|
addressData: {
|
|
5
6
|
address: string;
|
|
@@ -13,5 +14,5 @@ type ResultContactAddressCheck = {
|
|
|
13
14
|
success: boolean;
|
|
14
15
|
warnings: string[];
|
|
15
16
|
};
|
|
16
|
-
declare const OptionsMenu: ({ onDelete, addressData, handleLinkAccountSave, checked, onCheckContactAddress, }: OptionsMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const OptionsMenu: ({ onDelete, disabled, addressData, handleLinkAccountSave, checked, onCheckContactAddress, }: OptionsMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default OptionsMenu;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Keep the main form and its return position while a nested editor is open. */
|
|
3
|
+
export default function EditorViewPane({ active, mode, keepMounted, children, }: {
|
|
4
|
+
active: boolean;
|
|
5
|
+
mode: 'modal' | 'card';
|
|
6
|
+
keepMounted?: boolean;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trii/components",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"description": "Trii components package",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -192,4 +192,4 @@
|
|
|
192
192
|
"uuid": "^10.0.0",
|
|
193
193
|
"wavesurfer.js": "^6.6.3"
|
|
194
194
|
}
|
|
195
|
-
}
|
|
195
|
+
}
|