-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 新增:级联选择器 `<Cascader />` 组件; - 新增:进度条 `<Progress />` 组件; - 新增:`<Tree />` 组件增加点击事件; - 修复:修正 `<NavMenu />` 不动态更新的 bug; - 修复:修改 `<DatePicker />` 依赖 date-fns,修改范围选择结束时间; - 修复:修正文档语言切换的 bug; - 文档:工作流优化,增加 sass-lint,所有组件无需单独引用样式。
- Loading branch information
Showing
146 changed files
with
5,210 additions
and
1,635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# MIFE dotfiles | ||
|
||
# Output files | ||
# npmignore | ||
dist/ | ||
docs/ | ||
site/ | ||
|
||
# Editor generate files | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
# sass-lint config generated by make-sass-lint-config v0.1.2 | ||
# | ||
# The following scss-lint Linters are not yet supported by sass-lint: | ||
# ChainedClasses, DisableLinterReason, ElsePlacement, PrivateNamingConvention | ||
# PropertyCount, PseudoElement, SelectorDepth, SpaceAfterVariableColon | ||
# SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, VendorPrefixes | ||
# | ||
# The following settings/values are unsupported by sass-lint: | ||
# Linter Indentation, option "allow_non_nested_indentation" | ||
# Linter Indentation, option "character" | ||
# Linter NestingDepth, option "ignore_parent_selectors" | ||
# Linter PropertySortOrder, option "min_properties" | ||
# Linter PropertySortOrder, option "separate_groups" | ||
# Linter SpaceBeforeBrace, option "allow_single_line_padding" | ||
|
||
files: | ||
include: '**/*.scss' | ||
options: | ||
formatter: stylish | ||
merge-default-rules: false | ||
rules: | ||
# class 名称规则 | ||
class-name-format: | ||
- 1 | ||
- convention: hyphenatedbem | ||
bem-depth: | ||
- 0 | ||
- max-depth: 1 | ||
border-zero: | ||
- 1 | ||
- convention: zero | ||
brace-style: | ||
- 1 | ||
- allow-single-line: false | ||
clean-import-paths: | ||
- 1 | ||
- filename-extension: true | ||
leading-underscore: false | ||
empty-line-between-blocks: | ||
- 1 | ||
- ignore-single-line-rulesets: true | ||
extends-before-declarations: 1 | ||
extends-before-mixins: 1 | ||
final-newline: | ||
- 1 | ||
- include: true | ||
force-attribute-nesting: 0 | ||
force-element-nesting: 0 | ||
force-pseudo-nesting: 0 | ||
function-name-format: | ||
- 1 | ||
- allow-leading-underscore: true | ||
convention: hyphenatedlowercase | ||
hex-length: | ||
- 1 | ||
- style: short | ||
hex-notation: | ||
- 1 | ||
- style: lowercase | ||
id-name-format: | ||
- 1 | ||
- convention: hyphenatedlowercase | ||
indentation: | ||
- 1 | ||
- size: 2 | ||
leading-zero: | ||
- 1 | ||
- include: true | ||
mixin-name-format: | ||
- 1 | ||
- allow-leading-underscore: true | ||
convention: hyphenatedlowercase | ||
mixins-before-declarations: 1 | ||
nesting-depth: | ||
- 1 | ||
- max-depth: 3 | ||
no-color-keywords: 1 | ||
no-color-literals: 0 | ||
no-css-comments: 0 | ||
no-debug: 1 | ||
no-duplicate-properties: 0 | ||
no-empty-rulesets: 1 | ||
no-extends: 0 | ||
no-ids: 1 | ||
no-important: 0 | ||
no-invalid-hex: 1 | ||
no-mergeable-selectors: 0 | ||
no-misspelled-properties: | ||
- 1 | ||
- extra-properties: [] | ||
no-qualifying-elements: | ||
- 1 | ||
- allow-element-with-attribute: false | ||
allow-element-with-class: false | ||
allow-element-with-id: false | ||
no-trailing-zero: 1 | ||
no-transition-all: 0 | ||
no-url-protocols: 0 | ||
placeholder-in-extend: 1 | ||
placeholder-name-format: | ||
- 1 | ||
- convention: hyphenatedlowercase | ||
property-sort-order: | ||
- 0 | ||
- ignore-custom-properties: false | ||
property-units: | ||
- 0 | ||
- global: | ||
- ch | ||
- em | ||
- ex | ||
- rem | ||
- cm | ||
- in | ||
- mm | ||
- pc | ||
- pt | ||
- px | ||
- q | ||
- vh | ||
- vw | ||
- vmin | ||
- vmax | ||
- deg | ||
- grad | ||
- rad | ||
- turn | ||
- ms | ||
- s | ||
- Hz | ||
- kHz | ||
- dpi | ||
- dpcm | ||
- dppx | ||
- '%' | ||
per-property: {} | ||
quotes: | ||
- 1 | ||
- style: single | ||
shorthand-values: 1 | ||
single-line-per-selector: 1 | ||
space-after-bang: | ||
- 1 | ||
- include: false | ||
space-after-colon: | ||
- 1 | ||
- include: true | ||
space-after-comma: 1 | ||
space-before-bang: | ||
- 1 | ||
- include: true | ||
space-before-brace: | ||
- 1 | ||
- include: true | ||
space-before-colon: 1 | ||
space-between-parens: | ||
- 1 | ||
- include: false | ||
trailing-semicolon: 1 | ||
url-quotes: 1 | ||
variable-for-property: | ||
- 0 | ||
- properties: [] | ||
variable-name-format: | ||
- 1 | ||
- allow-leading-underscore: true | ||
convention: hyphenatedlowercase | ||
zero-unit: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import './index.scss' | ||
import '../../style/icon/index.scss' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
@import '../../style/index.scss'; | ||
@import '../../style/icon/index.scss'; | ||
|
||
.hi-alert { | ||
position: relative; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import Button from './Button' | ||
import ButtonGroup from './ButtonGroup' | ||
import './style/index' | ||
|
||
Button.Group = ButtonGroup | ||
export default Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import './index.scss' | ||
import '../../style/icon/index.scss' |
Oops, something went wrong.