Skip to content

Commit

Permalink
feat(button): button complete 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
duenyang committed Jun 5, 2024
1 parent 624728b commit 490eb11
Show file tree
Hide file tree
Showing 29 changed files with 614 additions and 8,867 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ module.exports = {
'class-methods-use-this': 'off',
'no-script-url': 'warn',
'no-param-reassign': ['error', { props: true, ignorePropertyModificationsForRegex: ['^html'] }],
'no-underscore-dangle': ['error', { allow: ['__filename', '__dirname'] }],
'no-underscore-dangle': ['error', { allow: ['__filename', '__dirname', '__TDESIGN_THEME_PREFIX__'] }],
},
};
1 change: 1 addition & 0 deletions script/generate-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const __dirname = path.dirname(__filename);
const componentsPath = path.resolve(__dirname, '../src');

const components = fs.readdirSync(componentsPath).filter((name) => {
if (name === '_common') return false;
const componentPath = path.resolve(componentsPath, name);
if (fs.statSync(componentPath).isDirectory()) {
return true;
Expand Down
1 change: 0 additions & 1 deletion script/plugin-tdoc/md-to-wc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export default async function mdToReact(options) {
<td-doc-tabs ref={(e) => {tabRef.value = e;tabRef.update();}} tabs={tabs} tab={tab.value}></td-doc-tabs>
<div style={isShow('demo')} name="DEMO">
${mdSegment.demoMd}
// 先隐藏贡献值,因为接口还拉不出来
</div>
<div style={isShow('api')} name="API">
${mdSegment.apiMd}
Expand Down
Loading

0 comments on commit 490eb11

Please # to comment.