sit-onyx 1.1.0-dev-20250930094642 → 1.1.0-dev-20250930114305
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/OnyxBasicPopover/OnyxBasicPopover.d.vue.ts +1 -0
- package/dist/components/OnyxBasicPopover/types.d.ts +2 -0
- package/dist/components/OnyxCalendar/OnyxCalendar.d.vue.ts +1 -1
- package/dist/components/OnyxCalendar/types.d.ts +1 -1
- package/dist/components/OnyxDialog/OnyxDialog.d.vue.ts +1 -0
- package/dist/components/OnyxListItem/OnyxListItem.d.vue.ts +1 -1
- package/dist/components/OnyxResizeHandle/OnyxResizeHandle.d.vue.ts +4 -4
- package/dist/composables/useClipping.d.ts +16 -0
- package/dist/i18n/locales/de-DE.json +5 -0
- package/dist/i18n/locales/en-US.json +8 -0
- package/dist/i18n/locales/en-US.json.d.ts +8 -0
- package/dist/index.esm-bundler.js +900 -805
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +2677 -2612
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -51,6 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<OnyxBasicPopoverPro
|
|
|
51
51
|
role: "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
52
52
|
alignment: import('../../composables/useOpenAlignment.js', { with: { "resolution-mode": "import" } }).OpenAlignment | "auto";
|
|
53
53
|
position: import('../../composables/useAnchorPositionPolyfill.js', { with: { "resolution-mode": "import" } }).AnchorPosition | "auto";
|
|
54
|
+
clipping: boolean;
|
|
54
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
55
56
|
popoverWrapper: HTMLDivElement;
|
|
56
57
|
popover: HTMLDivElement;
|
|
@@ -34,4 +34,6 @@ export type OnyxBasicPopoverProps = {
|
|
|
34
34
|
* @default "dialog"
|
|
35
35
|
*/
|
|
36
36
|
role?: "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
37
|
+
/** If true, the popover remains visible within the viewport even if its parent element scrolls out of view. */
|
|
38
|
+
clipping?: boolean;
|
|
37
39
|
};
|
|
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<On
|
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
size: import('./types.js', { with: { "resolution-mode": "import" } }).OnyxCalendarSize;
|
|
14
14
|
selection: import('./types.js', { with: { "resolution-mode": "import" } }).OnyxCalendarSelection;
|
|
15
|
-
weekStartDay: import('
|
|
15
|
+
weekStartDay: import('./types.js', { with: { "resolution-mode": "import" } }).OnyxWeekDays;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
17
|
calendar: HTMLDivElement;
|
|
18
18
|
}, any>, Readonly<{
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnyxWeekDays } from '@sit-onyx/headless';
|
|
2
1
|
import { DensityProp } from '../../composables/density.js';
|
|
3
2
|
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
4
3
|
export type OnyxCalendarProps = DensityProp & {
|
|
@@ -43,3 +42,4 @@ export type OnyxCalendarProps = DensityProp & {
|
|
|
43
42
|
};
|
|
44
43
|
export type OnyxCalendarSelection = "single";
|
|
45
44
|
export type OnyxCalendarSize = "big" | "small" | "auto";
|
|
45
|
+
export type OnyxWeekDays = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
|
|
@@ -58,6 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<OnyxDialogProps, {}
|
|
|
58
58
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
59
59
|
}>, {
|
|
60
60
|
open: boolean | null;
|
|
61
|
+
clipping: boolean;
|
|
61
62
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
62
63
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
63
64
|
export default _default;
|
|
@@ -19,8 +19,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<OnyxListItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxListItemProps> & Readonly<{}>, {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
checked: boolean;
|
|
22
|
-
selected: boolean;
|
|
23
22
|
active: boolean;
|
|
23
|
+
selected: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
26
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { OnyxResizeHandleProps } from './types.js';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<OnyxResizeHandleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
end: () => any;
|
|
4
|
+
start: () => any;
|
|
3
5
|
updateWidth: (width: number) => any;
|
|
4
6
|
autoSize: () => any;
|
|
5
|
-
start: () => any;
|
|
6
|
-
end: () => any;
|
|
7
7
|
}, string, import('vue').PublicProps, Readonly<OnyxResizeHandleProps> & Readonly<{
|
|
8
|
+
onEnd?: (() => any) | undefined;
|
|
9
|
+
onStart?: (() => any) | undefined;
|
|
8
10
|
onUpdateWidth?: ((width: number) => any) | undefined;
|
|
9
11
|
onAutoSize?: (() => any) | undefined;
|
|
10
|
-
onStart?: (() => any) | undefined;
|
|
11
|
-
onEnd?: (() => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
min: number;
|
|
14
14
|
alignment: import('./types.js', { with: { "resolution-mode": "import" } }).ResizeHandleAlignment;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties, Ref } from 'vue';
|
|
2
|
+
import { AnchorPosition } from './useAnchorPositionPolyfill.js';
|
|
3
|
+
import { OpenDirection } from './useOpenDirection.js';
|
|
4
|
+
export type UseClippingOptions = {
|
|
5
|
+
popoverRef: Ref<HTMLElement | null>;
|
|
6
|
+
popoverWrapperRef: Ref<HTMLElement | null>;
|
|
7
|
+
popoverPosition: Ref<AnchorPosition | OpenDirection>;
|
|
8
|
+
isVisible: Ref<boolean>;
|
|
9
|
+
clipping: Ref<boolean>;
|
|
10
|
+
};
|
|
11
|
+
export declare function useClipping(options: UseClippingOptions): {
|
|
12
|
+
clippingStyles: Ref<CSSProperties | undefined, CSSProperties | undefined>;
|
|
13
|
+
scrolledOut: Ref<OpenDirection | undefined, OpenDirection | undefined>;
|
|
14
|
+
isClipping: Ref<boolean, boolean>;
|
|
15
|
+
checkVisibilityOnScroll: () => void;
|
|
16
|
+
};
|
|
@@ -225,5 +225,10 @@
|
|
|
225
225
|
},
|
|
226
226
|
"globalFAB": {
|
|
227
227
|
"label": "Globale Aktionen"
|
|
228
|
+
},
|
|
229
|
+
"calendar": {
|
|
230
|
+
"todayButton": { "label": "Heute", "tooltip": "Springe zu Heute" },
|
|
231
|
+
"previousMonthButton": "Vorheriger Monat",
|
|
232
|
+
"nextMonthButton": "Nächster Monat"
|
|
228
233
|
}
|
|
229
234
|
}
|
|
@@ -225,5 +225,13 @@
|
|
|
225
225
|
},
|
|
226
226
|
"globalFAB": {
|
|
227
227
|
"label": "Global actions"
|
|
228
|
+
},
|
|
229
|
+
"calendar": {
|
|
230
|
+
"todayButton": {
|
|
231
|
+
"label": "Today",
|
|
232
|
+
"tooltip": "Jump to today"
|
|
233
|
+
},
|
|
234
|
+
"previousMonthButton": "Previous month",
|
|
235
|
+
"nextMonthButton": "Next month"
|
|
228
236
|
}
|
|
229
237
|
}
|
|
@@ -225,6 +225,14 @@ declare const _default: {
|
|
|
225
225
|
},
|
|
226
226
|
"globalFAB": {
|
|
227
227
|
"label": "Global actions"
|
|
228
|
+
},
|
|
229
|
+
"calendar": {
|
|
230
|
+
"todayButton": {
|
|
231
|
+
"label": "Today",
|
|
232
|
+
"tooltip": "Jump to today"
|
|
233
|
+
},
|
|
234
|
+
"previousMonthButton": "Previous month",
|
|
235
|
+
"nextMonthButton": "Next month"
|
|
228
236
|
}
|
|
229
237
|
}
|
|
230
238
|
;
|