@omnia/fx 8.0.538-dev → 8.0.539-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.
@@ -24,6 +24,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
24
24
  breakpoint?: TextStyleBreakpointType;
25
25
  } & {
26
26
  showSlots?: boolean;
27
+ } & {
28
+ clearable?: boolean;
27
29
  } & {
28
30
  toned?: boolean;
29
31
  } & {
@@ -43,5 +45,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
43
45
  default?: import("vue").Slot;
44
46
  $stable?: boolean;
45
47
  }, "activator">;
46
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "customTyping" | "viewType" | "previewType" | "textBlueprint" | "typographyBlueprint" | "breakpoint" | "showSlots" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
48
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "customTyping" | "viewType" | "previewType" | "textBlueprint" | "typographyBlueprint" | "breakpoint" | "showSlots" | "clearable" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
47
49
  export default _default;
@@ -16,17 +16,36 @@ export declare const useTextStyleConfigurationStore: () => {
16
16
  actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
17
17
  init(): Promise<void>;
18
18
  save: (configurations: Array<TextStyleConfiguration>) => Promise<boolean>;
19
+ createNew: () => TextStyleConfiguration;
19
20
  }>;
20
21
  get: {
21
22
  configurations: {
22
23
  readonly active: TextStyleConfiguration[];
23
24
  readonly disabled: TextStyleConfiguration[];
24
25
  readonly default: TextStyleConfiguration;
26
+ byId: (id: guid) => TextStyleConfiguration;
25
27
  };
26
28
  textStyling: {
27
29
  byId: (id: guid) => Readonly<import("../..").StylexValue>;
28
30
  byConfiguration: (configuration: TextStyleConfiguration) => Readonly<import("../..").StylexValue>;
29
31
  default: () => Readonly<import("../..").StylexValue>;
32
+ object: (id: guid) => {
33
+ baseStyles: {
34
+ fontFamily: string;
35
+ fontSize: string;
36
+ fontWeight: number;
37
+ lineHeight: string;
38
+ fontStyle: string;
39
+ textTransform: any;
40
+ letterSpacing: string;
41
+ textDecoration: string;
42
+ $nest: {};
43
+ };
44
+ mediumStyles: any;
45
+ smallStyles: any;
46
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
47
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
48
+ };
30
49
  };
31
50
  };
32
51
  deactivated(): void;
@@ -58,6 +58,23 @@ export declare function useThemeStyling(): {
58
58
  queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
59
59
  queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
60
60
  };
61
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
62
+ baseStyles: {
63
+ fontFamily: string;
64
+ fontSize: string;
65
+ fontWeight: number;
66
+ lineHeight: string;
67
+ fontStyle: string;
68
+ textTransform: any;
69
+ letterSpacing: string;
70
+ textDecoration: string;
71
+ $nest: {};
72
+ };
73
+ mediumStyles: any;
74
+ smallStyles: any;
75
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
76
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
77
+ };
61
78
  };
