@profitliga/ui 1.2.35 → 1.2.37

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 { Component } from 'vue';
2
2
  import { TSize, TVariants } from '../../types/global.types';
3
3
  export type ButtonSize = TSize;
4
- export type ButtonVariant = Omit<TVariants, 'info'> | 'secondary-blue' | 'link';
4
+ export type ButtonVariant = Exclude<TVariants, 'info'> | 'secondary-blue' | 'link';
5
5
  export type ButtonStyle = 'contrast' | 'outlined' | 'text' | 'text-filled';
6
6
  export type ButtonIconPosition = 'start' | 'end';
7
7
  export interface IButtonProps {
@@ -9,11 +9,15 @@ export interface ConfirmOptions {
9
9
  variant?: Extract<TVariants, 'success' | 'danger' | 'warning' | 'info'>;
10
10
  description?: string;
11
11
  content?: VNode;
12
+ widthContent?: number;
12
13
  icon?: Component | VNode;
13
14
  iconColor?: string;
14
- acceptProps?: ConfirmDialogButtonProps;
15
+ acceptProps?: ConfirmDialogButtonProps & {
16
+ customClose?: boolean;
17
+ };
15
18
  rejectProps?: ConfirmDialogButtonProps & {
16
19
  enabled?: boolean;
20
+ customClose?: boolean;
17
21
  };
18
22
  accept?: () => void;
19
23
  reject?: () => void;
@@ -1,4 +1,5 @@
1
- import { DropdownMenuRootProps } from 'reka-ui';
1
+ import { DropdownMenuRootProps, DropdownMenuTriggerProps } from 'reka-ui';
2
+ import { IDropdownMenuContentProps } from './DropdownMenuContent.vue';
2
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
4
  export interface IDropdownMenuProps {
4
5
  defaultOpen?: DropdownMenuRootProps['defaultOpen'];
@@ -12,6 +13,8 @@ export interface IDropdownMenuProps {
12
13
  contentAvoidCollisions?: boolean;
13
14
  contentCollisionPadding?: number;
14
15
  zIndexContent?: number;
16
+ triggerProps?: DropdownMenuTriggerProps;
17
+ contentProps?: IDropdownMenuContentProps;
15
18
  }
16
19
  type __VLS_Props = IDropdownMenuProps;
17
20
  type __VLS_PublicProps = {