sit-onyx 1.0.0-beta.4 → 1.0.0-beta.40

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.
Files changed (120) hide show
  1. package/dist/components/OnyxAppLayout/OnyxAppLayout.vue.d.ts +34 -29
  2. package/dist/components/OnyxAvatar/OnyxAvatar.vue.d.ts +26 -20
  3. package/dist/components/OnyxAvatarStack/OnyxAvatarStack.vue.d.ts +17 -11
  4. package/dist/components/OnyxBadge/OnyxBadge.vue.d.ts +26 -20
  5. package/dist/components/OnyxButton/OnyxButton.vue.d.ts +4 -4
  6. package/dist/components/OnyxCheckbox/OnyxCheckbox.vue.d.ts +6 -6
  7. package/dist/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue.d.ts +6 -6
  8. package/dist/components/OnyxCheckboxGroup/types.d.ts +4 -6
  9. package/dist/components/OnyxDialog/OnyxDialog.vue.d.ts +32 -24
  10. package/dist/components/OnyxEmpty/OnyxEmpty.vue.d.ts +36 -20
  11. package/dist/components/OnyxErrorTooltip/OnyxErrorTooltip.vue.d.ts +57 -0
  12. package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue.d.ts +4 -4
  13. package/dist/components/OnyxFormElement/OnyxFormElement.ct-utils.d.ts +11 -0
  14. package/dist/components/OnyxFormElement/OnyxFormElement.vue.d.ts +29 -16
  15. package/dist/components/OnyxFormElement/TestWrapper.vue.d.ts +2 -0
  16. package/dist/components/OnyxFormElement/types.d.ts +6 -0
  17. package/dist/components/OnyxHeadline/OnyxHeadline.vue.d.ts +22 -16
  18. package/dist/components/OnyxIconButton/OnyxIconButton.vue.d.ts +22 -16
  19. package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.vue.d.ts +18 -1
  20. package/dist/components/OnyxInfoTooltip/types.d.ts +1 -5
  21. package/dist/components/OnyxInput/OnyxInput.vue.d.ts +8 -8
  22. package/dist/components/OnyxLink/OnyxLink.vue.d.ts +26 -20
  23. package/dist/components/OnyxListItem/OnyxListItem.vue.d.ts +26 -20
  24. package/dist/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue.d.ts +4 -4
  25. package/dist/components/OnyxMiniSearch/OnyxMiniSearch.vue.d.ts +1 -1
  26. package/dist/components/OnyxMobileNavButton/OnyxMobileNavButton.vue.d.ts +26 -20
  27. package/dist/components/OnyxNavAppArea/OnyxNavAppArea.vue.d.ts +22 -16
  28. package/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +68 -60
  29. package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue.d.ts +4 -4
  30. package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue.d.ts +10 -6
  31. package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/types.d.ts +6 -0
  32. package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue.d.ts +15 -8
  33. package/dist/components/OnyxNavBar/modules/OnyxMenuItem/types.d.ts +1 -1
  34. package/dist/components/OnyxNavBar/modules/OnyxNavButton/MobileComponentTestWrapper.vue.d.ts +30 -24
  35. package/dist/components/OnyxNavBar/modules/OnyxNavButton/NavButtonLayout.vue.d.ts +48 -23
  36. package/dist/components/OnyxNavBar/modules/OnyxNavButton/OnyxNavButton.vue.d.ts +34 -28
  37. package/dist/components/OnyxNavBar/modules/OnyxNavButton/types.d.ts +6 -0
  38. package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue.d.ts +26 -20
  39. package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/OnyxNavSeparator.vue.d.ts +4 -4
  40. package/dist/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue.d.ts +48 -24
  41. package/dist/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue.d.ts +13 -7
  42. package/dist/components/OnyxNavBar/modules/OnyxUserMenu/types.d.ts +6 -0
  43. package/dist/components/OnyxPageLayout/OnyxPageLayout.vue.d.ts +26 -20
  44. package/dist/components/OnyxPagination/OnyxPagination.vue.d.ts +30 -0
  45. package/dist/components/OnyxPagination/SelectPagination.vue.d.ts +16 -0
  46. package/dist/components/OnyxPagination/types.d.ts +15 -0
  47. package/dist/components/OnyxRadioButton/OnyxRadioButton.vue.d.ts +6 -6
  48. package/dist/components/OnyxRadioGroup/OnyxRadioGroup.vue.d.ts +6 -6
  49. package/dist/components/OnyxRadioGroup/types.d.ts +2 -6
  50. package/dist/components/OnyxRipple/OnyxRipple.vue.d.ts +4 -0
  51. package/dist/components/OnyxRipple/RippleTestWrapper.vue.d.ts +2 -0
  52. package/dist/components/OnyxSelect/OnyxSelect.vue.d.ts +9 -9
  53. package/dist/components/OnyxSelect/types.d.ts +36 -9
  54. package/dist/components/OnyxSelectInput/OnyxSelectInput.vue.d.ts +6 -6
  55. package/dist/components/OnyxSelectInput/types.d.ts +5 -12
  56. package/dist/components/OnyxSelectOption/OnyxSelectOption.vue.d.ts +26 -20
  57. package/dist/components/OnyxStepper/OnyxStepper.vue.d.ts +50 -0
  58. package/dist/components/OnyxStepper/types.d.ts +56 -0
  59. package/dist/components/OnyxSwitch/OnyxSwitch.vue.d.ts +5 -5
  60. package/dist/components/OnyxTable/OnyxTable.vue.d.ts +52 -46
  61. package/dist/components/OnyxTag/OnyxTag.vue.d.ts +4 -4
  62. package/dist/components/OnyxTextarea/OnyxTextarea.vue.d.ts +8 -8
  63. package/dist/components/OnyxToastMessage/OnyxToastMessage.vue.d.ts +4 -4
  64. package/dist/components/OnyxTooltip/OnyxTooltip.ct-utils.d.ts +7 -0
  65. package/dist/components/OnyxTooltip/OnyxTooltip.vue.d.ts +49 -40
  66. package/dist/components/OnyxTooltip/TestWrapper.vue.d.ts +12 -0
  67. package/dist/components/OnyxTooltip/types.d.ts +22 -7
  68. package/dist/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue.d.ts +19 -12
  69. package/dist/components/examples/FormExample/FormExample.vue.d.ts +2 -0
  70. package/dist/components/examples/GridPlayground/EditGridElementDialog/EditGridElementDialog.vue.d.ts +36 -0
  71. package/dist/components/{GridPlayground/GridElement.vue.d.ts → examples/GridPlayground/GridBadge/GridBadge.vue.d.ts} +7 -5
  72. package/dist/components/examples/GridPlayground/GridElement/GridElement.vue.d.ts +51 -0
  73. package/dist/components/examples/GridPlayground/GridOverlay/GridOverlay.vue.d.ts +29 -0
  74. package/dist/components/examples/GridPlayground/GridPlayground.vue.d.ts +2 -0
  75. package/dist/composables/asymmetricComputed.d.ts +13 -0
  76. package/dist/composables/required.d.ts +1 -0
  77. package/dist/composables/useCustomValidity.d.ts +8 -1
  78. package/dist/composables/useManagedState.d.ts +11 -5
  79. package/dist/composables/useOpenDirection.d.ts +13 -0
  80. package/dist/composables/useRipple.d.ts +15 -0
  81. package/dist/index.cjs +4 -4
  82. package/dist/index.d.ts +5 -1
  83. package/dist/index.js +2668 -2114
  84. package/dist/playwright/ScreenshotMatrix.vue.d.ts +15 -8
  85. package/dist/playwright/screenshots.d.ts +6 -1
  86. package/dist/style.css +1 -1
  87. package/dist/utils/attrs.d.ts +3 -3
  88. package/dist/utils/plugin.d.ts +0 -1
  89. package/package.json +7 -12
  90. package/src/i18n/locales/de-DE.json +19 -4
  91. package/src/i18n/locales/en-US.json +19 -4
  92. package/src/styles/global.css +1 -1
  93. package/src/styles/index.scss +7 -6
  94. package/src/styles/mixins/checkbox.scss +1 -13
  95. package/src/styles/mixins/input.scss +49 -6
  96. package/src/styles/mixins/list.scss +6 -12
  97. package/src/styles/required.scss +1 -1
  98. package/src/styles/{dark.css → variables/dark.css} +1 -13
  99. package/src/styles/variables/density-compact.css +17 -0
  100. package/src/styles/variables/density-cozy.css +17 -0
  101. package/src/styles/variables/density-default.css +18 -0
  102. package/src/styles/{light.css → variables/light.css} +1 -13
  103. package/src/styles/variables/spacing.css +20 -0
  104. package/src/styles/{themes → variables/themes}/kaufland.css +2 -2
  105. package/src/styles/{themes → variables/themes}/lidl.css +2 -2
  106. package/src/styles/{themes → variables/themes}/onyx.css +2 -2
  107. package/src/styles/{themes → variables/themes}/onyx.json +1 -1
  108. package/src/styles/{themes → variables/themes}/twogo.css +2 -2
  109. package/dist/components/GridPlayground/GridElementsIndicator.vue.d.ts +0 -22
  110. package/dist/components/GridPlayground/GridPlayground.vue.d.ts +0 -27
  111. package/dist/components/OnyxRadioGroup/OnyxRadioGroup.d.ts +0 -1
  112. package/src/styles/density.scss +0 -41
  113. package/src/types/breakpoints.ts +0 -14
  114. package/src/types/colors.ts +0 -10
  115. package/src/types/components.ts +0 -59
  116. package/src/types/fonts.ts +0 -7
  117. package/src/types/i18n.ts +0 -68
  118. package/src/types/index.ts +0 -10
  119. package/src/types/themes.ts +0 -1
  120. package/src/types/utils.ts +0 -4
