Skip to content

Commit

Permalink
feat(yunti-ui): add Page
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Jul 8, 2024
1 parent b1ae15e commit 74738ad
Show file tree
Hide file tree
Showing 9 changed files with 18,736 additions and 15,891 deletions.
22 changes: 22 additions & 0 deletions packages/shared/src/setters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,25 @@ export const Setters = {
componentName: 'ObjectSetter',
},
};

export const CLASS_NAME_PROP = {
name: 'className',
title: { label: '类名', tip: '自定义样式类名' },
setter: { componentName: 'StringSetter' },
};

export const STYLE_PROP = {
name: 'style',
title: { label: '样式', tip: '自定义样式' },
setter: { componentName: 'StyleSetter' },
};

export const STYLE_ONLY_CSS_CODE_PROP = {
...STYLE_PROP,
setter: {
...STYLE_PROP.setter,
props: {
showModuleList: [],
},
},
};
2 changes: 1 addition & 1 deletion packages/yunti-ui-lowcode-materials/lowcode/Affix/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { AffixSnippets } from './snippets';
const AffixMetaInfo: IPublicTypeComponentMetadata = {
componentName: 'Affix',
title: 'Affix',
category: '其他',
docUrl: '',
screenshot: '',
devMode: 'proCode',
Expand Down Expand Up @@ -117,7 +118,6 @@ const AffixMetaInfo: IPublicTypeComponentMetadata = {
},
component: {},
},
category: '其他',
};

export const AffixMeta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { COMMON_CONFIGURE_PROPS } from '../utils';
import { AutoCompleteSnippets } from './snippets';

const AutoCompleteMetaInfo: IPublicTypeComponentMetadata = {
componentName: '自动完成(AutoComplete)',
title: 'AutoComplete',
componentName: 'AutoComplete',
title: '自动完成(AutoComplete)',
docUrl: '',
screenshot: '',
devMode: 'proCode',
Expand Down
Loading

0 comments on commit 74738ad

Please sign in to comment.