@omnia/fx 8.0.558-dev → 8.0.559-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.
@@ -1280,6 +1280,7 @@ export interface OmniaUxLocalization {
1280
1280
  UseFullHeight: string;
1281
1281
  LazyLoad: string;
1282
1282
  DisableLazyLoad: string;
1283
+ LayoutSettings: string;
1283
1284
  };
1284
1285
  CanvasSettings: {
1285
1286
  CanvasPadding: string;
@@ -127,9 +127,9 @@ declare const _default: {
127
127
  required: boolean;
128
128
  };
129
129
  }>> & {
130
- "onUpdate:modelValue"?: (value: ColorValue) => any;
130
+ "onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
131
131
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
132
- "update:modelValue": (value: ColorValue) => any;
132
+ "update:modelValue": (value: ColorValue, isColorAdjusted: boolean) => any;
133
133
  }, import("vue").PublicProps, {
134
134
  container: boolean;
135
135
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -264,7 +264,7 @@ declare const _default: {
264
264
  required: boolean;
265
265
  };
266
266
  }>> & {
267
- "onUpdate:modelValue"?: (value: ColorValue) => any;
267
+ "onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
268
268
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
269
269
  container: boolean;
270
270
  }>;
@@ -396,9 +396,9 @@ declare const _default: {
396
396
  required: boolean;
397
397
  };
398
398
  }>> & {
399
- "onUpdate:modelValue"?: (value: ColorValue) => any;
399
+ "onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
400
400
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
401
- "update:modelValue": (value: ColorValue) => any;
401
+ "update:modelValue": (value: ColorValue, isColorAdjusted: boolean) => any;
402
402
  }, string, {
403
403
  container: boolean;
404
404
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
@@ -489,7 +489,7 @@ declare const _default: {
489
489
  showSystemColors?: boolean;
490
490
  toolbarCallback?: (value: () => VNodeChild) => void;
491
491
  }>, "onUpdate:modelValue"> & {
492
- "onUpdate:modelValue"?: (value: ColorValue) => any;
492
+ "onUpdate:modelValue"?: (value: ColorValue, isColorAdjusted: boolean) => any;
493
493
  };
494
494
  };
495
495
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
2
- import { OVerticalAlignments, Spacing, SpacingValue } from "@omnia/fx-models";
3
- type ColumnProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"grow", number, false, null, "How the flex grows in relation to other flexes. This is used to set the flex-grow property on the flex."> & DefineProp<"toned", boolean, false, false> & DefineProp<"width", string | number, false, null, "Sets the width of the column."> & DefineProp<"minWidth", string | number, false, null, "Sets the min width of the column"> & DefineProp<"alignY", OVerticalAlignments, false, null, "Sets the vertical alignment of the column."> & DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding of the col from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin of the col from the blueprint.Apply to all dimensions using only one value.">;
2
+ import { OHorizontalAlignments, OVerticalAlignments, Spacing, SpacingValue } from "@omnia/fx-models";
3
+ type ColumnProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"grow", number, false, null, "How the flex grows in relation to other flexes. This is used to set the flex-grow property on the flex."> & DefineProp<"toned", boolean, false, false> & DefineProp<"width", string | number, false, null, "Sets the width of the column."> & DefineProp<"minWidth", string | number, false, null, "Sets the min width of the column"> & DefineProp<"alignY", OVerticalAlignments, false, null, "Sets the vertical alignment of the column."> & DefineProp<"alignX", OHorizontalAlignments, false, null, "Sets the horizontal alignment of the columns."> & DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding of the col from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin of the col from the blueprint.Apply to all dimensions using only one value.">;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ColumnProps> & {} & {
5
5
  "v-slots"?: {} & Omit<{
6
6
  default?: import("vue").Slot;
7
7
  $stable?: boolean;
8
8
  }, never>;
9
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "padding" | "margin" | "filled" | "grow" | "minWidth" | "width" | "class" | "colors" | "toned" | "alignY"> & import("@omnia/fx/ux").VNodeEvents) => any;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "padding" | "margin" | "filled" | "grow" | "minWidth" | "width" | "class" | "colors" | "toned" | "alignX" | "alignY"> & import("@omnia/fx/ux").VNodeEvents) => any;
10
10
  export default _default;