@@ -1,23 +1,29 @@
1
1
  import type { OnyxAppLayoutProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /** Navigation area of the application */
4
- navBar?(): unknown;
5
- /** Page content area of the application */
6
- default(): unknown;
7
- /** Overlays that cover the page and exclude the nav area */
8
- pageOverlay?(): unknown;
9
- /** Overlays that cover the complete page */
10
- appOverlay?(): unknown;
11
- }> & {
12
- /** Navigation area of the application */
13
- navBar?(): unknown;
14
- /** Page content area of the application */
15
- default(): unknown;
16
- /** Overlays that cover the page and exclude the nav area */
17
- pageOverlay?(): unknown;
18
- /** Overlays that cover the complete page */
19
- appOverlay?(): unknown;
2
+ declare var __VLS_inheritedAttrs: {};
3
+ declare const __VLS_templateResult: {
4
+ slots: Readonly<{
5
+ /** Navigation area of the application */
6
+ navBar?(): unknown;
7
+ /** Page content area of the application */
8
+ default(): unknown;
9
+ /** Overlays that cover the page and exclude the nav area */
10
+ pageOverlay?(): unknown;
11
+ /** Overlays that cover the complete page */
12
+ appOverlay?(): unknown;
13
+ }> & {
14
+ /** Navigation area of the application */
15
+ navBar?(): unknown;
16
+ /** Page content area of the application */
17
+ default(): unknown;
18
+ /** Overlays that cover the page and exclude the nav area */
19
+ pageOverlay?(): unknown;
20
+ /** Overlays that cover the complete page */
21
+ appOverlay?(): unknown;
22
+ };
23
+ refs: {};
24
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
20
25
  };
26
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
21
27
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAppLayoutProps>, {
22
28
  navBarAlignment: string;
23
29
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAppLayoutProps>, {
@@ -25,22 +31,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
25
31
  }>>>, {
26
32
  navBarAlignment: "top" | "left";
27
33
  }, {}>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
29
35
  export default _default;
30
-
31
36
  type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
33
38
  default: D[K];
34
39
  }> : P[K];
35
40
  };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
