sit-onyx 1.0.0-beta.201 → 1.0.0-beta.203
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/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +1 -1
- package/dist/components/OnyxNavBar/TestCase.vue.d.ts +3 -0
- package/dist/components/OnyxNavBar/types.d.ts +8 -4
- package/dist/components/OnyxNotificationCard/types.d.ts +4 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +685 -680
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ declare const __VLS_component: import("vue").DefineComponent<OnyxNavBarProps, {
|
|
|
46
46
|
}, string, import("vue").PublicProps, Readonly<OnyxNavBarProps> & Readonly<{
|
|
47
47
|
onNavigateBack?: ((event: MouseEvent) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
|
-
|
|
49
|
+
mobile: boolean | import("@sit-onyx/shared/breakpoints").OnyxBreakpoint | number;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
52
52
|
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type OnyxNavBarProps } from "./types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<OnyxNavBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxNavBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -13,13 +13,17 @@ export type OnyxNavBarProps = Pick<OnyxNavAppAreaProps, "appName" | "logoUrl"> &
|
|
|
13
13
|
*/
|
|
14
14
|
appArea?: Omit<OnyxNavAppAreaProps, "appName" | "logoUrl">;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
*
|
|
17
|
+
* Determines if and when the `OnyxNavBar` should render in mobile mode.
|
|
18
|
+
*
|
|
19
|
+
* `mobile` prop can be one of the following;
|
|
20
|
+
* - a `boolean`: The NavBar renders in mobile mode, when `true`.
|
|
21
|
+
* - a `OnyxBreakpoint`: The NavBar renders in mobile mode, when the current breakpoint matches or is smaller.
|
|
22
|
+
* - a `number`: The NavBar renders in mobile when the viewport width is smaller than the provided value.
|
|
19
23
|
*
|
|
20
24
|
* @see [onyx docs](https://onyx.schwarz/development/breakpoints.html) for more information.
|
|
21
25
|
*/
|
|
22
|
-
|
|
26
|
+
mobile?: boolean | OnyxBreakpoint | number;
|
|
23
27
|
};
|
|
24
28
|
/**
|
|
25
29
|
* [Vue injection key](https://vuejs.org/guide/components/provide-inject) that is provided by the nav bar
|