sit-onyx 1.0.0-beta.263 → 1.0.0-beta.264
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/OnyxButton/ButtonOrLinkLayout.d.vue.ts +6 -2
- package/dist/components/OnyxFab/types.d.ts +13 -0
- package/dist/components/OnyxFabButton/types.d.ts +17 -0
- package/dist/components/OnyxFabItem/types.d.ts +17 -0
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.d.vue.ts +4 -0
- package/dist/components/OnyxPopover/OnyxPopover.d.vue.ts +10 -1
- package/dist/index.esm-bundler.js +143 -123
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +1269 -1254
- package/dist/style.css +1 -1
- package/dist/utils/storybook.d.ts +7 -1
- package/package.json +3 -3
|
@@ -13,13 +13,17 @@ declare function __VLS_template(): {
|
|
|
13
13
|
*/
|
|
14
14
|
default(): unknown;
|
|
15
15
|
};
|
|
16
|
-
refs: {
|
|
16
|
+
refs: {
|
|
17
|
+
buttonRef: HTMLButtonElement;
|
|
18
|
+
};
|
|
17
19
|
rootEl: any;
|
|
18
20
|
};
|
|
19
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
22
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
23
|
type: import('./types.js', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
22
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
buttonRef: HTMLButtonElement;
|
|
26
|
+
}, any>;
|
|
23
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
28
|
export default _default;
|
|
25
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Nullable } from '../../types/index.js';
|
|
2
|
+
import { OnyxFabButtonProps } from '../OnyxFabButton/types.js';
|
|
3
|
+
export type OnyxFabProps = OnyxFabButtonProps & {
|
|
4
|
+
/**
|
|
5
|
+
* How to align the component relative to the viewport.
|
|
6
|
+
*/
|
|
7
|
+
alignment?: "left" | "right";
|
|
8
|
+
/**
|
|
9
|
+
* Whether the element is expanded or collapsed.
|
|
10
|
+
* If unset, the open state is manged internally.
|
|
11
|
+
*/
|
|
12
|
+
open?: Nullable<boolean>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { WithLinkProp } from '../OnyxRouterLink/types.js';
|
|
3
|
+
export type OnyxFabButtonProps = DensityProp & WithLinkProp & {
|
|
4
|
+
/**
|
|
5
|
+
* (Aria) Label of the action button that describes the action.
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* If `true`, the label will be visually hidden.
|
|
10
|
+
* For accessibility / screen readers, the aria-label will still be set.
|
|
11
|
+
*/
|
|
12
|
+
hideLabel?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Icon to show in the action button.
|
|
15
|
+
*/
|
|
16
|
+
icon?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { WithLinkProp } from '../OnyxRouterLink/types.js';
|
|
3
|
+
export type OnyxFabItemProps = DensityProp & WithLinkProp & {
|
|
4
|
+
/**
|
|
5
|
+
* Text label to show
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* If `true`, the label will be visually hidden.
|
|
10
|
+
* For accessibility / screen readers, the aria-label will still be set.
|
|
11
|
+
*/
|
|
12
|
+
hideLabel?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Optional icon to show.
|
|
15
|
+
*/
|
|
16
|
+
icon?: string;
|
|
17
|
+
};
|
|
@@ -83,6 +83,8 @@ declare function __VLS_template(): {
|
|
|
83
83
|
};
|
|
84
84
|
$refs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
|
+
} & {
|
|
87
|
+
buttonRef: HTMLButtonElement;
|
|
86
88
|
};
|
|
87
89
|
$slots: Readonly<{
|
|
88
90
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -258,6 +260,8 @@ declare const __VLS_component: import('vue').DefineComponent<OnyxMenuItemProps,
|
|
|
258
260
|
};
|
|
259
261
|
$refs: {
|
|
260
262
|
[x: string]: unknown;
|
|
263
|
+
} & {
|
|
264
|
+
buttonRef: HTMLButtonElement;
|
|
261
265
|
};
|
|
262
266
|
$slots: Readonly<{
|
|
263
267
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -34,7 +34,16 @@ declare function __VLS_template(): {
|
|
|
34
34
|
rootEl: HTMLDivElement;
|
|
35
35
|
};
|
|
36
36
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
|
-
declare const __VLS_component: import('vue').DefineComponent<OnyxPopoverProps, {
|
|
37
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxPopoverProps, {
|
|
38
|
+
/**
|
|
39
|
+
* Actual used popover position.
|
|
40
|
+
*/
|
|
41
|
+
popoverPosition: import('vue').ComputedRef<"top" | "left" | "right" | "bottom" | "top right" | "top left" | "bottom right" | "bottom left">;
|
|
42
|
+
/**
|
|
43
|
+
* Actual used popover alignment.
|
|
44
|
+
*/
|
|
45
|
+
popoverAlignment: import('vue').ComputedRef<import('../../composables/useOpenAlignment.js', { with: { "resolution-mode": "import" } }).OpenAlignment>;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxPopoverProps> & Readonly<{}>, {
|
|
38
47
|
alignment: import('../../composables/useOpenAlignment.js', { with: { "resolution-mode": "import" } }).OpenAlignment | "auto";
|
|
39
48
|
position: import('../../composables/useAnchorPositionPolyfill.js', { with: { "resolution-mode": "import" } }).AnchorPosition | "auto";
|
|
40
49
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|