@omnia/fx 8.0.455-dev → 8.0.457-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.
Files changed (19) hide show
  1. package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/ComponentEditorStore.d.ts +5 -8
  2. package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/HeaderEditorStore.d.ts +5 -4
  3. package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/store/ButtonStyleEditorStore.d.ts +1 -8
  4. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker.d.ts +13 -10
  5. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderPicker_old.d.ts +0 -0
  6. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderRenderer.d.ts +5 -5
  7. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderStyleEditor.d.ts +26 -0
  8. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/store/HeaderPickerStore.d.ts +32 -0
  9. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/store/HeaderStyleEditorStore.d.ts +28 -0
  10. package/internal-do-not-import-from-here/ux/aurora/components/input/InputBlueprintViewer.d.ts +23 -0
  11. package/internal-do-not-import-from-here/ux/aurora/components/input/InputStylePicker.d.ts +10 -6
  12. package/internal-do-not-import-from-here/ux/aurora/components/input/store/InputStylePickerStore.d.ts +32 -0
  13. package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts +7 -1
  14. package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeProvider.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +513 -513
  16. package/internal-do-not-import-from-here/ux/shared-mobile/stylex/index.d.ts +67 -65
  17. package/internal-do-not-import-from-here/wctypings.d.ts +14 -4
  18. package/package.json +2 -2
  19. package/internal-do-not-import-from-here/ux/aurora/components/input/InputBlueprintsViewer.d.ts +0 -26
