@omnia/fx 8.0.273-dev → 8.0.275-dev

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.
@@ -40,6 +40,7 @@ export declare function useThemeStyling(): {
40
40
  fontSize: string;
41
41
  fontWeight: number;
42
42
  lineHeight: string;
43
+ letterSpacing: string;
43
44
  textDecoration: string;
44
45
  $nest: {};
45
46
  };
@@ -64,6 +64,7 @@ declare function typographyTypeStyling(typographyType: TypographyTypes, size: Ty
64
64
  fontSize: string;
65
65
  fontWeight: number;
66
66
  lineHeight: string;
67
+ letterSpacing: string;
67
68
  textDecoration: string;
68
69
  $nest: {};
69
70
  };
@@ -22,6 +22,7 @@ export declare namespace IdentitiesLocalization {
22
22
  ErrorNoRules: string;
23
23
  EmptyRuleValue: string;
24
24
  };
25
+ IsExternal: string;
25
26
  };
26
27
  BuiltInProperties: {
27
28
  UserName: string;
@@ -24,9 +24,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
24
24
  } & {
25
25
  title?: string;
26
26
  } & {
27
- variant?: "default" | "dialog";
28
- } & {
29
- hideToolbar?: boolean;
27
+ editMode?: boolean;
30
28
  } & {
31
29
  providerFilter?: guid[];
32
30
  } & {
@@ -1,5 +1,6 @@
1
- import { DefineProp, DefineSlot } from "@omnia/fx/ux";
2
- import { ILinkRenderer, LinkItem } from "@omnia/fx/ux";
3
- export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineProp<"target", string, false, "_self"> & ILinkRenderer;
1
+ import { DefineProp, DefineSlot, DefineVModel } from "@omnia/fx/ux";
2
+ import { LinkItem } from "@omnia/fx/ux";
3
+ export type targetOpts = "_self" | "_target";
4
+ export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineProp<"target", targetOpts, false, "_self"> & DefineVModel<"", LinkItem>;
4
5
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<InternalLinkRender>) => any;
5
6
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { DefineVModel } from "@omnia/fx/ux";
2
2
  import { LinkItem } from "./LinkItem";
3
- export type ILinkRenderer = DefineVModel<"link", LinkItem>;
3
+ export type ILinkRenderer = DefineVModel<"", LinkItem>;
@@ -1,4 +1,4 @@
1
- import { IIcon } from "@omnia/fx/ux";
1
+ import { IIcon, LinkItem } from "@omnia/fx/ux";
2
2
  import { ILinkPickerProvider } from "./ILinkPickerProvider";
3
3
  import { guid } from "@omnia/fx-models";
4
4
  export interface LinkPickerRegistration extends ILinkPickerProvider {
@@ -13,4 +13,11 @@ export interface LinkPickerRegistration extends ILinkPickerProvider {
13
13
  *
14
14
  */
15
15
  handlerProviderId?: guid;
16
+ getProviderProperties?: () => object;
17
+ /**
18
+ * Post process after link process is saved
19
+ * @param link
20
+ * @returns Promise result of link item
21
+ */
22
+ onSaved?: (link: LinkItem) => Promise<LinkItem>;
16
23
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.273-dev",
4
+ "version": "8.0.275-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.273-dev",
23
+ "@omnia/fx-models": "8.0.275-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",