44
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
42
  type __VLS_TypePropsToOption<T> = {
46
43
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -50,3 +47,11 @@ type __VLS_TypePropsToOption<T> = {
50
47
  required: true;
51
48
  };
52
49
  };
50
+ type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
55
+ type __VLS_PrettifyLocal<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
@@ -1,15 +1,21 @@
1
1
  import type { OnyxAvatarProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /**
4
- * Optional slot to override the default initials. Will only be used if `type` is `initials`.
5
- */
6
- default?(): unknown;
7
- }> & {
8
- /**
9
- * Optional slot to override the default initials. Will only be used if `type` is `initials`.
10
- */
11
- default?(): unknown;
2
+ declare var __VLS_inheritedAttrs: {};
3
+ declare const __VLS_templateResult: {
4
+ slots: Readonly<{
5
+ /**
6
+ * Optional slot to override the default initials. Will only be used if `type` is `initials`.
7
+ */
8
+ default?(): unknown;
9
+ }> & {
10
+ /**
11
+ * Optional slot to override the default initials. Will only be used if `type` is `initials`.
12
+ */
13
+ default?(): unknown;
14
+ };
15
+ refs: {};
16
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
12
17
  };
18
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
13
19
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAvatarProps>, {
14
20
  size: string;
15
21
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAvatarProps>, {
@@ -17,21 +23,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
17
23
  }>>>, {
18
24
  size: "16px" | "24px" | "32px" | "48px" | "64px" | "96px";
19
25
  }, {}>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
21
27
  export default _default;
22
28
  type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
30
  default: D[K];
25
31
  }> : P[K];
26
32
  };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