@@ -1,6 +1,7 @@
1
- import { OVerticalAlignments, OPaddingCombination } from "@omnia/fx-models";
1
+ import { OVerticalAlignments, OPaddingCombination, OHorizontalAlignments } from "@omnia/fx-models";
2
2
  export interface stylingSettings {
3
3
  alignY: OVerticalAlignments;
4
+ alignX: OHorizontalAlignments;
4
5
  paddings: OPaddingCombination;
5
6
  width: string | number;
6
7
  grow: number;
@@ -1,10 +1,11 @@
1
+ import { ColorSchemaType, ContainerFillValue } from "@omnia/fx-models";
1
2
  import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
2
3
  import { VNodeChild } from "vue";
3
4
  type ImageProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"aspectRatio", string | number, false, null, "The aspect ratio of the image."> & DefineProp<"src", string, false, null, "The image URL. This prop is mandatory."> & DefineProp<"height", number | string, false, null, "Sets the height for the component."> & DefineProp<"width", number | string, false, null, "Sets the height for the component."> & DefineProp<"cover", boolean, false, true, "Resizes the image to cover the entire container."> & DefineProp<"draggable", boolean, false, false, "Controls the draggable behavior of the image."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts. This is useful if you have content that will not be rendered in the DOM that you want crawled for SEO."> & DefineProp<"alt", string, false, "", "Alternate text for screen readers. Leave empty for decorative images."> & DefineProp<"maxWidth", number | string, false, null> & DefineProp<"maxHeight", number | string, false, null> & DefineProp<"placeholder", string, false, null, "The placeholder image to display while the main image is loading."> & DefineProp<"lazySrc", string, false, null, "The image to display while the main image is loading."> & DefineEmit<"load", (info: {
4
5
  naturalWidth: number;
5
6
  naturalHeight: number;
6
7
  image: HTMLElement;
7
- }) => void> & DefineSlot<"placeholder", () => VNodeChild>;
8
+ }) => void> & DefineProp<"fill", ContainerFillValue> & DefineProp<"fillOpacity", number> & DefineProp<"dynamicColorSchema", ColorSchemaType> & DefineSlot<"placeholder", () => VNodeChild>;
8
9
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ImageProps> & {
9
10
  onLoad?: (info: {
10
11
  naturalWidth: number;
@@ -18,5 +19,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ImageProps>
18
19
  default?: import("vue").Slot;
19
20
  $stable?: boolean;
20
21
  }, "placeholder">;
21
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "height" | "aspectRatio" | "maxHeight" | "maxWidth" | "width" | "class" | "cover" | "src" | "colors" | "draggable" | "eager" | "alt" | "placeholder" | "lazySrc" | "emit:load" | "slot:placeholder"> & import("@omnia/fx/ux").VNodeEvents) => any;
22
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "fill" | "colorSchemaType" | "dynamicColorSchema" | "height" | "aspectRatio" | "fillOpacity" | "maxHeight" | "maxWidth" | "width" | "class" | "cover" | "src" | "colors" | "draggable" | "eager" | "alt" | "placeholder" | "lazySrc" | "emit:load" | "slot:placeholder"> & import("@omnia/fx/ux").VNodeEvents) => any;
22
23
  export default _default;
@@ -1,7 +1,10 @@
1
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
1
+ import { Spacing, SpacingValue } from "@omnia/fx-models";
2
+ import { DefineProp } from "@omnia/fx/ux";
3
+ type spacerProps = DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin from the blueprint. Apply to all dimensions using only one value.">;
4
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<spacerProps> & {} & {
2
5
  "v-slots"?: {} & Omit<{
3
6
  default?: import("vue").Slot;
4
7
  $stable?: boolean;
5
8
  }, never>;
6
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "padding" | "margin"> & import("@omnia/fx/ux").VNodeEvents) => any;
7
10
  export default _default;
@@ -1,5 +1,9 @@
1
1
  import { DefineEmit } from "@omnia/fx/ux";
2
2
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ class?: String | String[];
4
+ } & {
5
+ style?: object;
6
+ } & {
3
7
  disabled?: boolean;
4
8
  } & DefineEmit<"resize", (sizes: number[]) => void>> & {
5
9
  onResize?: (sizes: number[]) => any;
@@ -8,5 +12,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
8
12
  default?: import("vue").Slot;
9
13
  $stable?: boolean;
10
14
  }, never>;
