Skip to content

Commit 50c4949

Browse files
committed
Remove el-input styling
1 parent 9262dc2 commit 50c4949

File tree

4 files changed

+45
-3
lines changed

4 files changed

+45
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sparc-design-system-components-2",
3-
"version": "0.0.22",
3+
"version": "0.0.23",
44
"private": false,
55
"scripts": {
66
"dev": "vite",

src/App.vue

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@
1010
<main>
1111
<el-icon><Folder /></el-icon>
1212

13+
<el-select
14+
v-model="month"
15+
class="mr-8 month"
16+
placeholder="Month"
17+
>
18+
<el-option
19+
v-for="(month, index) in months"
20+
:key="index"
21+
:label="month"
22+
:value="month"
23+
/>
24+
</el-select>
25+
<el-input-number
26+
v-model="year"
27+
controls-position="right"
28+
placeholder="Year"
29+
:precision="0"
30+
:min="2000"
31+
:max="2040"
32+
disabled
33+
/>
34+
1335
<div>
1436

1537
<sparc-checkbox
@@ -21,6 +43,7 @@
2143
:display="item.display"
2244
/>
2345
</div>
46+
2447
<div>
2548
<sparc-checkbox
2649
v-model="checkboxVal"
@@ -1168,6 +1191,20 @@
11681191
'right-center',
11691192
'right-bottom'
11701193
])
1194+
const months = [
1195+
'Jan',
1196+
'Feb',
1197+
'Mar',
1198+
'Apr',
1199+
'May',
1200+
'Jun',
1201+
'Jul',
1202+
'Aug',
1203+
'Sep',
1204+
'Oct',
1205+
'Nov',
1206+
'Dec'
1207+
]
11711208
let value = ref('')
11721209
let selectVal = ref([])
11731210
const radioVal=ref("1")
@@ -1198,8 +1235,13 @@
11981235
const pageCount= ref(100)
11991236
const selectedPage = ref(3)
12001237
const tabCard = ref(contentTabCard)
1238+
const month = ref('Mar')
1239+
const year = ref(2020)
12011240
12021241
return {
1242+
months,
1243+
month,
1244+
year,
12031245
checkboxVal,
12041246
checkboxVal2,
12051247
checkboxItem,

src/assets/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $--font-path: '~element-plus/lib/theme-chalk/fonts';
1717
@import './components/_el-table';
1818
@import './components/_el-dialog';
1919

20-
@import './components/_el-input';
20+
// @import './components/_el-input';
2121
@import './components/_el-select';
2222
@import './components/_el-popover';
2323

src/components/DropdownMultiselect/DropdownLabel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div @click="onArrowClicked" :class="showCollapsibleArrow ? 'label-header-clickable' : ''" class="label-header">
44
<span>
55
<span class="label-title">{{ label }}</span>
6-
<sparc-tooltip>
6+
<sparc-tooltip placement="bottom-center">
77
<template #item>
88
<help-icon v-if="showHelpIcon" class="ml-4 help-icon" width="20" height="20" />
99
</template>

0 commit comments

Comments
 (0)