62
79
  spacing: {
63
80
  paddingStylex: (value: Spacing | SpacingValue, blueprint?: ReturnType<typeof useSpacingBlueprintStore>) => import("../..").StylexValue;
@@ -54,6 +54,7 @@ export declare const typographyStyles: {
54
54
  typographyTypeStyling: typeof typographyTypeStyling;
55
55
  typographyStyling: typeof typographyStyling;
56
56
  typographyStylingFromValue: typeof typographyStylingByValue;
57
+ typographyStylingObjectFromValue: typeof typographyStylingObjectByValue;
57
58
  };
58
59
  export interface TypographyTypesResult {
59
60
  display: {
@@ -105,6 +106,23 @@ export interface TypographyTypesResult {
105
106
  typographyType: (typographyType: string) => string;
106
107
  }
107
108
  declare function typographyStylingByValue(value: TextStyleValue, blueprint: TypographyBlueprint): string;
109
+ declare function typographyStylingObjectByValue(value: TextStyleValue, blueprint: TypographyBlueprint): {
110
+ baseStyles: {
111
+ fontFamily: string;
112
+ fontSize: string;
113
+ fontWeight: number;
114
+ lineHeight: string;
115
+ fontStyle: string;
116
+ textTransform: any;
117
+ letterSpacing: string;
118
+ textDecoration: string;
119
+ $nest: {};
120
+ };
121
+ mediumStyles: any;
122
+ smallStyles: any;
123
+ queryOnSmallScreen: MediaQuery;
124
+ queryOnMediumScreen: MediaQuery;
125
+ };
108
126
  declare function typographyTypeStyling(typographyType: TextStyleTypes | TextStyleType, size: TextStyleSize | TextStyleSizes, blueprint: TypographyBlueprint): {
109
127
  baseStyles: {
110
128
  fontFamily: string;
@@ -50,6 +50,23 @@ export declare const EditorChromeStyles: {
50
50
  queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
51
51
  queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
52
52
  };
53
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
54
+ baseStyles: {
55
+ fontFamily: string;
56
+ fontSize: string;
57
+ fontWeight: number;
58
+ lineHeight: string;
59
+ fontStyle: string;
60
+ textTransform: any;
61
+ letterSpacing: string;
62
+ textDecoration: string;
63
+ $nest: {};
64
+ };
65
+ mediumStyles: any;
66
+ smallStyles: any;
67
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
68
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
69
+ };
53
70
  };
54
71
  spacing: {
55
72
  paddingStylex: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue, blueprint?: ReturnType<typeof import("../").useSpacingBlueprintStore>) => import("../").StylexValue;
@@ -49,6 +49,23 @@ export declare const ToolbarButtonStyles: {
49
49
  queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
50
50
  queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
51
51
  };
52
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
53
+ baseStyles: {
54
+ fontFamily: string;
55
+ fontSize: string;
56
+ fontWeight: number;
57
+ lineHeight: string;
58
+ fontStyle: string;
59
+ textTransform: any;
60
+ letterSpacing: string;
61
+ textDecoration: string;
62
+ $nest: {};
63
+ };
64
+ mediumStyles: any;
65
+ smallStyles: any;
66
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
67
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
68
+ };
52
69
  };
53
70
  spacing: {
54
71
  paddingStylex: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue, blueprint?: ReturnType<typeof import("@omnia/fx/ux").useSpacingBlueprintStore>) => import("@omnia/fx/ux").StylexValue;
@@ -49,6 +49,23 @@ export declare const ToolbarStyles: {
49
49
  queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
50
50
  queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
51
51
  };
52
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
53
+ baseStyles: {
54
+ fontFamily: string;
55
+ fontSize: string;
56
+ fontWeight: number;
57
+ lineHeight: string;
58
+ fontStyle: string;
59
+ textTransform: any;
60
+ letterSpacing: string;
61
+ textDecoration: string;
62
+ $nest: {};
63
+ };
64
+ mediumStyles: any;
65
+ smallStyles: any;
66
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
67
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
68
+ };
52
69
  };
53
70
  spacing: {
54
71
  paddingStylex: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue, blueprint?: ReturnType<typeof import("@omnia/fx/ux").useSpacingBlueprintStore>) => import("@omnia/fx/ux").StylexValue;
@@ -51,6 +51,23 @@ export declare const LayoutBlockStyles: {
51
51
  queryOnSmallScreen: MediaQuery;
52
52
  queryOnMediumScreen: MediaQuery;
53
53
  };
54
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
55
+ baseStyles: {
56
+ fontFamily: string;
57
+ fontSize: string;
58
+ fontWeight: number;
59
+ lineHeight: string;
60
+ fontStyle: string;
61
+ textTransform: any;
62
+ letterSpacing: string;
63
+ textDecoration: string;
64
+ $nest: {};
65
+ };
66
+ mediumStyles: any;
67
+ smallStyles: any;
68
+ queryOnSmallScreen: MediaQuery;
69
+ queryOnMediumScreen: MediaQuery;
70
+ };
54
71
  };
55
72
  spacing: {
56
73
  paddingStylex: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue, blueprint?: ReturnType<typeof import("@omnia/fx/ux").useSpacingBlueprintStore>) => import("@omnia/fx/ux").StylexValue;
@@ -51,6 +51,23 @@ export declare const LayoutSectionStyles: {
51
51
  queryOnSmallScreen: MediaQuery;
52
52
  queryOnMediumScreen: MediaQuery;
53
53
  };
54
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
55
+ baseStyles: {
56
+ fontFamily: string;
57
+ fontSize: string;
58
+ fontWeight: number;
59
+ lineHeight: string;
60
+ fontStyle: string;
61
+ textTransform: any;
62
+ letterSpacing: string;
63
+ textDecoration: string;
64
+ $nest: {};
65
+ };
66
+ mediumStyles: any;
67
+ smallStyles: any;
68
+ queryOnSmallScreen: MediaQuery;
69
+ queryOnMediumScreen: MediaQuery;
70
+ };
54
71
  };
55
72
  spacing: {
56
73
  paddingStylex: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue, blueprint?: ReturnType<typeof import("@omnia/fx/ux").useSpacingBlueprintStore>) => import("@omnia/fx/ux").StylexValue;
