Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
a8df9de2
Commit
a8df9de2
authored
Oct 03, 2016
by
qingwei.li
Browse files
Options
Browse Files
Download
Plain Diff
Fix conflict
parents
9561f9b3
74c7513f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
109 additions
and
90 deletions
+109
-90
CHANGELOG.md
CHANGELOG.md
+1
-0
packages/button/src/button-group.js
packages/button/src/button-group.js
+22
-0
packages/button/src/button-group.vue
packages/button/src/button-group.vue
+0
-16
packages/button/src/button.js
packages/button/src/button.js
+65
-0
packages/button/src/button.vue
packages/button/src/button.vue
+0
-54
packages/icon/index.js
packages/icon/index.js
+1
-1
packages/icon/src/icon.js
packages/icon/src/icon.js
+19
-0
packages/icon/src/icon.vue
packages/icon/src/icon.vue
+0
-13
packages/theme-default/src/table.css
packages/theme-default/src/table.css
+1
-6
No files found.
CHANGELOG.md
View file @
a8df9de2
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
-
修复 Tabs 切换后 Tab-panel 被销毁的问题
-
修复 Tabs 切换后 Tab-panel 被销毁的问题
-
修复 TimePicker 错误的隐藏面板
-
修复 TimePicker 错误的隐藏面板
-
修复 Table Cell 的样式, #204
### 1.0.0-rc.5
### 1.0.0-rc.5
...
...
packages/button/src/button-group.js
0 → 100644
View file @
a8df9de2
/**
* button
* @module components/basic/menu
* @desc 用于按钮组
* @param {string} label - 名称
*/
export
default
{
name
:
'
ElButtonGroup
'
,
functional
:
true
,
render
(
h
,
{
slots
,
data
})
{
return
(
<
div
class
=
"
el-button-group
"
{
...
data
}
{
...{
on
:
data
.
nativeOn
}
}
>
{
slots
().
default
}
<
/div
>
);
}
};
packages/button/src/button-group.vue
deleted
100644 → 0
View file @
9561f9b3
<
template
>
<div
class=
"el-button-group"
>
<slot></slot>
</div>
</
template
>
<
script
>
/**
* button
* @module components/basic/menu
* @desc 用于按钮组
* @param {string} label - 名称
*/
export
default
{
name
:
'
ElButtonGroup
'
};
</
script
>
packages/button/src/button.js
0 → 100644
View file @
a8df9de2
export
default
{
name
:
'
ElButton
'
,
functional
:
true
,
props
:
{
type
:
{
type
:
String
,
default
:
'
default
'
},
size
:
String
,
icon
:
{
type
:
String
,
default
:
''
},
nativeType
:
{
type
:
String
,
default
:
'
button
'
},
loading
:
{
type
:
Boolean
,
default
:
false
},
disabled
:
{
type
:
Boolean
,
default
:
false
},
plain
:
{
type
:
Boolean
,
default
:
false
}
},
render
(
h
,
{
props
,
slots
,
data
})
{
return
(
<
button
disabled
=
{
props
.
disabled
}
type
=
{
props
.
nativeType
}
class
=
{[
'
el-button
'
,
props
.
type
?
'
el-button-
'
+
props
.
type
:
''
,
props
.
size
?
'
el-button-
'
+
props
.
size
:
''
,
{
'
is-disabled
'
:
props
.
disabled
,
'
is-loading
'
:
props
.
loading
,
'
is-plain
'
:
props
.
plain
}
]}
{
...
data
}
{
...{
on
:
data
.
nativeOn
}
}
>
{
[
props
.
loading
?
<
i
class
=
"
el-icon-loading
"
><
/i
>
:
{},
props
.
icon
&&
!
props
.
loading
?
<
i
class
=
{
'
el-icon-
'
+
props
.
icon
}
><
/i
>
:
{}
]
}
{
slots
().
default
}
<
/button
>
);
}
};
packages/button/src/button.vue
deleted
100644 → 0
View file @
9561f9b3
<
template
>
<button
:disabled=
"disabled"
class=
"el-button"
:type=
"nativeType"
:class=
"[
type ? 'el-button-' + type : '',
size ? 'el-button-' + size : '',
{
'is-disabled': disabled,
'is-loading': loading,
'is-plain': plain
}
]"
>
<i
class=
"el-icon-loading"
v-if=
"loading"
></i>
<i
:class=
"'el-icon-' + icon"
v-if=
"icon && !loading"
></i>
<slot></slot>
</button>
</
template
>
<
script
>
/**
* button
*/
export
default
{
name
:
'
ElButton
'
,
props
:
{
type
:
{
type
:
String
,
default
:
'
default
'
},
size
:
String
,
icon
:
{
type
:
String
,
default
:
''
},
nativeType
:
{
type
:
String
,
default
:
'
button
'
},
loading
:
{
type
:
Boolean
,
default
:
false
},
disabled
:
{
type
:
Boolean
,
default
:
false
},
plain
:
{
type
:
Boolean
,
default
:
false
}
}
};
</
script
>
packages/icon/index.js
View file @
a8df9de2
module
.
exports
=
require
(
'
./src/icon
.vue
'
);
module
.
exports
=
require
(
'
./src/icon
'
);
packages/icon/src/icon.js
0 → 100644
View file @
a8df9de2
export
default
{
name
:
'
ElIcon
'
,
functional
:
true
,
props
:
{
name
:
String
},
render
(
h
,
{
props
,
data
})
{
return
(
<
i
class
=
{
'
el-icon
'
+
props
.
name
}
{
...
data
}
{
...{
on
:
data
.
nativeOn
}
}
>
<
/i
>
);
}
};
packages/icon/src/icon.vue
deleted
100644 → 0
View file @
9561f9b3
<
template
>
<i
:class=
"'el-icon-' + name"
></i>
</
template
>
<
script
>
export
default
{
name
:
'
ElIcon
'
,
props
:
{
name
:
String
}
};
</
script
>
packages/theme-default/src/table.css
View file @
a8df9de2
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
&
th
{
&
th
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
}
&
th
,
td
{
&
th
,
td
{
...
@@ -57,7 +58,6 @@
...
@@ -57,7 +58,6 @@
max-width
:
250px
;
max-width
:
250px
;
min-width
:
0
;
min-width
:
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
vertical-align
:
middle
;
vertical-align
:
middle
;
position
:
relative
;
position
:
relative
;
...
@@ -102,10 +102,6 @@
...
@@ -102,10 +102,6 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
&
td
div
{
display
:
block
;
}
@e
fixed
{
@e
fixed
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
...
@@ -180,7 +176,6 @@
...
@@ -180,7 +176,6 @@
&
th
>
.cell
{
&
th
>
.cell
{
position
:
relative
;
position
:
relative
;
word-wrap
:
normal
;
word-wrap
:
normal
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
inline-block
;
display
:
inline-block
;
line-height
:
20px
;
line-height
:
20px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment