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

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.
@@ -1,7 +1,7 @@
1
1
  import type { DensityProp } from "../../composables/density";
2
2
  import type { RequiredMarkerProp } from "../../composables/required";
3
3
  import type { AutofocusProp, BaseSelectOption, Direction, SelectOptionValue } from "../../types";
4
- export type OnyxCheckboxGroupProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & {
4
+ export type OnyxCheckboxGroupProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & Pick<BaseSelectOption, "truncation"> & {
5
5
  /**
6
6
  * Checkbox options.
7
7
  */
@@ -1,12 +1,12 @@
1
1
  import type { OnyxMobileNavButtonProps } from "./types";
2
2
  declare function __VLS_template(): Readonly<{
3
3
  /**
4
- * Slot for the menu content when its open.
4
+ * Slot for the menu content when it's open.
5
5
  */
6
6
  default(): unknown;
7
7
  }> & {
8
8
  /**
9
- * Slot for the menu content when its open.
9
+ * Slot for the menu content when it's open.
10
10
  */
11
11
  default(): unknown;
12
12
  };
@@ -12,4 +12,8 @@ export type OnyxMobileNavButtonProps = {
12
12
  * If `true`, an "x" icon will be displayed.
13
13
  */
14
14
  open?: boolean;
15
+ /**
16
+ * Headline of the mobile flyout
17
+ */
18
+ headline?: string;
15
19
  };
@@ -2,7 +2,7 @@ import type { DensityProp } from "../../composables/density";
2
2
  import type { RequiredMarkerProp } from "../../composables/required";
3
3
  import type { CustomValidityProp } from "../../composables/useCustomValidity";
4
4
  import type { AutofocusProp, BaseSelectOption, Direction, SelectOptionValue } from "../../types";
5
- export type OnyxRadioGroupProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & RequiredMarkerProp & CustomValidityProp & {
5
+ export type OnyxRadioGroupProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & RequiredMarkerProp & CustomValidityProp & Pick<BaseSelectOption, "truncation"> & {
6
6
  /**
7
7
  * Options for the individual radio buttons of the group.
8
8
  */
@@ -51,7 +51,7 @@ export type SelectModelValueProps<TValue extends SelectOptionValue> = {
51
51
  label?: string;
52
52
  };
53
53
  };
54
- export type OnyxSelectProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & SelectModelValueProps<TValue> & SelectSearchProps & Omit<OnyxSelectInputProps<TValue>, "density" | "modelValue"> & AutofocusProp & {
54
+ export type OnyxSelectProps<TValue extends SelectOptionValue = SelectOptionValue> = DensityProp & SelectModelValueProps<TValue> & SelectSearchProps & Omit<OnyxSelectInputProps<TValue>, "density" | "modelValue"> & AutofocusProp & Pick<BaseSelectOption, "truncation"> & {
55
55
  /**
56
56
  * If true, the select popover is expanded and visible.
57
57
  * Property is managed internally, when undefined.