栗嘉男
2 years ago
75 changed files with 603 additions and 223 deletions
@ -1,22 +0,0 @@ |
|||||
name: Issues Similarity Analysis |
|
||||
|
|
||||
on: |
|
||||
issues: |
|
||||
types: [opened, edited] |
|
||||
|
|
||||
permissions: |
|
||||
contents: read |
|
||||
|
|
||||
jobs: |
|
||||
similarity-analysis: |
|
||||
permissions: |
|
||||
issues: write # for actions-cool/issues-similarity-analysis to create issue comments |
|
||||
runs-on: ubuntu-latest |
|
||||
steps: |
|
||||
- name: analysis |
|
||||
uses: actions-cool/issues-similarity-analysis@v1 |
|
||||
with: |
|
||||
filter-threshold: 0.5 |
|
||||
title-excludes: '' |
|
||||
comment-title: '### You may look for issues:' |
|
||||
comment-body: '${index}. ${similarity} #${number}' |
|
@ -1,26 +0,0 @@ |
|||||
import type { DropdownToken } from '.'; |
|
||||
import type { GenerateStyle } from '../../theme/internal'; |
|
||||
|
|
||||
const genButtonStyle: GenerateStyle<DropdownToken> = (token) => { |
|
||||
const { componentCls, antCls, paddingXS, opacityLoading } = token; |
|
||||
|
|
||||
return { |
|
||||
[`${componentCls}-button`]: { |
|
||||
whiteSpace: 'nowrap', |
|
||||
|
|
||||
[`&${antCls}-btn-group > ${antCls}-btn`]: { |
|
||||
[`&-loading, &-loading + ${antCls}-btn`]: { |
|
||||
cursor: 'default', |
|
||||
pointerEvents: 'none', |
|
||||
opacity: opacityLoading, |
|
||||
}, |
|
||||
|
|
||||
[`&:last-child:not(:first-child):not(${antCls}-btn-icon-only)`]: { |
|
||||
paddingInline: paddingXS, |
|
||||
}, |
|
||||
}, |
|
||||
}, |
|
||||
}; |
|
||||
}; |
|
||||
|
|
||||
export default genButtonStyle; |
|
Loading…
Reference in new issue