@omnia/fx 8.0.402-dev → 8.0.403-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.
@@ -1,4 +1,10 @@
1
- import { FillDefinition, guid, ITemplateRegistration, TypographyBlueprint, TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyFontDefinition, IFontBlueprints, TypographyFontRef, BlueprintVariant } from "@omnia/fx-models";
1
+ import { guid, ITemplateRegistration, TypographyBlueprint, TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyFontDefinition, IFontBlueprints, TypographyFontRef, BlueprintVariant, FontAwesomeIcon } from "@omnia/fx-models";
2
+ export interface BreakpointItem {
3
+ icon: FontAwesomeIcon;
4
+ title: string;
5
+ active: boolean;
6
+ breakpoint: "sm" | "md" | "lg";
7
+ }
2
8
  export declare const useTypographyEditorStore: () => {
3
9
  state: {
4
10
  blueprintRegistration: ITemplateRegistration<TypographyBlueprint>;
@@ -12,8 +18,7 @@ export declare const useTypographyEditorStore: () => {
12
18
  size: TextStyleSizes;
13
19
  definition: TextStyleDefinition;
14
20
  };
15
- selectedFill: FillDefinition;
16
- selectedFillVariant: BlueprintVariant;
21
+ selectedBreakpoint: BreakpointItem;
17
22
  };
18
23
  events: import("@omnia/fx/stores").StoreEvents<{
19
24
  blueprintRegistration: ITemplateRegistration<TypographyBlueprint>;
@@ -27,8 +32,7 @@ export declare const useTypographyEditorStore: () => {
27
32
  size: TextStyleSizes;
28
33
  definition: TextStyleDefinition;
29
34
  };
30
- selectedFill: FillDefinition;
31
- selectedFillVariant: BlueprintVariant;
35
+ selectedBreakpoint: BreakpointItem;
32
36
  }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
33
37
  actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
34
38
  calculate(): {
@@ -59,7 +63,23 @@ export declare const useTypographyEditorStore: () => {
59
63
  scale: (type: "sm" | "md" | "lg") => number;
60
64
  };
61
65
  };
62
- definitionType: () => import("@omnia/fx-models").VariantBlueprints<FillDefinition> | import("@omnia/fx-models").VariantBlueprints<TextStyleDefinition> | {
66
+ definitionType: () => import("@omnia/fx-models").VariantBlueprints<import("@omnia/fx-models").FillDefinition> | {
67
+ baseFontSize?: import("@omnia/fx-models").BaseScaleBreakpoint;
68
+ scale?: import("@omnia/fx-models").BaseScaleBreakpoint;
69
+ lineHeightMultiplier?: import("@omnia/fx-models").BaseScaleBreakpoint;
70
+ styles: {
71
+ s1: TextStyleDefinition;
72
+ s2: TextStyleDefinition;
73
+ s3: TextStyleDefinition;
74
+ s4: TextStyleDefinition;
75
+ s5: TextStyleDefinition;
76
+ s6: TextStyleDefinition;
77
+ s7: TextStyleDefinition;
78
+ s8: TextStyleDefinition;
79
+ s9: TextStyleDefinition;
80
+ s10: TextStyleDefinition;
81
+ };
82
+ } | import("@omnia/fx-models").VariantBlueprints<TextStyleDefinition> | {
63
83
  xl: TextStyleDefinition;
64
84
  l: TextStyleDefinition;
65
85
  m: TextStyleDefinition;
@@ -98,6 +118,14 @@ export declare const useTypographyEditorStore: () => {
98
118
  editScaleBlade: guid;
99
119
  settingsBlade: guid;
100
120
  };
121
+ rules: {
122
+ breakpoint: {
123
+ isActive: (size: "lg" | "md" | "sm") => boolean;
124
+ };
125
+ };
126
+ dataTypes: {
127
+ breakpoints: BreakpointItem[];
128
+ };
101
129
  } & {
102
130
  dispose?: () => void;
103
131
  };
@@ -18,7 +18,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
18
18
  themeType?: ThemeContextType;
19
19
  } & DefineEmit<"click:select", (typography: TextStyleType, size: TextStyleSizes) => true> & DefineEmit<"click:selectFill", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true> & DefineEmit<"click:addFill", () => true>> & {
20
20
  "onClick:add"?: () => any;
21
- "onClick:select"?: (typography: "title" | "text" | "navigation" | "label" | "variants" | "fills", size: TextStyleSizes) => any;
21
+ "onClick:select"?: (typography: "title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale", size: TextStyleSizes) => any;
22
22
  "onClick:selectFill"?: (variant: BlueprintVariant) => any;
23
23
  "onClick:addFill"?: () => any;
24
24
  } & {
@@ -14,11 +14,8 @@ declare const _default: {
14
14
  sampleText: {
15
15
  type: import("vue").PropType<string>;
16
16
  };
17
- forceCustomSize: {
18
- type: import("vue").PropType<boolean>;
19
- };
20
- enableName: {
21
- type: import("vue").PropType<boolean>;
17
+ textStyleType: {
18
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale">;
22
19
  };
23
20
  variant: {
24
21
  type: import("vue").PropType<EditorVariant>;
@@ -112,11 +109,8 @@ declare const _default: {
112
109
  sampleText: {
113
110
  type: import("vue").PropType<string>;
114
111
  };
115
- forceCustomSize: {
116
- type: import("vue").PropType<boolean>;
117
- };
118
- enableName: {
119
- type: import("vue").PropType<boolean>;
112
+ textStyleType: {
113
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale">;
120
114
  };
121
115
  variant: {
122
116
  type: import("vue").PropType<EditorVariant>;
@@ -205,11 +199,8 @@ declare const _default: {
205
199
  sampleText: {
206
200
  type: import("vue").PropType<string>;
207
201
  };
208
- forceCustomSize: {
209
- type: import("vue").PropType<boolean>;
210
- };
211
- enableName: {
212
- type: import("vue").PropType<boolean>;
202
+ textStyleType: {
203
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale">;
213
204
  };
214
205
  variant: {
215
206
  type: import("vue").PropType<EditorVariant>;
@@ -358,8 +349,7 @@ declare const _default: {
358
349
  "v-model"?: TextStyleDefinition;
359
350
  sampleText?: string;
360
351
  toolbarCallback?: (value: () => VNodeChild) => void;
361
- enableName?: boolean;
362
- forceCustomSize?: boolean;
352
+ textStyleType?: "title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale";
363
353
  }>, "onClick:confirm"> & {
364
354
  "onClick:confirm"?: (model: TextStyleDefinition) => any;
365
355
  };
@@ -9,7 +9,7 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
9
9
  } & {
10
10
  themeType?: ThemeContextType;
11
11
  } & DefineEmit<"click:select", (typography: TextStyleType, size: TextStyleSizes) => true> & DefineEmit<"click:selectFill", (variant: BlueprintVariant) => true>> & {
12
- "onClick:select"?: (typography: "title" | "text" | "navigation" | "label" | "variants" | "fills", size: TextStyleSizes) => any;
12
+ "onClick:select"?: (typography: "title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale", size: TextStyleSizes) => any;
13
13
  "onClick:selectFill"?: (variant: BlueprintVariant) => any;
14
14
  } & {
15
15
  "v-slots"?: {} & Omit<{
@@ -0,0 +1,63 @@
1
+ import { FontAwesomeIcon, TextStyleBreakPoint, TextStyleDefinition } from "@omnia/fx-models";
2
+ export interface BreakpointItem {
3
+ icon: FontAwesomeIcon;
4
+ title: string;
5
+ active: boolean;
6
+ breakpoint: "sm" | "md" | "lg";
7
+ }
8
+ export declare const useTypographyEditorStore: () => {
9
+ state: {
10
+ internalModel: TextStyleDefinition;
11
+ breakpoint: {
12
+ large: TextStyleBreakPoint;
13
+ medium: TextStyleBreakPoint;
14
+ small: TextStyleBreakPoint;
15
+ };
16
+ selectedBreakpoint: BreakpointItem;
17
+ settings: {
18
+ textStyleType: "title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale";
19
+ };
20
+ };
21
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
22
+ set: () => {
23
+ fontSize: (value: number) => void;
24
+ lineHeight: (value: number) => void;
25
+ fontWeight: (value: number) => void;
26
+ letterSpacing: (value: number) => void;
27
+ };
28
+ breakPoint: () => {
29
+ selected: {
30
+ enable: (value: boolean) => void;
31
+ set: {
32
+ custom: (value: boolean) => void;
33
+ };
34
+ };
35
+ clean: (key: string) => void;
36
+ ensure: (key: string) => void;
37
+ };
38
+ initState: (model: TextStyleDefinition) => void;
39
+ }>;
40
+ get: {
41
+ selection: {
42
+ breakpoint: {
43
+ readonly definition: TextStyleBreakPoint;
44
+ };
45
+ };
46
+ };
47
+ rules: {
48
+ readonly showEnableBreakpoint: boolean;
49
+ show: {
50
+ readonly customSizeSwitch: boolean;
51
+ readonly name: boolean;
52
+ readonly upperCaseAndItalicSettings: boolean;
53
+ readonly fontSizeAndLineHeight: boolean;
54
+ readonly letterSpacing: boolean;
55
+ readonly fontWeight: boolean;
56
+ };
57
+ };
58
+ dataTypes: {
59
+ breakpoints: BreakpointItem[];
60
+ };
61
+ } & {
62
+ dispose?: () => void;
63
+ };
@@ -1,113 +1,137 @@
1
- import { FillDefinition, TypographyBlueprint, TextStyleDefinition, TypographyFontRef, guid } from "@omnia/fx-models";
1
+ import { TypographyBlueprint, guid } from "@omnia/fx-models";
2
2
  export declare class DefaultDocTypographyBlueprints implements TypographyBlueprint {
3
3
  id: guid;
4
4
  name: string;
5
5
  constructor();
6
6
  }
7
7
  export declare class DocumentationTypography implements TypographyBlueprint {
8
- font?: TypographyFontRef;
9
- fills?: {
10
- variant1?: FillDefinition;
11
- variant2?: FillDefinition;
12
- variant3?: FillDefinition;
13
- };
14
- variant: {
15
- one: TextStyleDefinition;
16
- two: TextStyleDefinition;
17
- three: TextStyleDefinition;
18
- four: TextStyleDefinition;
8
+ font: {
9
+ cdn: "https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap";
10
+ family: "shadows into light";
19
11
  };
20
12
  name: string;
21
13
  id: guid;
14
+ typeScale: {
15
+ baseFontSize: {
16
+ lg: number;
17
+ md: number;
18
+ sm: number;
19
+ };
20
+ scale: {
21
+ lg: number;
22
+ md: number;
23
+ sm: number;
24
+ };
25
+ lineHeightMultiplier: {
26
+ lg: number;
27
+ md: number;
28
+ sm: number;
29
+ };
30
+ styles: {
31
+ s1: any;
32
+ s2: any;
33
+ s3: any;
34
+ s4: any;
35
+ s5: any;
36
+ s6: any;
37
+ s7: any;
38
+ s8: any;
39
+ s9: any;
40
+ s10: any;
41
+ };
42
+ };
22
43
  title: {
23
44
  xl: {
45
+ scale: number;
24
46
  lg: {
25
- size: number;
26
- lineHeight: number;
27
47
  weight: number;
28
48
  };
29
49
  };
30
50
  l: {
51
+ scale: number;
31
52
  lg: {
32
- size: number;
33
- lineHeight: number;
34
53
  weight: number;
35
54
  };
36
55
  };
37
56
  m: {
57
+ scale: number;
38
58
  lg: {
39
- size: number;
40
- lineHeight: number;
41
59
  weight: number;
42
60
  };
43
61
  };
44
62
  s: {
63
+ scale: number;
45
64
  lg: {
46
- size: number;
47
- lineHeight: number;
48
65
  weight: number;
49
66
  };
50
67
  };
51
68
  xs: {
69
+ scale: number;
52
70
  lg: {
53
- size: number;
54
- lineHeight: number;
55
71
  weight: number;
56
72
  };
57
73
  };
58
74
  };
59
75
  text: {
76
+ xl: {
77
+ scale: number;
78
+ lg: {
79
+ weight: number;
80
+ };
81
+ };
60
82
  l: {
83
+ scale: number;
61
84
  lg: {
62
- size: number;
63
- lineHeight: number;
64
85
  weight: number;
65
86
  };
66
87
  };
67
88
  m: {
89
+ scale: number;
68
90
  lg: {
69
- size: number;
70
- lineHeight: number;
71
91
  weight: number;
72
92
  };
73
93
  };
74
94
  s: {
95
+ scale: number;
75
96
  lg: {
76
- size: number;
77
- lineHeight: number;
78
97
  weight: number;
79
98
  };
80
99
  };
81
100
  xs: {
101
+ scale: number;
82
102
  lg: {
83
- size: number;
84
- lineHeight: number;
85
103
  weight: number;
86
104
  };
87
105
  };
88
106
  };
89
- navigation: {
107
+ label: {
108
+ xl: {
109
+ scale: number;
110
+ lg: {
111
+ weight: number;
112
+ };
113
+ };
90
114
  l: {
115
+ scale: number;
91
116
  lg: {
92
- size: number;
93
- lineHeight: number;
94
117
  weight: number;
95
118
  };
96
119
  };
97
120
  m: {
121
+ scale: number;
98
122
  lg: {
99
- size: number;
100
- lineHeight: number;
101
123
  weight: number;
102
124
  };
103
125
  };
104
- };
105
- link: {
106
- m: {
107
- decoration: string;
126
+ s: {
127
+ scale: number;
128
+ lg: {
129
+ weight: number;
130
+ };
131
+ };
132
+ xs: {
133
+ scale: number;
108
134
  lg: {
109
- size: number;
110
- lineHeight: number;
111
135
  weight: number;
112
136
  };
113
137
  };
@@ -41,7 +41,7 @@ export declare function useThemeStyling(): {
41
41
  typeStylex: typeof TypographyStyling.typographyTypeStylex;
42
42
  stylex: typeof TypographyStyling.typographyStylex;
43
43
  fontStyling: typeof import("./styles/Typography").fontStyling;
44
- typeStyling: (typographyType: import("@omnia/fx-models").TextStyleTypes, size: import("@omnia/fx-models").TextStyleSize, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
44
+ typeStyling: (typographyType: import("@omnia/fx-models").TextStyleTypes | import("@omnia/fx-models").TextStyleType, size: import("@omnia/fx-models").TextStyleSize | import("@omnia/fx-models").TextStyleSizes, blueprint: import("@omnia/fx-models").TypographyBlueprint) => {
45
45
  baseStyles: {
46
46
  fontFamily: string;
47
47
  fontSize: string;
@@ -1,4 +1,4 @@
1
- import { TypographyBlueprint, TextStyleSize, TextStyleTypes, TextStyleValue } from "@omnia/fx-models";
1
+ import { TypographyBlueprint, TextStyleSize, TextStyleSizes, TextStyleTypes, TextStyleValue, TextStyleType } from "@omnia/fx-models";
2
2
  import { MediaQuery } from "typestyle/lib/types";
3
3
  import { useTypographyBlueprintStore } from "../../store";
4
4
  export declare namespace TypographyStyling {
@@ -70,7 +70,7 @@ export interface TypographyTypesResult {
70
70
  typographyType: (typographyType: string) => string;
71
71
  }
72
72
  declare function typographyStylingByValue(value: TextStyleValue, blueprint: TypographyBlueprint): string;
73
- declare function typographyTypeStyling(typographyType: TextStyleTypes, size: TextStyleSize, blueprint: TypographyBlueprint): {
73
+ declare function typographyTypeStyling(typographyType: TextStyleTypes | TextStyleType, size: TextStyleSize | TextStyleSizes, blueprint: TypographyBlueprint): {
74
74
  baseStyles: {
75
75
  fontFamily: string;
76
76
  fontSize: string;
@@ -2,7 +2,7 @@ import { DateTimeZone } from "@omnia/fx/models";
2
2
  declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  size: {
5
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
5
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
6
6
  };
7
7
  showTimeZone: {
8
8
  type: import("vue").PropType<boolean>;
@@ -33,7 +33,7 @@ declare const _default: {
33
33
  Defaults: {};
34
34
  }, Readonly<import("vue").ExtractPropTypes<{
35
35
  size: {
36
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
36
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
37
37
  };
38
38
  showTimeZone: {
39
39
  type: import("vue").PropType<boolean>;
@@ -61,7 +61,7 @@ declare const _default: {
61
61
  __isSuspense?: never;
62
62
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
63
63
  size: {
64
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
64
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
65
65
  };
66
66
  showTimeZone: {
67
67
  type: import("vue").PropType<boolean>;
@@ -87,7 +87,7 @@ declare const _default: {
87
87
  propsDefinition: Omit<Readonly<{} & {
88
88
  label?: string;
89
89
  variant?: "time" | "date" | "date-time";
90
- size?: "l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
90
+ size?: "l" | "s" | "xs" | "m" | "xl" | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10";
91
91
  value?: DateTimeZone<string>;
92
92
  dateFormat?: string;
93
93
  showTimeZone?: boolean;
@@ -12,10 +12,10 @@ declare const _default: {
12
12
  type: import("vue").PropType<TextBlueprint>;
13
13
  };
14
14
  size: {
15
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
15
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
16
16
  };
17
17
  typography: {
18
- type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes>;
18
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes>;
19
19
  };
20
20
  placeholder: {
21
21
  type: import("vue").PropType<string>;
@@ -130,10 +130,10 @@ declare const _default: {
130
130
  type: import("vue").PropType<TextBlueprint>;
131
131
  };
132
132
  size: {
133
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
133
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
134
134
  };
135
135
  typography: {
136
- type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes>;
136
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes>;
137
137
  };
138
138
  placeholder: {
139
139
  type: import("vue").PropType<string>;
@@ -245,10 +245,10 @@ declare const _default: {
245
245
  type: import("vue").PropType<TextBlueprint>;
246
246
  };
247
247
  size: {
248
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
248
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
249
249
  };
250
250
  typography: {
251
- type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes>;
251
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes>;
252
252
  };
253
253
  placeholder: {
254
254
  type: import("vue").PropType<string>;
@@ -408,10 +408,10 @@ declare const _default: {
408
408
  };
409
409
  }>;
410
410
  };
411
- typography?: "title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes;
411
+ typography?: "title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes;
412
412
  blueprint?: TextBlueprint;
413
413
  container?: boolean;
414
- size?: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
414
+ size?: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10";
415
415
  colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
416
416
  plugins?: [object];
417
417
  hideToolbar?: boolean;
@@ -5,10 +5,10 @@ declare const _default: {
5
5
  type: import("vue").PropType<TextBlueprint>;
6
6
  };
7
7
  size: {
8
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
8
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
9
9
  };
10
10
  typography: {
11
- type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes>;
11
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes>;
12
12
  };
13
13
  toned: {
14
14
  type: import("vue").PropType<boolean>;
@@ -29,10 +29,10 @@ declare const _default: {
29
29
  type: import("vue").PropType<TextBlueprint>;
30
30
  };
31
31
  size: {
32
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
32
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
33
33
  };
34
34
  typography: {
35
- type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes>;
35
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes>;
36
36
  };
37
37
  toned: {
38
38
  type: import("vue").PropType<boolean>;
@@ -50,10 +50,10 @@ declare const _default: {
50
50
  type: import("vue").PropType<TextBlueprint>;
51
51
  };
52
52
  size: {
53
- type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8">;
53
+ type: import("vue").PropType<"l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10">;
54
54
  };
55
55
  typography: {
56
- type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes>;
56
+ type: import("vue").PropType<"title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes>;
57
57
  };
58
58
  toned: {
59
59
  type: import("vue").PropType<boolean>;
@@ -66,9 +66,9 @@ declare const _default: {
66
66
  propsDefinition: Omit<Readonly<{
67
67
  value: string;
68
68
  } & {
69
- typography?: "title" | "text" | "navigation" | "label" | "variants" | "fills" | TextStyleTypes;
69
+ typography?: "title" | "text" | "navigation" | "label" | "variants" | "fills" | "typeScale" | TextStyleTypes;
70
70
  blueprint?: TextBlueprint;
71
- size?: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
71
+ size?: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10";
72
72
  toned?: boolean;
73
73
  }>, never>;
74
74
  };
@@ -3,7 +3,7 @@ export declare const usePanelStore: () => {
3
3
  get: {
4
4
  typography: {
5
5
  readonly type: TextStyleTypes;
6
- readonly size: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
6
+ readonly size: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10";
7
7
  readonly toned: boolean;
8
8
  };
9
9
  readonly margin: Spacing | SpacingValue;
@@ -16,7 +16,7 @@ export declare const usePanelStore: () => {
16
16
  padding: SpacingValue | Spacing;
17
17
  margin: SpacingValue | Spacing;
18
18
  title: string;
19
- titleSize: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
19
+ titleSize: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8" | "scale1" | "scale2" | "scale3" | "scale4" | "scale5" | "scale6" | "scale7" | "scale8" | "scale9" | "scale10";
20
20
  toned: boolean;
21
21
  };
22
22
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.402-dev",
4
+ "version": "8.0.403-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.402-dev",
23
+ "@omnia/fx-models": "8.0.403-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",