@@ -1,4 +1,4 @@
1
- import { CSSProperties as StylexCssProperties } from "./Typings";
1
+ import { All, CSSCursor, ObjectFit, PointerEvents, CSSProperties as StylexCssProperties, TextAlign, TextDecoration, VerticalAlign, FontWeight } from "./Typings";
2
2
  export type StylexValue = {
3
3
  class?: string;
4
4
  style?: Readonly<{
@@ -14,40 +14,42 @@ export type SpacingStylexType = {
14
14
  export type CSSProperties = {
15
15
  -readonly [k in keyof StylexCssProperties]: StylexCssProperties[k];
16
16
  };
17
+ export type FlexAlignType = "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
18
+ export type DimensionValue = number | "auto" | `${number}%`;
17
19
  export interface ICssRules {
18
- position(position: string): StylexValue;
20
+ position(position: All | "static" | "relative" | "absolute" | "sticky" | "fixed"): StylexValue;
19
21
  textFillColor(textFillColor: string): StylexValue;
20
22
  backgroundClip(backgroundClip: string, important?: boolean): StylexValue;
21
23
  fontFamily(fontFamily: string): StylexValue;
22
- flexBasis(flexBasis: string | number): StylexValue;
24
+ flexBasis(flexBasis: DimensionValue | string): StylexValue;
23
25
  flexGrow(flexGrow: number): StylexValue;
24
- maxWidth(maxWidth: string): StylexValue;
25
- alignSelf(alignSelf: string): StylexValue;
26
- minWidth(minWidth: string | number, important?: boolean): StylexValue;
26
+ maxWidth(maxWidth: string | number): StylexValue;
27
+ alignSelf(alignSelf: "auto" | FlexAlignType): StylexValue;
28
+ minWidth(minWidth: DimensionValue | string, important?: boolean): StylexValue;
27
29
  flex(flex: string | number, important?: boolean): StylexValue;
28
- justifyContent(justifyContent: string): StylexValue;
29
- flexWrap(flexWrap: string): StylexValue;
30
- rowGap(rowGap: string): StylexValue;
31
- columnGap(columnGap: string): StylexValue;
32
- flexDirection(flexDirection: string): StylexValue;
33
- width(width: string | number, important?: boolean): StylexValue;
34
- height(width: string | number, important?: boolean): StylexValue;
35
- maxHeight(width: string | number, important?: boolean): StylexValue;
36
- minHeight(minHeight: string | number): StylexValue;
37
- alignItems(alignItems: string): StylexValue;
30
+ justifyContent(justifyContent: All | "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"): StylexValue;
31
+ flexWrap(flexWrap: All | "wrap" | "nowrap" | "wrap-reverse"): StylexValue;
32
+ rowGap(rowGap: number | string): StylexValue;
33
+ columnGap(columnGap: number | string): StylexValue;
34
+ flexDirection(flexDirection: All | "row" | "column" | "row-reverse" | "column-reverse"): StylexValue;
35
+ width(width: DimensionValue | string, important?: boolean): StylexValue;
36
+ height(height: DimensionValue | string, important?: boolean): StylexValue;
37
+ maxHeight(maxHeight: DimensionValue | string, important?: boolean): StylexValue;
38
+ minHeight(minHeight: DimensionValue | string): StylexValue;
39
+ alignItems(alignItems: FlexAlignType): StylexValue;
38
40
  boxSizing(boxSizing: string): StylexValue;
39
41
  display(display: string): StylexValue;
40
42
  wordBreak(wordBreak: string): StylexValue;
41
- fontStyle(fontstyle: string): StylexValue;
43
+ fontStyle(fontStyle: string): StylexValue;
42
44
  whiteSpace(whiteSpace: string): StylexValue;
43
45
  backDropFilter(backDropFilter: string): StylexValue;
44
46
  transition(transition: string): StylexValue;
45
47
  transform(transform: string): StylexValue;
46
48
  fontSize(fontSize: string | number, important?: boolean): StylexValue;
47
- fontWeight(fontWeight: number): StylexValue;
48
- lineHeight(lineHeight: string): StylexValue;
49
- letterSpacing(letterSpacing: string): StylexValue;
50
- textDecoration(textDecoration: string, important?: boolean): StylexValue;
49
+ fontWeight(fontWeight: FontWeight): StylexValue;
50
+ lineHeight(lineHeight: number | string): StylexValue;
51
+ letterSpacing(letterSpacing: number | string): StylexValue;
52
+ textDecoration(textDecoration: TextDecoration, important?: boolean): StylexValue;
51
53
  background(background: string, important?: boolean): StylexValue;
52
54
  opacity(opacity: string | number): StylexValue;
53
55
  backgroundImage(backgroundImage: string, important?: boolean): StylexValue;
@@ -56,12 +58,12 @@ export interface ICssRules {
56
58
  backgroundSize(backgroundSize: string, important?: boolean): StylexValue;
57
59
  backgroundColor(backgroundColor: string, important?: boolean): StylexValue;
58
60
  color(color: string, important?: boolean): StylexValue;
59
- borderTopLeftRadius(borderTopLeftRadius: string, important?: boolean): StylexValue;
60
- borderTopRightRadius(borderTopRightRadius: string, important?: boolean): StylexValue;
61
- borderBottomRightRadius(borderBottomRightRadius: string, important?: boolean): StylexValue;
62
- borderBottomLeftRadius(borderBottomLeftRadius: string, important?: boolean): StylexValue;
63
- border(value: SpacingStylexType | string): StylexValue;
64
- margin(value: SpacingStylexType | string | number, important?: boolean): StylexValue;
61
+ borderTopLeftRadius(borderTopLeftRadius: string | number, important?: boolean): StylexValue;
62
+ borderTopRightRadius(borderTopRightRadius: string | number, important?: boolean): StylexValue;
63
+ borderBottomRightRadius(borderBottomRightRadius: string | number, important?: boolean): StylexValue;
64
+ borderBottomLeftRadius(borderBottomLeftRadius: string | number, important?: boolean): StylexValue;
65
+ border(border: SpacingStylexType | string | number): StylexValue;
66
+ margin(margin: SpacingStylexType | string | number, important?: boolean): StylexValue;
65
67
  marginLeft(marginLeft: string | number, important?: boolean): StylexValue;
66
68
  marginBottom(marginBottom: string | number, important?: boolean): StylexValue;
67
69
  marginRight(marginRight: string | number, important?: boolean): StylexValue;
@@ -76,37 +78,37 @@ export interface ICssRules {
76
78
  borderBottom(borderBottom: string | number, important?: boolean): StylexValue;
77
79
  borderTop(borderTop: string | number, important?: boolean): StylexValue;
78
80
  borderRadius(borderRadius: string | number): StylexValue;
79
- textTransform(textTransform: string): StylexValue;
81
+ textTransform(textTransform: All | "none" | "capitalize" | "uppercase" | "lowercase"): StylexValue;
80
82
  lineCamp(lineCamp: number): StylexValue;
81
- overflow(overflow: string, important?: boolean): StylexValue;
82
- overflowY(overflowY: string, important?: boolean): StylexValue;
83
- overflowX(overflowX: string, important?: boolean): StylexValue;
83
+ overflow(overflow: All | "visible" | "hidden" | "clip" | "scroll" | "auto", important?: boolean): StylexValue;
84
+ overflowY(overflowY: All | "visible" | "hidden" | "clip" | "scroll" | "auto", important?: boolean): StylexValue;
85
+ overflowX(overflowX: All | "visible" | "hidden" | "clip" | "scroll" | "auto", important?: boolean): StylexValue;
84
86
  boxOrient(boxOrient: string): StylexValue;
85
- cursor(cursor: string, important?: boolean): StylexValue;
86
- top(top: number | string, important?: boolean): StylexValue;
87
- bottom(bottom: number | string, important?: boolean): StylexValue;
88
- left(left: number | string): StylexValue;
89
- right(right: number | string, important?: boolean): StylexValue;
90
- zIndex(zIndex: number, important?: boolean): StylexValue;
91
- visibility(visibility: "visible" | "hidden" | "collapse" | "initial" | "inherit"): StylexValue;
92
- textAlign(textAlign: string): StylexValue;
87
+ cursor(cursor: CSSCursor, important?: boolean): StylexValue;
88
+ top(top: DimensionValue | string, important?: boolean): StylexValue;
89
+ bottom(bottom: DimensionValue | string, important?: boolean): StylexValue;
90
+ left(left: DimensionValue | string): StylexValue;
91
+ right(right: DimensionValue | string, important?: boolean): StylexValue;
92
+ zIndex(zIndex: DimensionValue, important?: boolean): StylexValue;
93
+ visibility(visibility: All | "visible" | "hidden" | "collapse" | "initial" | "inherit"): StylexValue;
94
+ textAlign(textAlign: TextAlign): StylexValue;
93
95
  transformOrigin(transformOrigin: string): StylexValue;
94
96
  borderColor(borderColor: string): StylexValue;
95
- pointerEvents(pointerEvents: string): StylexValue;
96
- verticalAlign(verticalAlign: string): StylexValue;
97
+ pointerEvents(pointerEvents: PointerEvents): StylexValue;
98
+ verticalAlign(verticalAlign: VerticalAlign): StylexValue;
97
99
  textOverflow(textOverflow: string): StylexValue;
98
100
  flexShrink(flexShrink: string | number): StylexValue;
99
- boxShadow(boxShadow: string): StylexValue;
101
+ boxShadow(boxShadow: string | number): StylexValue;
100
102
  gridTemplateColumns(gridTemplateColumns: string | number): StylexValue;
101
- objectFit(objectFit: string): StylexValue;
103
+ objectFit(objectFit: ObjectFit): StylexValue;
102
104
  hover: {
103
- opacity(opacity: string, important?: boolean): StylexValue;
105
+ opacity(opacity: string | number, important?: boolean): StylexValue;
104
106
  cursor(cursor: string, important?: boolean): StylexValue;
105
107
  transform(transform: string): StylexValue;
106
108
  background(background: string): StylexValue;
107
109
  backgroundColor(backgroundColor: string, important?: boolean): StylexValue;
108
110
  boxShadow(boxShadow: string): StylexValue;
109
- textDecoration(textDecoration: string, important?: boolean): StylexValue;
111
+ textDecoration(textDecoration: TextDecoration, important?: boolean): StylexValue;
110
112
  };
111
113
  nest: {
112
114
  iframe: {
@@ -118,30 +120,30 @@ export interface ICssRules {
118
120
  };
119
121
  media: {
120
122
  sm: {
121
- maxHeight(value: string, important?: boolean): StylexValue;
122
- height(value: string, important?: boolean): StylexValue;
123
- maxWidth(value: string, important?: boolean): StylexValue;
124
- width(value: string, important?: boolean): StylexValue;
125
- fontSize(fontSize: string, important?: boolean): StylexValue;
126
- fontWeight(fontWeight: number, important?: boolean): StylexValue;
127
- lineHeight(lineHeight: string, important?: boolean): StylexValue;
128
- letterSpacing(letterSpacing: string, important?: boolean): StylexValue;
123
+ maxHeight(value: DimensionValue | string, important?: boolean): StylexValue;
124
+ height(value: DimensionValue | string, important?: boolean): StylexValue;
125
+ maxWidth(value: DimensionValue | string, important?: boolean): StylexValue;
126
+ width(value: DimensionValue | string, important?: boolean): StylexValue;
127
+ fontSize(fontSize: string | number, important?: boolean): StylexValue;
128
+ fontWeight(fontWeight: FontWeight, important?: boolean): StylexValue;
129
+ lineHeight(lineHeight: string | number, important?: boolean): StylexValue;
130
+ letterSpacing(letterSpacing: string | number, important?: boolean): StylexValue;
129
131
  };
130
132
  md: {
131
- maxHeight(value: string, important?: boolean): StylexValue;
132
- height(value: string, important?: boolean): StylexValue;
133
- maxWidth(value: string, important?: boolean): StylexValue;
134
- width(value: string, important?: boolean): StylexValue;
135
- fontSize(fontSize: string, important?: boolean): StylexValue;
136
- fontWeight(fontWeight: number, important?: boolean): StylexValue;
137
- lineHeight(lineHeight: string, important?: boolean): StylexValue;
138
- letterSpacing(letterSpacing: string, important?: boolean): StylexValue;
133
+ maxHeight(value: DimensionValue | string, important?: boolean): StylexValue;
134
+ height(value: DimensionValue | string, important?: boolean): StylexValue;
135
+ maxWidth(value: DimensionValue | string, important?: boolean): StylexValue;
136
+ width(value: DimensionValue | string, important?: boolean): StylexValue;
137
+ fontSize(fontSize: string | number, important?: boolean): StylexValue;
138
+ fontWeight(fontWeight: FontWeight, important?: boolean): StylexValue;
139
+ lineHeight(lineHeight: string | number, important?: boolean): StylexValue;
140
+ letterSpacing(letterSpacing: string | number, important?: boolean): StylexValue;
139
141
  };
140
142
  lg: {
141
- fontSize(fontSize: string, important?: boolean): StylexValue;
142
- fontWeight(fontWeight: number, important?: boolean): StylexValue;
143
- lineHeight(lineHeight: string, important?: boolean): StylexValue;
144
- letterSpacing(letterSpacing: string, important?: boolean): StylexValue;
143
+ fontSize(fontSize: string | number, important?: boolean): StylexValue;
144
+ fontWeight(fontWeight: FontWeight, important?: boolean): StylexValue;
145
+ lineHeight(lineHeight: string | number, important?: boolean): StylexValue;
146
+ letterSpacing(letterSpacing: string | number, important?: boolean): StylexValue;
145
147
  };
146
148
  };
147
149
  }
@@ -415,12 +415,13 @@ import wc349a445fe7a2403b8f98fceff168f87e from './ux/aurora/components/fillpicke
415
415
  import wc44e2dd896269442f800da69000d4c2f1 from './ux/aurora/components/headerpicker/HeaderPicker';
416
416
  import wcb059e461e6c048fe830c6d32722e5cdc from './ux/aurora/components/headerpicker/HeaderViewer';
417
417
  import wcb1acedf8859a4daab8c683bd87142462 from './ux/aurora/components/headerpicker/HeaderRenderer';
418
+ import wcadc7e708d0e7419bb327998ca3f3564b from './ux/aurora/components/headerpicker/HeaderStyleEditor';
418
419
  import wc5542a25df57c464897a59a336eee0e56 from './ux/aurora/components/iconstylepicker/IconStylePicker';
419
420
  import wcf7cc41f3ae4944e3b43c380140438973 from './ux/aurora/components/iconstylepicker/IconStyleEditor';
420
421
  import wccbdf3361c16f479faff72960c18404dc from './ux/aurora/components/iconstylepicker/IconBlueprintsViewer';
421
422
  import wcd84a5b45429344d29a084ade31ad668d from './ux/aurora/components/input/InputStylePicker';
422
423
  import wc141334bec3914c018c0044b7593ffc93 from './ux/aurora/components/input/InputStyleEditor';
423
- import wc94cbc66f399948c28f25bf8962deefd1 from './ux/aurora/components/input/InputBlueprintsViewer';
424
+ import wca01dd21daed643789058354101511f08 from './ux/aurora/components/input/InputBlueprintViewer';
424
425
  import wc3bcb44301ab24be2a11e6ccdfe29ee60 from './ux/aurora/components/placeholder/Placeholder';
425
426
  import wc564bced7081c496483e8df717f600ff3 from './ux/aurora/components/spacingpicker/SpacingPicker3';
426
427
  import wc0ed52c601528428e935d110b3018a0bc from './ux/aurora/components/spacingpicker/SpacingViewer';
@@ -1643,14 +1644,14 @@ declare global {
1643
1644
  };
1644
1645
  } : typeof wc141334bec3914c018c0044b7593ffc93;
1645
1646
  };
1646
- "blueprints": {
1647
- "viewer": typeof wc94cbc66f399948c28f25bf8962deefd1 extends {
1647
+ "blueprint": {
1648
+ "viewer": typeof wca01dd21daed643789058354101511f08 extends {
1648
1649
  propsDefinition: infer TProp;
1649
1650
  } ? {
1650
1651
  new (...args: any[]): {
1651
1652
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1652
1653
  };
1653
- } : typeof wc94cbc66f399948c28f25bf8962deefd1;
1654
+ } : typeof wca01dd21daed643789058354101511f08;
1654
1655
  };
1655
1656
  };
1656
1657
  "journey": {
@@ -4213,6 +4214,15 @@ declare global {
4213
4214
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
4214
4215
  };
4215
4216
  } : typeof wcb1acedf8859a4daab8c683bd87142462;
4217
+ "style": {
4218
+ "editor": typeof wcadc7e708d0e7419bb327998ca3f3564b extends {
4219
+ propsDefinition: infer TProp;
4220
+ } ? {
4221
+ new (...args: any[]): {
4222
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
4223
+ };
4224
+ } : typeof wcadc7e708d0e7419bb327998ca3f3564b;
4225
+ };
4216
4226
  };
4217
4227
  "variant": {
4218
4228
  "placeholder": typeof wc3bcb44301ab24be2a11e6ccdfe29ee60 extends {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.455-dev",
4
+ "version": "8.0.457-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.455-dev",
23
+ "@omnia/fx-models": "8.0.457-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,26 +0,0 @@
1
- import { BlueprintVariant, InputBlueprints } from "@omnia/fx-models";
2
- import { DefineEmit } from "@omnia/fx/ux";
3
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
4
- "emit:update:modelValue": (value: InputBlueprints) => void;
5
- } & {
6
- "v-model"?: InputBlueprints;
7
- } & {
8
- modelValue?: InputBlueprints;
9
- } & {
10
- toned?: boolean;
11
- } & {
12
- selectable?: boolean;
13
- } & {
14
- editable?: boolean;
15
- } & {
16
- blueprintStrategy?: string;
17
- } & DefineEmit<"click:select", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true>> & {
18
- "onUpdate:modelValue"?: (value: InputBlueprints) => any;
19
- "onClick:add"?: () => any;
20
- "onClick:select"?: (variant: BlueprintVariant) => any;
21
- } & {
22
- "v-slots"?: {} & Omit<{
23
- default?: import("vue").Slot;
24
- }, never>;
25
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "emit:update:modelValue" | "v-model" | "toned" | "emit:click:add" | "emit:click:select" | "selectable" | "blueprintStrategy"> & import("@omnia/fx/ux").VNodeEvents) => any;
26
- export default _default;