35
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
34
  type __VLS_TypePropsToOption<T> = {
37
35
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -41,3 +39,11 @@ type __VLS_TypePropsToOption<T> = {
41
39
  required: true;
42
40
  };
43
41
  };
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
47
+ type __VLS_PrettifyLocal<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -1,16 +1,22 @@
1
- declare function __VLS_template(): Readonly<{
2
- /**
3
- * Default slot to place the avatars.
4
- */
5
- default(): unknown;
6
- }> & {
7
- /**
8
- * Default slot to place the avatars.
9
- */
10
- default(): unknown;
1
+ declare var __VLS_inheritedAttrs: {};
2
+ declare const __VLS_templateResult: {
3
+ slots: Readonly<{
4
+ /**
5
+ * Default slot to place the avatars.
6
+ */
7
+ default(): unknown;
8
+ }> & {
9
+ /**
10
+ * Default slot to place the avatars.
11
+ */
12
+ default(): unknown;
13
+ };
14
+ refs: {};
15
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
11
16
  };
17
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
12
18
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
14
20
  export default _default;
15
21
  type __VLS_WithTemplateSlots<T, S> = T & {
16
22
  new (): {
@@ -1,15 +1,21 @@
1
1
  import type { OnyxBadgeProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /**
4
- * Badge content.
5
- */
6
- default?(): unknown;
7
- }> & {
8
- /**
9
- * Badge content.
10
- */
11
- default?(): unknown;
2
+ declare var __VLS_inheritedAttrs: {};
3
+ declare const __VLS_templateResult: {
4
+ slots: Readonly<{
5
+ /**
6
+ * Badge content.
7
+ */
8
+ default?(): unknown;
9
+ }> & {
10
+ /**
11
+ * Badge content.
12
+ */
13
+ default?(): unknown;
14
+ };
15
+ refs: {};
16
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
12
17
  };
18
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
13
19
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxBadgeProps>, {
14
20
  color: string;
15
21
  dot: boolean;
@@ -20,21 +26,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
20
26
  color: import("../..").OnyxColor;
21
27
  dot: boolean;
22
28
  }, {}>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
24
30
  export default _default;
25
31
  type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
27
33
  default: D[K];
28
34
  }> : P[K];
29
35
  };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_WithTemplateSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };
38
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
37
  type __VLS_TypePropsToOption<T> = {
40
38
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -44,3 +42,11 @@ type __VLS_TypePropsToOption<T> = {
44
42
  required: true;
45
43
  };
46
44
  };
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ type __VLS_PrettifyLocal<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
@@ -27,13 +27,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }, {}>;
28
28
  export default _default;
29
29
  type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
31
31
  default: D[K];
32
32
  }> : P[K];
33
33
  };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
