ui-beyable 1.0.40-beta.2 → 1.0.40-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.
|
@@ -5,7 +5,7 @@ interface IMessage {
|
|
|
5
5
|
type?: 'information' | 'success' | 'warning' | 'alert' | 'log';
|
|
6
6
|
title?: React.ReactNode | string;
|
|
7
7
|
text?: React.ReactNode | string;
|
|
8
|
-
appearance?: 'background' | 'outline' | 'ghost';
|
|
8
|
+
appearance?: 'background' | 'outline' | 'ghost' | 'background_outline';
|
|
9
9
|
icon?: 'default' | 'information' | 'success' | 'warning' | 'alert';
|
|
10
10
|
showIcon?: boolean;
|
|
11
11
|
marginSize?: 's' | 'm' | 'l' | 'none';
|
package/lib/esm/index.js
CHANGED
|
@@ -107,9 +107,11 @@ function Article(_a) {
|
|
|
107
107
|
if (size in outerSizeClass) {
|
|
108
108
|
outerClass.push(outerSizeClass[size]);
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
if (hasPadding) {
|
|
111
|
+
var finalInnerSize = (innerSize || size);
|
|
112
|
+
if (finalInnerSize && finalInnerSize in innerSizeClass) {
|
|
113
|
+
innerClass.push(innerSizeClass[finalInnerSize]);
|
|
114
|
+
}
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
117
|
if (!hasPadding) {
|