asma-core-ui 3.0.118 → 3.0.120-alpha1

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,30 +1,3 @@
1
- import React, { type ReactNode } from 'react';
2
- import type { IFloatingWindowProps } from './types';
3
- export declare const MinimizableDialog: React.FC<{
4
- onCloseText?: string;
5
- onMinimizeText?: string;
6
- onExpandText?: string;
7
- onFullScreenText?: string;
8
- open: boolean;
9
- onClose: () => void;
10
- actionNode?: React.ReactNode;
11
- showCloseIcon?: boolean;
12
- showMinimizeIcon?: boolean;
13
- showExpandIcon?: boolean;
14
- showFullScreenIcon?: boolean;
15
- title: ReactNode;
16
- label?: ReactNode;
17
- children?: React.ReactNode | ((props: IFloatingWindowProps) => ReactNode);
18
- className?: string;
19
- primaryButtonText?: string;
20
- secondaryButtonText?: string;
21
- onPrimaryButtonClick?: () => void;
22
- onSecondaryButtonClick?: () => void;
23
- extraActions?: {
24
- label: string;
25
- className?: string;
26
- onClick: () => void;
27
- }[];
28
- extraActionsText?: string;
29
- dataTest: string;
30
- }>;
1
+ import React from 'react';
2
+ import type { IMinimizableDialogProps } from './types';
3
+ export declare const MinimizableDialog: React.FC<IMinimizableDialogProps>;
@@ -1,3 +1,35 @@
1
+ import type { ReactNode } from 'react';
1
2
  export type IFloatingWindowProps = {
2
3
  fullScreen: boolean;
3
4
  };
5
+ export type IMinimizableDialogProps = {
6
+ onCloseText?: string;
7
+ onMinimizeText?: string;
8
+ onExpandText?: string;
9
+ onFullScreenText?: string;
10
+ open: boolean;
11
+ onClose: () => void;
12
+ actionNode?: React.ReactNode;
13
+ showCloseIcon?: boolean;
14
+ showMinimizeIcon?: boolean;
15
+ showExpandIcon?: boolean;
16
+ showFullScreenIcon?: boolean;
17
+ title: ReactNode;
18
+ label?: ReactNode;
19
+ children?: React.ReactNode | ((props: IFloatingWindowProps) => ReactNode);
20
+ className?: string;
21
+ primaryButtonText?: string;
22
+ secondaryButtonText?: string;
23
+ onPrimaryButtonClick?: () => void;
24
+ onSecondaryButtonClick?: () => void;
25
+ extraActions?: {
26
+ label: string;
27
+ className?: string;
28
+ onClick: () => void;
29
+ }[];
30
+ extraActionsText?: string;
31
+ btnContainerClassName?: string;
32
+ footerClassName?: string;
33
+ footerInfo?: ReactNode;
34
+ dataTest: string;
35
+ };
@@ -113,9 +113,11 @@ declare const _default: {
113
113
  };
114
114
  "opacity-appear": {
115
115
  "0%": {
116
+ height: string;
116
117
  opacity: string;
117
118
  };
118
119
  "100%": {
120
+ height: string;
119
121
  opacity: string;
120
122
  };
121
123
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.0.118",
6
+ "version": "3.0.120-alpha1",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",
@@ -101,9 +101,11 @@
101
101
  },
102
102
  "opacity-appear": {
103
103
  "0%": {
104
+ "height": "0",
104
105
  "opacity": "0"
105
106
  },
106
107
  "100%": {
108
+ "height": "100%",
107
109
  "opacity": "1"
108
110
  }
109
111
  },