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/cjs/index.js
CHANGED
|
@@ -109,9 +109,11 @@ function Article(_a) {
|
|
|
109
109
|
if (size in outerSizeClass) {
|
|
110
110
|
outerClass.push(outerSizeClass[size]);
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
if (hasPadding) {
|
|
113
|
+
var finalInnerSize = (innerSize || size);
|
|
114
|
+
if (finalInnerSize && finalInnerSize in innerSizeClass) {
|
|
115
|
+
innerClass.push(innerSizeClass[finalInnerSize]);
|
|
116
|
+
}
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
if (!hasPadding) {
|