@@ -50,6 +50,23 @@ export declare const LayoutColumnRendererStyles: {
50
50
  queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
51
51
  queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
52
52
  };
53
+ typeStylingObject: (value: import("@omnia/fx-models").TextStyleValue, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
54
+ baseStyles: {
55
+ fontFamily: string;
56
+ fontSize: string;
57
+ fontWeight: number;
58
+ lineHeight: string;
59
+ fontStyle: string;
60
+ textTransform: any;
61
+ letterSpacing: string;
62
+ textDecoration: string;
63
+ $nest: {};
64
+ };
65
+ mediumStyles: any;
66
+ smallStyles: any;
67
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
68
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
69
+ };
53
70
  };
54
71
  spacing: {
55
72
  paddingStylex: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue, blueprint?: ReturnType<typeof import("@omnia/fx/ux").useSpacingBlueprintStore>) => import("@omnia/fx/ux").StylexValue;
@@ -20,5 +20,5 @@ declare const _default: <TItem extends readonly any[], TReturnObject extends boo
20
20
  default?: import("vue").Slot;
21
21
  $stable?: boolean;
22
22
  }, keyof (OSelectProps<TItem, TReturnObject> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: OSelectProps<TItem, TReturnObject>[K_3]; } : never)>;
23
- } & (OSelectProps<TItem, TReturnObject> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<OSelectProps<TItem, TReturnObject>[K_4], OSelectProps<TItem, TReturnObject>[K_4]> | ((ref: OSelectProps<TItem, TReturnObject>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "maxHeight" | "label" | "error" | "colorSchemaType" | "variant" | "class" | "multiple" | "disabled" | "rules" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "items" | "itemHeight" | "loading" | "readonly" | "errorMessages" | "hideDetails" | "hint" | "persistentHint" | "itemValue" | "searchable" | "hideSelected" | "itemTitle" | "returnObject" | "clearable" | "chips" | "hideNoData" | "menuIcon" | "multiSelectionStyle" | "emit:click:button" | "emit:update:search" | "emit:update:focused" | "slot:append-item" | "slot:prepend-inner" | "slot:append-inner" | "itemDeletable" | keyof (TReturnObject extends true ? SlotsWithReturnObject<TItem> : SlotsWithoutReturnObject)> & import("@omnia/fx/ux").VNodeEvents) => any;
23
+ } & (OSelectProps<TItem, TReturnObject> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<OSelectProps<TItem, TReturnObject>[K_4], OSelectProps<TItem, TReturnObject>[K_4]> | ((ref: OSelectProps<TItem, TReturnObject>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "maxHeight" | "label" | "error" | "colorSchemaType" | "variant" | "class" | "multiple" | "disabled" | "rules" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "items" | "itemHeight" | "loading" | "readonly" | "errorMessages" | "hideDetails" | "hint" | "persistentHint" | "itemValue" | "searchable" | "hideSelected" | "clearable" | "itemTitle" | "returnObject" | "chips" | "hideNoData" | "menuIcon" | "multiSelectionStyle" | "emit:click:button" | "emit:update:search" | "emit:update:focused" | "slot:append-item" | "slot:prepend-inner" | "slot:append-inner" | "itemDeletable" | keyof (TReturnObject extends true ? SlotsWithReturnObject<TItem> : SlotsWithoutReturnObject)> & import("@omnia/fx/ux").VNodeEvents) => any;
24
24
  export default _default;
@@ -1,2 +1,64 @@
1
1
  import "prosemirror-view/style/prosemirror.css";
2
2
  import "prosemirror-gapcursor/style/gapcursor.css";
3
+ /**
4
+ * Styles for the RichTextEditor component
5
+ */
6
+ export declare const TextStyling: {
7
+ textStyleStore: {
8
+ state: {
9
+ configurations: import("@omnia/fx-models").TextStyleConfiguration[];
10
+ hasMigrations: boolean;
11
+ };
12
+ events: import("../mobile").StoreEvents<{
13
+ configurations: import("@omnia/fx-models").TextStyleConfiguration[];
14
+ hasMigrations: boolean;
15
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
16
+ rules: {};
17
+ actions: import("../mobile").StoreReturnDefineAction<{
18
+ init(): Promise<void>;
19
+ save: (configurations: Array<import("@omnia/fx-models").TextStyleConfiguration>) => Promise<boolean>;
20
+ createNew: () => import("@omnia/fx-models").TextStyleConfiguration;
21
+ }>;
22
+ get: {
23
+ configurations: {
24
+ readonly active: import("@omnia/fx-models").TextStyleConfiguration[];
25
+ readonly disabled: import("@omnia/fx-models").TextStyleConfiguration[];
26
+ readonly default: import("@omnia/fx-models").TextStyleConfiguration;
27
+ byId: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
28
+ };
29
+ textStyling: {
30
+ byId: (id: import("@omnia/fx-models").guid) => Readonly<import("@omnia/fx/ux").StylexValue>;
31
+ byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) => Readonly<import("@omnia/fx/ux").StylexValue>;
32
+ default: () => Readonly<import("@omnia/fx/ux").StylexValue>;
33
+ object: (id: import("@omnia/fx-models").guid) => {
34
+ baseStyles: {
35
+ fontFamily: string;
36
+ fontSize: string;
37
+ fontWeight: number;
38
+ lineHeight: string;
39
+ fontStyle: string;
40
+ textTransform: any;
41
+ letterSpacing: string;
42
+ textDecoration: string;
43
+ $nest: {};
44
+ };
45
+ mediumStyles: any;
46
+ smallStyles: any;
47
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
48
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
49
+ };
50
+ };
51
+ };
52
+ deactivated(): void;
53
+ } & {
54
+ dispose?: () => void;
55
+ };
56
+ containerQueries: {
57
+ breakPoint: (styles: import("typestyle/lib/types").NestedCSSProperties, breakPoint: {
58
+ maxWidth?: number;
59
+ minWidth?: number;
60
+ }, name?: import("@omnia/fx-models").ContainerBreakpointTypes) => {};
61
+ device: (styles: import("typestyle/lib/types").NestedCSSProperties, breakpoint: import("@omnia/fx-models").DisplayBreakpointTypes) => {};
62
+ };
63
+ default: () => string;
64
+ };
@@ -1 +1,59 @@
1
- export {};
1
+ export declare const TextStyling: {
2
+ textStyleStore: {
3
+ state: {
4
+ configurations: import("@omnia/fx-models").TextStyleConfiguration[];
5
+ hasMigrations: boolean;
6
+ };
7
+ events: import("../mobile").StoreEvents<{
8
+ configurations: import("@omnia/fx-models").TextStyleConfiguration[];
9
+ hasMigrations: boolean;
10
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
11
+ rules: {};
12
+ actions: import("../mobile").StoreReturnDefineAction<{
13
+ init(): Promise<void>;
14
+ save: (configurations: Array<import("@omnia/fx-models").TextStyleConfiguration>) => Promise<boolean>;
15
+ createNew: () => import("@omnia/fx-models").TextStyleConfiguration;
16
+ }>;
17
+ get: {
18
+ configurations: {
19
+ readonly active: import("@omnia/fx-models").TextStyleConfiguration[];
20
+ readonly disabled: import("@omnia/fx-models").TextStyleConfiguration[];
21
+ readonly default: import("@omnia/fx-models").TextStyleConfiguration;
22
+ byId: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
23
+ };
24
+ textStyling: {
25
+ byId: (id: import("@omnia/fx-models").guid) => Readonly<import("internal/fx/ux").StylexValue>;
26
+ byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) => Readonly<import("internal/fx/ux").StylexValue>;
27
+ default: () => Readonly<import("internal/fx/ux").StylexValue>;
28
+ object: (id: import("@omnia/fx-models").guid) => {
29
+ baseStyles: {
30
+ fontFamily: string;
31
+ fontSize: string;
32
+ fontWeight: number;
33
+ lineHeight: string;
34
+ fontStyle: string;
35
+ textTransform: any;
36
+ letterSpacing: string;
37
+ textDecoration: string;
38
+ $nest: {};
39
+ };
40
+ mediumStyles: any;
41
+ smallStyles: any;
42
+ queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
43
+ queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
44
+ };
45
+ };
46
+ };
47
+ deactivated(): void;
48
+ } & {
49
+ dispose?: () => void;
50
+ };
51
+ containerQueries: {
52
+ breakPoint: (styles: import("typestyle/lib/types").NestedCSSProperties, breakPoint: {
53
+ maxWidth?: number;
54
+ minWidth?: number;
55
+ }, name?: import("@omnia/fx-models").ContainerBreakpointTypes) => {};
56
+ device: (styles: import("typestyle/lib/types").NestedCSSProperties, breakpoint: import("@omnia/fx-models").DisplayBreakpointTypes) => {};
57
+ };
58
+ default: () => string;
59
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.538-dev",
4
+ "version": "8.0.539-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": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.538-dev",
23
+ "@omnia/fx-models": "8.0.539-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,3 +0,0 @@
1
- export declare const HeadingToolbarStyles: {
2
- wrapper: string;
3
- };