plain-design 1.0.0-beta.6 → 1.0.0-beta.8
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.
package/package.json
CHANGED
@@ -203,7 +203,7 @@ export function createThemeConfigurationData(prefix: string | null, config?: Dee
|
|
203
203
|
|
204
204
|
const baseColorList: Record<tGenerateBaseColorList<iThemeBaseColors>, string> = (() => {
|
205
205
|
const colors = {} as any;
|
206
|
-
Object.keys(
|
206
|
+
Object.keys(base).forEach((colorName) => {
|
207
207
|
const baseColor = (base as any)[colorName];
|
208
208
|
if (!baseColor) {return;}
|
209
209
|
ThemeColorNum.forEach(i => {
|
@@ -42,6 +42,7 @@ export const Dialog = designComponent({
|
|
42
42
|
|
43
43
|
noContentPadding: { type: Boolean }, // 去掉内容默认内边距
|
44
44
|
noHead: { type: Boolean, }, // 去掉默认弹框标题
|
45
|
+
noFoot: { type: Boolean }, // 去掉底部内容
|
45
46
|
noMask: { type: Boolean }, // 去掉遮罩
|
46
47
|
noClose: { type: Boolean }, // 去掉关闭按钮
|
47
48
|
|
@@ -417,7 +418,7 @@ export const Dialog = designComponent({
|
|
417
418
|
<div className="dialog-body">
|
418
419
|
{slots.default()}
|
419
420
|
</div>
|
420
|
-
{(!!props.confirmButton || !!props.cancelButton || slots.foot.isExist()) && (
|
421
|
+
{!props.noFoot && (!!props.confirmButton || !!props.cancelButton || slots.foot.isExist()) && (
|
421
422
|
<div className="dialog-foot">
|
422
423
|
{slots.foot()}
|
423
424
|
{(() => {
|