unlayer-types 1.233.0 → 1.237.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.
- package/embed.d.ts +6 -1
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -1358,6 +1358,9 @@ declare module "state/types/types" {
|
|
1358
1358
|
limitMessage?: string;
|
1359
1359
|
validationRegex?: string;
|
1360
1360
|
options?: LinkTypeFieldOption[];
|
1361
|
+
sortOptions?: boolean | (<Option extends {
|
1362
|
+
label: string;
|
1363
|
+
}>(options: Option[]) => Option[]);
|
1361
1364
|
onCreateOption?: (inputValue: string, meta: object, done: (newOption: LinkTypeFieldOption) => void) => void;
|
1362
1365
|
}
|
1363
1366
|
export interface LinkType {
|
@@ -2177,8 +2180,10 @@ declare module "editor/design-system/components/Tooltip" {
|
|
2177
2180
|
export function Tooltip(props: TooltipProps): React.JSX.Element;
|
2178
2181
|
}
|
2179
2182
|
declare module "editor/helpers/intl" {
|
2183
|
+
import _ from 'lodash';
|
2180
2184
|
import { IntlShape } from 'react-intl';
|
2181
|
-
|
2185
|
+
function _getIntlLabel<Label extends any>(intl: IntlShape, label: string | Label): string | Label;
|
2186
|
+
export const getIntlLabel: typeof _getIntlLabel & _.MemoizedFunction;
|
2182
2187
|
}
|
2183
2188
|
declare module "editor/design-system/components/Dropdown" {
|
2184
2189
|
import React from 'react';
|
package/package.json
CHANGED