@omnia/fx 8.0.112-dev → 8.0.113-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.
- package/internal-do-not-import-from-here/shared/models/theming/ChromeDefinition.d.ts +2 -11
- package/internal-do-not-import-from-here/shared/models/theming/ComponentDefinitions.d.ts +3 -7
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +16 -3
- package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.css.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.d.ts +161 -0
- package/internal-do-not-import-from-here/ux/borderpicker/BorderPreview.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/docs/omfx/components/docs/Properties.d.ts +50 -15
- package/internal-do-not-import-from-here/ux/docs/omfx/components/docs/VModel.d.ts +58 -345
- package/internal-do-not-import-from-here/ux/docs/omfx/directives/docs/UseClickInSide.d.ts +50 -15
- package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyConfiguration.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{backgroundpicker/BackgroundPicker.css.d.ts → fillpicker/FillPicker.css.d.ts} +2 -1
- package/internal-do-not-import-from-here/ux/{backgroundpicker/BackgroundPicker.d.ts → fillpicker/FillPicker.d.ts} +44 -23
- package/internal-do-not-import-from-here/ux/{backgroundpicker/BackgroundPreview.d.ts → fillpicker/FillPreview.d.ts} +16 -16
- package/internal-do-not-import-from-here/ux/fillpicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/fillpicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/ColorSettings.d.ts +23 -23
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +18 -10
- package/internal-do-not-import-from-here/ux/oxide/avatar/Avatar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.css.d.ts +10 -2
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +53 -11
- package/internal-do-not-import-from-here/ux/oxide/treeview/docs/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageEditor.css.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/DefinitionsChrome.d.ts +10 -82
- package/internal-do-not-import-from-here/ux/theming-v2/styling/UseStyling.d.ts +586 -19
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Blueprints.d.ts +20 -15
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Chrome.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Colors.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Spacing.d.ts +7 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +36 -12
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/oxide/treeview/docs/ExampleComponentsMenu.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/docs/SampleComponentMenu.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/oxide/treeview/docs/SampleVariants.d.ts +0 -16
- /package/internal-do-not-import-from-here/ux/{backgroundpicker/docs/BackgroundPickerExample.d.ts → borderpicker/docs/BorderPickerExample.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{backgroundpicker → borderpicker}/docs/ExampleComponents.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{backgroundpicker → borderpicker}/docs/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{oxide/treeview/docs/SampleButtons.d.ts → fillpicker/docs/FillPickerExample.d.ts} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IIcon } from "@omnia/fx-models";
|
1
|
+
import { IIcon, SpacingSettings, SpacingType } from "@omnia/fx-models";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
export interface TextFieldModel {
|
4
4
|
text: String;
|
@@ -17,6 +17,16 @@ declare const _default: {
|
|
17
17
|
appendInnerItem?: (item: any, index: Number) => VNodeChild;
|
18
18
|
itemToolTip?: (item: any) => VNodeChild;
|
19
19
|
}>;
|
20
|
+
indentation: {
|
21
|
+
type: import("vue").PropType<number | SpacingType>;
|
22
|
+
} & {
|
23
|
+
type: import("vue").PropType<number | SpacingType>;
|
24
|
+
};
|
25
|
+
padding: {
|
26
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
27
|
+
} & {
|
28
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
29
|
+
};
|
20
30
|
"check-node-to-move": {
|
21
31
|
type: import("vue").PropType<(item: any) => boolean>;
|
22
32
|
};
|
@@ -30,10 +40,10 @@ declare const _default: {
|
|
30
40
|
type: import("vue").PropType<(item: any, currentPosition: number, newPosition: number) => void | Promise<void>>;
|
31
41
|
};
|
32
42
|
"load-children": {
|
33
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
43
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
34
44
|
};
|
35
45
|
loadChildren: {
|
36
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
46
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
37
47
|
};
|
38
48
|
itemChildren: {
|
39
49
|
type: import("vue").PropType<string>;
|
@@ -129,6 +139,16 @@ declare const _default: {
|
|
129
139
|
appendInnerItem?: (item: any, index: Number) => VNodeChild;
|
130
140
|
itemToolTip?: (item: any) => VNodeChild;
|
131
141
|
}>;
|
142
|
+
indentation: {
|
143
|
+
type: import("vue").PropType<number | SpacingType>;
|
144
|
+
} & {
|
145
|
+
type: import("vue").PropType<number | SpacingType>;
|
146
|
+
};
|
147
|
+
padding: {
|
148
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
149
|
+
} & {
|
150
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
151
|
+
};
|
132
152
|
"check-node-to-move": {
|
133
153
|
type: import("vue").PropType<(item: any) => boolean>;
|
134
154
|
};
|
@@ -142,10 +162,10 @@ declare const _default: {
|
|
142
162
|
type: import("vue").PropType<(item: any, currentPosition: number, newPosition: number) => void | Promise<void>>;
|
143
163
|
};
|
144
164
|
"load-children": {
|
145
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
165
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
146
166
|
};
|
147
167
|
loadChildren: {
|
148
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
168
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
149
169
|
};
|
150
170
|
itemChildren: {
|
151
171
|
type: import("vue").PropType<string>;
|
@@ -250,6 +270,16 @@ declare const _default: {
|
|
250
270
|
appendInnerItem?: (item: any, index: Number) => VNodeChild;
|
251
271
|
itemToolTip?: (item: any) => VNodeChild;
|
252
272
|
}>;
|
273
|
+
indentation: {
|
274
|
+
type: import("vue").PropType<number | SpacingType>;
|
275
|
+
} & {
|
276
|
+
type: import("vue").PropType<number | SpacingType>;
|
277
|
+
};
|
278
|
+
padding: {
|
279
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
280
|
+
} & {
|
281
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
282
|
+
};
|
253
283
|
"check-node-to-move": {
|
254
284
|
type: import("vue").PropType<(item: any) => boolean>;
|
255
285
|
};
|
@@ -263,10 +293,10 @@ declare const _default: {
|
|
263
293
|
type: import("vue").PropType<(item: any, currentPosition: number, newPosition: number) => void | Promise<void>>;
|
264
294
|
};
|
265
295
|
"load-children": {
|
266
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
296
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
267
297
|
};
|
268
298
|
loadChildren: {
|
269
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
299
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
270
300
|
};
|
271
301
|
itemChildren: {
|
272
302
|
type: import("vue").PropType<string>;
|
@@ -368,6 +398,16 @@ declare const _default: {
|
|
368
398
|
appendInnerItem?: (item: any, index: Number) => VNodeChild;
|
369
399
|
itemToolTip?: (item: any) => VNodeChild;
|
370
400
|
}>;
|
401
|
+
indentation: {
|
402
|
+
type: import("vue").PropType<number | SpacingType>;
|
403
|
+
} & {
|
404
|
+
type: import("vue").PropType<number | SpacingType>;
|
405
|
+
};
|
406
|
+
padding: {
|
407
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
408
|
+
} & {
|
409
|
+
type: import("vue").PropType<SpacingSettings | SpacingType>;
|
410
|
+
};
|
371
411
|
"check-node-to-move": {
|
372
412
|
type: import("vue").PropType<(item: any) => boolean>;
|
373
413
|
};
|
@@ -381,10 +421,10 @@ declare const _default: {
|
|
381
421
|
type: import("vue").PropType<(item: any, currentPosition: number, newPosition: number) => void | Promise<void>>;
|
382
422
|
};
|
383
423
|
"load-children": {
|
384
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
424
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
385
425
|
};
|
386
426
|
loadChildren: {
|
387
|
-
type: import("vue").PropType<(selectedNode: any) => void | Promise<void>>;
|
427
|
+
type: import("vue").PropType<(selectedNode: any, level?: number) => void | Promise<void>>;
|
388
428
|
};
|
389
429
|
itemChildren: {
|
390
430
|
type: import("vue").PropType<string>;
|
@@ -483,6 +523,7 @@ declare const _default: {
|
|
483
523
|
colorSchemaType?: any;
|
484
524
|
colors?: any;
|
485
525
|
} & {
|
526
|
+
padding?: SpacingSettings | SpacingType;
|
486
527
|
expanded?: any[];
|
487
528
|
multiple?: boolean;
|
488
529
|
items?: any[];
|
@@ -509,12 +550,13 @@ declare const _default: {
|
|
509
550
|
itemIcon?: string | ((item: any) => IIcon);
|
510
551
|
"item-icon"?: string | ((item: any) => IIcon);
|
511
552
|
"item-children"?: string;
|
512
|
-
loadChildren?: (selectedNode: any) => void | Promise<void>;
|
513
|
-
"load-children"?: (selectedNode: any) => void | Promise<void>;
|
553
|
+
loadChildren?: (selectedNode: any, level?: number) => void | Promise<void>;
|
554
|
+
"load-children"?: (selectedNode: any, level?: number) => void | Promise<void>;
|
514
555
|
onMoveNode?: (item: any, currentPosition: number, newPosition: number) => void | Promise<void>;
|
515
556
|
"on-move-node"?: (item: any, currentPosition: number, newPosition: number) => void | Promise<void>;
|
516
557
|
checkNodeToMove?: (item: any) => boolean;
|
517
558
|
"check-node-to-move"?: (item: any) => boolean;
|
559
|
+
indentation?: number | SpacingType;
|
518
560
|
}>, "onUpdate:active"> & {
|
519
561
|
"onUpdate:active"?: (items: any[]) => any;
|
520
562
|
};
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { types } from "typestyle";
|
2
|
+
import { useColorSchemaStore } from "@omnia/fx/ux";
|
2
3
|
/**
|
3
4
|
* Styles for the ImageRenderer component
|
4
5
|
*/
|
5
6
|
export declare const ImageEditorStyles: {
|
6
7
|
container: types.NestedCSSProperties;
|
7
|
-
button: types.NestedCSSProperties;
|
8
|
+
button: (colors: ReturnType<typeof useColorSchemaStore>) => types.NestedCSSProperties;
|
8
9
|
};
|
package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/DefinitionsChrome.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChromeDefinition, Guid, SpacingSettings
|
1
|
+
import { BackgroundDefinition, ChromeDefinition, FillDefinition, Guid, SpacingSettings } from "@omnia/fx-models";
|
2
2
|
export declare class FilledChrome implements ChromeDefinition {
|
3
3
|
name: string;
|
4
4
|
id: Guid;
|
@@ -8,7 +8,7 @@ export declare class FilledChrome implements ChromeDefinition {
|
|
8
8
|
styles: {
|
9
9
|
background: {
|
10
10
|
filled: boolean;
|
11
|
-
|
11
|
+
fill: FillDefinition;
|
12
12
|
};
|
13
13
|
spacing: SpacingSettings;
|
14
14
|
};
|
@@ -20,16 +20,7 @@ export declare class FilledSmallRoundingChrome implements ChromeDefinition {
|
|
20
20
|
definitionId: Guid;
|
21
21
|
};
|
22
22
|
styles: {
|
23
|
-
background:
|
24
|
-
filled: boolean;
|
25
|
-
color: ThemedColorValue;
|
26
|
-
};
|
27
|
-
borderRadius: {
|
28
|
-
top: number;
|
29
|
-
bottom: number;
|
30
|
-
left: number;
|
31
|
-
right: number;
|
32
|
-
};
|
23
|
+
background: BackgroundDefinition;
|
33
24
|
spacing: SpacingSettings;
|
34
25
|
};
|
35
26
|
}
|
@@ -40,16 +31,7 @@ export declare class FilledLargeRoundingChrome implements ChromeDefinition {
|
|
40
31
|
definitionId: Guid;
|
41
32
|
};
|
42
33
|
styles: {
|
43
|
-
background:
|
44
|
-
filled: boolean;
|
45
|
-
color: ThemedColorValue;
|
46
|
-
};
|
47
|
-
borderRadius: {
|
48
|
-
top: number;
|
49
|
-
bottom: number;
|
50
|
-
left: number;
|
51
|
-
right: number;
|
52
|
-
};
|
34
|
+
background: BackgroundDefinition;
|
53
35
|
spacing: SpacingSettings;
|
54
36
|
};
|
55
37
|
}
|
@@ -60,14 +42,7 @@ export declare class OutlinedChrome implements ChromeDefinition {
|
|
60
42
|
definitionId: Guid;
|
61
43
|
};
|
62
44
|
styles: {
|
63
|
-
background:
|
64
|
-
border: {
|
65
|
-
top: number;
|
66
|
-
bottom: number;
|
67
|
-
left: number;
|
68
|
-
right: number;
|
69
|
-
};
|
70
|
-
borderColor: ThemedColorValue;
|
45
|
+
background: BackgroundDefinition;
|
71
46
|
spacing: SpacingSettings;
|
72
47
|
};
|
73
48
|
}
|
@@ -78,20 +53,7 @@ export declare class OutlinedSmallRoundingChrome implements ChromeDefinition {
|
|
78
53
|
definitionId: Guid;
|
79
54
|
};
|
80
55
|
styles: {
|
81
|
-
background:
|
82
|
-
border: {
|
83
|
-
top: number;
|
84
|
-
bottom: number;
|
85
|
-
left: number;
|
86
|
-
right: number;
|
87
|
-
};
|
88
|
-
borderColor: ThemedColorValue;
|
89
|
-
borderRadius: {
|
90
|
-
top: number;
|
91
|
-
bottom: number;
|
92
|
-
left: number;
|
93
|
-
right: number;
|
94
|
-
};
|
56
|
+
background: BackgroundDefinition;
|
95
57
|
spacing: SpacingSettings;
|
96
58
|
};
|
97
59
|
}
|
@@ -102,20 +64,7 @@ export declare class OutlinedLargeRoundingChrome implements ChromeDefinition {
|
|
102
64
|
definitionId: Guid;
|
103
65
|
};
|
104
66
|
styles: {
|
105
|
-
background:
|
106
|
-
border: {
|
107
|
-
top: number;
|
108
|
-
bottom: number;
|
109
|
-
left: number;
|
110
|
-
right: number;
|
111
|
-
};
|
112
|
-
borderColor: ThemedColorValue;
|
113
|
-
borderRadius: {
|
114
|
-
top: number;
|
115
|
-
bottom: number;
|
116
|
-
left: number;
|
117
|
-
right: number;
|
118
|
-
};
|
67
|
+
background: BackgroundDefinition;
|
119
68
|
spacing: SpacingSettings;
|
120
69
|
};
|
121
70
|
}
|
@@ -128,8 +77,7 @@ export declare class ElevatedChrome implements ChromeDefinition {
|
|
128
77
|
styles: {
|
129
78
|
elevation: number;
|
130
79
|
background: {
|
131
|
-
|
132
|
-
color: ThemedColorValue;
|
80
|
+
fill: FillDefinition;
|
133
81
|
};
|
134
82
|
spacing: SpacingSettings;
|
135
83
|
};
|
@@ -141,17 +89,7 @@ export declare class ElevatedSmallRoundingChrome implements ChromeDefinition {
|
|
141
89
|
definitionId: Guid;
|
142
90
|
};
|
143
91
|
styles: {
|
144
|
-
|
145
|
-
background: {
|
146
|
-
filled: boolean;
|
147
|
-
color: ThemedColorValue;
|
148
|
-
};
|
149
|
-
borderRadius: {
|
150
|
-
top: number;
|
151
|
-
bottom: number;
|
152
|
-
left: number;
|
153
|
-
right: number;
|
154
|
-
};
|
92
|
+
background: BackgroundDefinition;
|
155
93
|
spacing: SpacingSettings;
|
156
94
|
};
|
157
95
|
}
|
@@ -162,17 +100,7 @@ export declare class ElevatedLargeRoundingChrome implements ChromeDefinition {
|
|
162
100
|
definitionId: Guid;
|
163
101
|
};
|
164
102
|
styles: {
|
165
|
-
|
166
|
-
background: {
|
167
|
-
filled: boolean;
|
168
|
-
color: ThemedColorValue;
|
169
|
-
};
|
170
|
-
borderRadius: {
|
171
|
-
top: number;
|
172
|
-
bottom: number;
|
173
|
-
left: number;
|
174
|
-
right: number;
|
175
|
-
};
|
103
|
+
background: BackgroundDefinition;
|
176
104
|
spacing: SpacingSettings;
|
177
105
|
};
|
178
106
|
}
|