11
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "disabled" | "emit:resize"> & import("@omnia/fx/ux").VNodeEvents) => any;
15
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "style" | "class" | "disabled" | "emit:resize"> & import("@omnia/fx/ux").VNodeEvents) => any;
12
16
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { DefineProp, DefinePropTheming, DefineRef, DefineVModel } from "@omnia/fx/ux";
2
2
  import { OTabAlignments, OScrollOffsetTypes, OTabVariants, TabsBlueprint, BlueprintVariant } from "@omnia/fx-models";
3
- type TabsProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number, false, 0, false, "The v-model of the component"> & DefineProp<"contentClass", string | string[], false, null, "The class of the content container."> & DefineProp<"stacked", boolean, false, null, "Applies the stacked prop to all children o.tab components."> & DefineProp<"variant", OTabVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"toned", boolean, false, null> & DefineProp<"vertical", boolean, false, null> & DefineProp<"hideTabNameIfOnlyOneTab", boolean, false, null, "Hides the tab name if there is only one tab in the component."> & DefineProp<"noScrolling", boolean, false, null, "Removes the scrolling from the tabs component."> & DefineProp<"alignTabs", OTabAlignments, false, "start", "sets the horizontal alignment of the tabs."> & DefineProp<"grow", boolean, false, null, "sets how the flex grows in relation to other flexes of the tab."> & DefineProp<"scrolling", OScrollOffsetTypes, false, null, "Sets a custom blueprint for the tab control."> & DefineProp<"blueprint", TabsBlueprint | BlueprintVariant, false, null, "Applies the blueprint to the component."> & DefineProp<"disableBlueprint", boolean, false, null, "Disables the blueprint and use properties instead."> & DefineProp<"position", "top" | "bottom", false, "top", "The position of the horizontal tab."> & DefineRef<{
3
+ type TabsProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", number, false, 0, false, "The v-model of the component"> & DefineProp<"contentClass", string | string[], false, null, "The class of the content container."> & DefineProp<"stacked", boolean, false, null, "Applies the stacked prop to all children o.tab components."> & DefineProp<"variant", OTabVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"toned", boolean, false, null> & DefineProp<"vertical", boolean, false, null> & DefineProp<"hideTabName", boolean, false, null> & DefineProp<"hideTabNameIfOnlyOneTab", boolean, false, null, "Hides the tab name if there is only one tab in the component."> & DefineProp<"noScrolling", boolean, false, null, "Removes the scrolling from the tabs component."> & DefineProp<"alignTabs", OTabAlignments, false, "start", "sets the horizontal alignment of the tabs."> & DefineProp<"grow", boolean, false, null, "sets how the flex grows in relation to other flexes of the tab."> & DefineProp<"scrolling", OScrollOffsetTypes, false, null, "Sets a custom blueprint for the tab control."> & DefineProp<"blueprint", TabsBlueprint | BlueprintVariant, false, null, "Applies the blueprint to the component."> & DefineProp<"disableBlueprint", boolean, false, null, "Disables the blueprint and use properties instead."> & DefineProp<"position", "top" | "bottom", false, "top", "The position of the horizontal tab."> & DefineRef<{
4
4
  getTabs: () => Promise<HTMLElement>;
5
5
  }>;
6
6
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabsProps> & {
@@ -18,5 +18,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabsProps> &
18
18
  }> | ((ref: {
19
19
  getTabs: () => Promise<HTMLElement>;
20
20
  }) => void);
21
- } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "vertical" | "grow" | "blueprint" | "position" | "class" | "colors" | "toned" | "ref" | "v-model" | "modelValue" | "contentClass" | "emit:update:modelValue" | "stacked" | "scrolling" | "hideTabNameIfOnlyOneTab" | "noScrolling" | "alignTabs" | "disableBlueprint"> & import("@omnia/fx/ux").VNodeEvents) => any;
21
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "vertical" | "grow" | "blueprint" | "position" | "class" | "colors" | "toned" | "ref" | "v-model" | "modelValue" | "contentClass" | "emit:update:modelValue" | "stacked" | "scrolling" | "hideTabName" | "hideTabNameIfOnlyOneTab" | "noScrolling" | "alignTabs" | "disableBlueprint"> & import("@omnia/fx/ux").VNodeEvents) => any;
22
22
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.558-dev",
4
+ "version": "8.0.559-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.558-dev",
23
+ "@omnia/fx-models": "8.0.559-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",