34
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
35
  type __VLS_TypePropsToOption<T> = {
39
36
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -43,3 +40,6 @@ type __VLS_TypePropsToOption<T> = {
43
40
  required: true;
44
41
  };
45
42
  };
43
+ type __VLS_PrettifyLocal<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -1,23 +1,23 @@
1
1
  import type { SelectOptionValue } from "../../types";
2
2
  import type { OnyxCheckboxProps } from "./types";
3
- declare const _default: <TValue extends SelectOptionValue = SelectOptionValue>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
3
+ declare const _default: <TValue extends SelectOptionValue = SelectOptionValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  onValidityChange?: ((validity: ValidityState) => any) | undefined;
6
6
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
7
7
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & {
8
8
  onValidityChange?: ((validity: ValidityState) => any) | undefined;
9
9
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
10
- }, never>, "onValidityChange" | "onUpdate:modelValue"> & OnyxCheckboxProps<TValue>> & __VLS_BuiltInPublicProps;
10
+ }, never>, "onValidityChange" | "onUpdate:modelValue"> & OnyxCheckboxProps<TValue>> & import("vue").PublicProps;
11
11
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
12
12
  attrs: any;
13
- slots: ReturnType<() => {}>;
14
- emit: (((evt: "validityChange", validity: ValidityState) => void) & ((evt: "update:modelValue", value: boolean) => void)) & {};
13
+ slots: {};
14
+ emit: ((evt: "validityChange", validity: ValidityState) => void) & ((evt: "update:modelValue", value: boolean) => void);
15
15
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
16
  [key: string]: any;
17
17
  }> & {
18
18
  __ctx?: Awaited<typeof __VLS_setup>;
19
19
  };
20
20
  export default _default;
21
- type __VLS_Prettify<T> = {
21
+ type __VLS_PrettifyLocal<T> = {
22
22
  [K in keyof T]: T[K];
23
23
  } & {};
@@ -1,21 +1,21 @@
1
1
  import type { SelectOptionValue } from "../../types";
2
2
  import type { OnyxCheckboxGroupProps } from "./types";
3
- declare const _default: <TValue extends SelectOptionValue>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
3
+ declare const _default: <TValue extends SelectOptionValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  "onUpdate:modelValue"?: ((value: TValue[]) => any) | undefined;
6
6
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & {
7
7
  "onUpdate:modelValue"?: ((value: TValue[]) => any) | undefined;
8
- }, never>, "onUpdate:modelValue"> & OnyxCheckboxGroupProps<TValue>> & __VLS_BuiltInPublicProps;
8
+ }, never>, "onUpdate:modelValue"> & OnyxCheckboxGroupProps<TValue>> & import("vue").PublicProps;
9
9
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
10
10
  attrs: any;
11
- slots: ReturnType<() => {}>;
12
- emit: ((evt: "update:modelValue", value: TValue[]) => void) & {};
11
+ slots: {};
12
+ emit: (evt: "update:modelValue", value: TValue[]) => void;
13
13
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
14
  [key: string]: any;
15
15
  }> & {
16
16
  __ctx?: Awaited<typeof __VLS_setup>;
17
17
  };
18
18
  export default _default;
