@db-ux/v-core-components 2.0.9 → 2.0.10-popover-d7e8b9a

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,4 +1,4 @@
1
- import { BaseFormProps, CloseEventState, CustomFormProps, FormMessageProps, FormState, FromValidState, GlobalProps, GlobalState, IconProps, PlacementVerticalType, PopoverState, RequiredProps, ShowIconProps, ShowLabelProps, ValidationType, WidthType } from '../../shared/model';
1
+ import { BaseFormProps, CloseEventState, CustomFormProps, DocumentScrollState, FormMessageProps, FormState, FromValidState, GlobalProps, GlobalState, IconProps, PlacementVerticalType, RequiredProps, ShowIconProps, ShowLabelProps, ValidationType, WidthType } from '../../shared/model';
2
2
  import { DBCustomSelectFormFieldDefaultProps } from '../custom-select-form-field/model';
3
3
  import { CustomSelectDropdownWidthType } from '../custom-select-dropdown/model';
4
4
  import { DBCustomSelectListItemExtraProps } from '../custom-select-list-item/model';
@@ -189,5 +189,6 @@ export type DBCustomSelectDefaultState = {
189
189
  getSelectAllLabel: () => string;
190
190
  selectAllChecked: boolean;
191
191
  selectAllIndeterminate: boolean;
192
+ handleAutoPlacement: () => void;
192
193
  };
193
- export type DBCustomSelectState = DBCustomSelectDefaultState & GlobalState & FormState & FromValidState & CloseEventState & PopoverState;
194
+ export type DBCustomSelectState = DBCustomSelectDefaultState & GlobalState & FormState & FromValidState & CloseEventState & DocumentScrollState;
@@ -5,7 +5,7 @@ type __VLS_Slots = {} & {
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<DBIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBIconProps> & Readonly<{}>, {
7
7
  text: string;
8
- variant: import("./model").IconVariantType;
8
+ variant: string;
9
9
  children: any;
10
10
  className: string;
11
11
  id: string;
@@ -1,10 +1,8 @@
1
1
  import { GlobalProps, GlobalState, IconProps, TextProps } from '../../shared/model';
2
- export declare const IconVariantList: readonly ["default", "inverted", "filled"];
3
- export type IconVariantType = (typeof IconVariantList)[number];
4
2
  export declare const IconWeightList: readonly ["16", "20", "24", "32", "48", "64"];
5
3
  export type IconWeightType = (typeof IconWeightList)[number];
6
4
  export type DBIconDefaultProps = {
7
- variant?: IconVariantType;
5
+ variant?: string;
8
6
  weight?: IconWeightType;
9
7
  };
10
8
  export type DBIconProps = DBIconDefaultProps & GlobalProps & IconProps & TextProps;
@@ -13,6 +13,5 @@ export type DBPopoverProps = DBPopoverDefaultProps & GlobalProps & SpacingProps
13
13
  export type DBPopoverDefaultState = {
14
14
  isExpanded?: boolean;
15
15
  getTrigger: () => Element | null;
16
- handleLeave: (event: any) => void;
17
16
  };
18
17
  export type DBPopoverState = DBPopoverDefaultState & GlobalState & PopoverState & InitializedState;
@@ -1,7 +1,8 @@
1
1
  import { ChangeEventProps, ChangeEventState, ClickEventProps, ClickEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, FromValidState, GlobalProps, GlobalState, IconProps, InitializedState, InputEventProps, InputEventState, ShowIconProps } from '../../shared/model';
2
2
  export type DBSelectDefaultProps = {
3
3
  /**
4
- * Enable multiple select -> use DBCustomSelect/db-custom-select for a better look
4
+ * @deprecated
5
+ * Enables multiple select, but it isn't styled, please use DBCustomSelect/db-custom-select instead
5
6
  */
6
7
  multiple?: boolean;
7
8
  /**
@@ -1,7 +1,9 @@
1
- import { ClickEventState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
1
+ import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
2
2
  export type DBTooltipDefaultProps = {
3
3
  showArrow?: boolean | string;
4
4
  };
5
5
  export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps;
6
- export type DBTooltipDefaultState = {};
7
- export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState;
6
+ export type DBTooltipDefaultState = {
7
+ getParent: () => HTMLElement;
8
+ };
9
+ export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState;