@omnia/fx 8.0.550-dev → 8.0.552-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.
@@ -7,6 +7,14 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
7
7
  modelValue?: IIcon;
8
8
  } & {
9
9
  variant?: "dropdown" | "journey";
10
+ } & {
11
+ search?: string;
12
+ } & {
13
+ width?: number;
14
+ } & {
15
+ height?: number;
16
+ } & {
17
+ offsetTop?: number;
10
18
  }> & {
11
19
  "onUpdate:modelValue"?: (value: IIcon) => any;
12
20
  } & {
@@ -14,5 +22,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
14
22
  default?: import("vue").Slot;
15
23
  $stable?: boolean;
16
24
  }, never>;
17
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "v-model" | "modelValue" | "emit:update:modelValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
25
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "variant" | "width" | "search" | "v-model" | "modelValue" | "emit:update:modelValue" | "offsetTop"> & import("@omnia/fx/ux").VNodeEvents) => any;
18
26
  export default _default;
@@ -1,9 +1,8 @@
1
- import { DefineProp, DefinePropTheming, DefineVModel } from "@omnia/fx/ux";
1
+ import { DefineProp, DefinePropTheming, DefineRef, DefineVModel } from "@omnia/fx/ux";
2
2
  import { OTabAlignments, OScrollOffsetTypes, OTabVariants, TabsBlueprint, BlueprintVariant } from "@omnia/fx-models";
3
- export type TabsApi = {
4
- getTabHeadersHeight: () => number;
5
- };
6
- 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."> & DefineProp<"getApi", (api: TabsApi) => void, false, null, "Gets the api">;
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<{
4
+ getTabs: () => Promise<HTMLElement>;
5
+ }>;
7
6
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabsProps> & {
8
7
  "onUpdate:modelValue"?: (value: number) => any;
9
8
  } & {
@@ -11,5 +10,13 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabsProps> &
11
10
  default?: import("vue").Slot;
12
11
  $stable?: boolean;
13
12
  }, never>;
14
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "variant" | "vertical" | "grow" | "blueprint" | "position" | "class" | "colors" | "toned" | "v-model" | "modelValue" | "contentClass" | "emit:update:modelValue" | "stacked" | "getApi" | "scrolling" | "hideTabNameIfOnlyOneTab" | "noScrolling" | "alignTabs" | "disableBlueprint"> & import("@omnia/fx/ux").VNodeEvents) => any;
13
+ } & {
14
+ ref?: import("vue").Ref<{
15
+ getTabs: () => Promise<HTMLElement>;
16
+ }, {
17
+ getTabs: () => Promise<HTMLElement>;
18
+ }> | ((ref: {
19
+ getTabs: () => Promise<HTMLElement>;
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;
15
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.550-dev",
4
+ "version": "8.0.552-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.550-dev",
23
+ "@omnia/fx-models": "8.0.552-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",