19
- type __VLS_Prettify<T> = {
19
+ type __VLS_PrettifyLocal<T> = {
20
20
  [K in keyof T]: T[K];
21
21
  } & {};
@@ -1,7 +1,9 @@
1
1
  import type { DensityProp } from "../../composables/density";
2
2
  import type { RequiredMarkerProp } from "../../composables/required";
3
+ import type { CustomValidityProp } from "../../composables/useCustomValidity";
3
4
  import type { AutofocusProp, BaseSelectOption, Direction, SelectOptionValue } from "../../types";
4
- export type OnyxCheckboxGroupProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & Pick<BaseSelectOption, "truncation"> & {
5
+ import type { OnyxFormElementProps } from "../OnyxFormElement/types";
6
+ export type OnyxCheckboxGroupProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & Pick<BaseSelectOption, "truncation"> & Pick<OnyxFormElementProps, "label" | "hideLabel"> & {
5
7
  /**
6
8
  * Checkbox options.
7
9
  */
@@ -10,10 +12,6 @@ export type OnyxCheckboxGroupProps<TValue extends SelectOptionValue = SelectOpti
10
12
  * Currently checked checkboxes.
11
13
  */
12
14
  modelValue?: TValue[];
13
- /**
14
- * Headline to show above all checkboxes which is also the fieldset legend.
15
- */
16
- headline?: string;
17
15
  /**
18
16
  * Direction of the checkboxes.
19
17
  */
@@ -38,4 +36,4 @@ export type OnyxCheckboxGroupProps<TValue extends SelectOptionValue = SelectOpti
38
36
  */
39
37
  skeleton?: number;
40
38
  };
41
- export type CheckboxGroupOption<TValue extends SelectOptionValue = SelectOptionValue> = BaseSelectOption<TValue> & RequiredMarkerProp & AutofocusProp;
39
+ export type CheckboxGroupOption<TValue extends SelectOptionValue = SelectOptionValue> = BaseSelectOption<TValue> & RequiredMarkerProp & CustomValidityProp & AutofocusProp;
@@ -1,19 +1,27 @@
1
1
  import type { OnyxDialogProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /**
4
- * Dialog content. For accessibility purposes it is strongly recommended
5
- * to focus an element inside the dialog when it opens. The element will depend
6
- * on your use case (e.g. an input, button etc.).
7
- */
8
- default(): unknown;
9
- }> & {
10
- /**
11
- * Dialog content. For accessibility purposes it is strongly recommended
12
- * to focus an element inside the dialog when it opens. The element will depend
13
- * on your use case (e.g. an input, button etc.).
14
- */
15
- default(): unknown;
2
+ declare var __VLS_inheritedAttrs: {};
3
+ declare const __VLS_templateResult: {
4
+ slots: Readonly<{
5
+ /**
6
+ * Dialog content. For accessibility purposes it is strongly recommended
7
+ * to focus an element inside the dialog when it opens. The element will depend
8
+ * on your use case (e.g. an input, button etc.).
9
+ */
10
+ default(): unknown;
11
+ }> & {
12
+ /**
13
+ * Dialog content. For accessibility purposes it is strongly recommended
14
+ * to focus an element inside the dialog when it opens. The element will depend
15
+ * on your use case (e.g. an input, button etc.).
16
+ */
17
+ default(): unknown;
18
+ };
19
+ refs: {
20
+ dialogRef: import("vue").DialogHTMLAttributes & import("vue").ReservedProps;
21
+ };
22
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
16
23
  };
24
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
17
25
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxDialogProps>, {
18
26
  open: boolean;
19
27
  modal: boolean;
@@ -31,21 +39,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
31
39
  modal: boolean;
32
40
  alert: boolean;
33
41
  }, {}>;
34
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
35
43
  export default _default;
36
44
  type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
38
46
  default: D[K];
39
47
  }> : P[K];
40
48
  };
41
- type __VLS_Prettify<T> = {
42
- [K in keyof T]: T[K];
43
- } & {};
44
- type __VLS_WithTemplateSlots<T, S> = T & {
45
- new (): {
46
- $slots: S;
47
- };
48
- };
49
49
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
50
  type __VLS_TypePropsToOption<T> = {
51
51
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -55,3 +55,11 @@ type __VLS_TypePropsToOption<T> = {
55
55
  required: true;
56
56
  };
57
57
  };
58
+ type __VLS_WithTemplateSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
63
+ type __VLS_PrettifyLocal<T> = {
64
+ [K in keyof T]: T[K];
65
+ } & {};
@@ -1,25 +1,41 @@
1
- declare function __VLS_template(): Readonly<{
2
- /**
3
- * Label / text to display.
4
- */
5
- default(): unknown;
6
- /**
7
- * Optional slot to override the default icon.
8
- */
9
- icon?(): unknown;
10
- }> & {
11
- /**
12
- * Label / text to display.
13
- */
14
- default(): unknown;
15
- /**
16
- * Optional slot to override the default icon.
17
- */
18
- icon?(): unknown;
1
+ import { type DensityProp } from "../../composables/density";
2
+ declare var __VLS_inheritedAttrs: {};
3
+ declare const __VLS_templateResult: {
4
+ slots: Readonly<{
5
+ /**
6
+ * Label / text to display.
7
+ */
8
+ default(): unknown;
9
+ /**
10
+ * Optional slot to override the default icon.
11
+ */
12
+ icon?(): unknown;
13
+ }> & {
14
+ /**
15
+ * Label / text to display.
16
+ */
17
+ default(): unknown;
18
+ /**
19
+ * Optional slot to override the default icon.
20
+ */
21
+ icon?(): unknown;
22
+ };
23
+ refs: {};
24
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
19
25
  };
20
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
27
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<DensityProp>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DensityProp>>>, {}, {}>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
22
29
  export default _default;
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToOption<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
23
39
  type __VLS_WithTemplateSlots<T, S> = T & {
24
40
  new (): {
25
41
  $slots: S;
@@ -0,0 +1,57 @@
1
+ import { type FormErrorMessages } from "../../composables/useCustomValidity";
2
+ declare var __VLS_inheritedAttrs: {};
3
+ declare const __VLS_templateResult: {
4
+ slots: Readonly<{
5
+ /**
6
+ * Any component. Will be wrapped in an OnyxTooltip showing
7
+ * an error message if an error message is set.
8
+ */
9
+ default(): unknown;
10
+ }> & {
11
+ /**
12
+ * Any component. Will be wrapped in an OnyxTooltip showing
13
+ * an error message if an error message is set.
14
+ */
15
+ default(): unknown;
16
+ };
17
+ refs: {
18
+ targetRef: import("vue").HTMLAttributes & import("vue").ReservedProps;
19
+ };
20
+ attrs: Partial<typeof __VLS_inheritedAttrs>;
21
+ };
22
+ type __VLS_Slots = typeof __VLS_templateResult['slots'];
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
24
+ /**
25
+ * The given component will be shown inside a tooltip when
26
+ * errorMessages are provided. Without errorMessages, the
27
+ * component will not be rendered inside a slot.
28
+ */
29
+ errorMessages?: FormErrorMessages;
30
+ /** We don't show an error if the content is not interactive */
31
+ disabled?: boolean;
32
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
33
+ /**
34
+ * The given component will be shown inside a tooltip when
35
+ * errorMessages are provided. Without errorMessages, the
36
+ * component will not be rendered inside a slot.
37
+ */
38
+ errorMessages?: FormErrorMessages;
39
+ /** We don't show an error if the content is not interactive */
40
+ disabled?: boolean;
41
+ }>>>, {}, {}>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
43
+ export default _default;
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -8,13 +8,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
8
8
  }, {}>;
9
9
  export default _default;
10
10
  type __VLS_WithDefaults<P, D> = {
11
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
11
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
12
12
  default: D[K];
13
13
  }> : P[K];
14
14
  };
15
- type __VLS_Prettify<T> = {
16
- [K in keyof T]: T[K];
17
- } & {};
18
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
16
  type __VLS_TypePropsToOption<T> = {
20
17
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -24,3 +21,6 @@ type __VLS_TypePropsToOption<T> = {
24
21
  required: true;
25
22
  };
26
23
  };
24
+ type __VLS_PrettifyLocal<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
@@ -0,0 +1,11 @@
1
+ import type { MountResultJsx } from "@playwright/experimental-ct-vue";
2
+ import { type Locator, type Page } from "@playwright/test";
3
+ type PageOrLocator = Page | Locator | MountResultJsx;
4
+ type FormElementTooltip = "label" | "error" | "message";
5
+ export declare const createFormElementUtils: (page: PageOrLocator) => {
6
+ getRoot: (prev?: PageOrLocator) => Locator;
7
+ getTooltipTrigger: (type: FormElementTooltip, prev?: PageOrLocator) => Locator;
8
+ getTooltipPopover: (type: FormElementTooltip, prev?: PageOrLocator) => Locator;
9
+ triggerTooltipVisible: (type: FormElementTooltip, prev?: PageOrLocator) => Promise<void>;
10
+ };
11
+ export {};