Skip to content

Commit

Permalink
Remove el-input styling
Browse files Browse the repository at this point in the history
  • Loading branch information
egauzens committed Dec 26, 2023
1 parent 9262dc2 commit 50c4949
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sparc-design-system-components-2",
"version": "0.0.22",
"version": "0.0.23",
"private": false,
"scripts": {
"dev": "vite",
Expand Down
42 changes: 42 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,28 @@
<main>
<el-icon><Folder /></el-icon>

<el-select
v-model="month"
class="mr-8 month"
placeholder="Month"
>
<el-option
v-for="(month, index) in months"
:key="index"
:label="month"
:value="month"
/>
</el-select>
<el-input-number
v-model="year"
controls-position="right"
placeholder="Year"
:precision="0"
:min="2000"
:max="2040"
disabled
/>

<div>

<sparc-checkbox
Expand All @@ -21,6 +43,7 @@
:display="item.display"
/>
</div>

<div>
<sparc-checkbox
v-model="checkboxVal"
Expand Down Expand Up @@ -1168,6 +1191,20 @@
'right-center',
'right-bottom'
])
const months = [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec'
]
let value = ref('')
let selectVal = ref([])
const radioVal=ref("1")
Expand Down Expand Up @@ -1198,8 +1235,13 @@
const pageCount= ref(100)
const selectedPage = ref(3)
const tabCard = ref(contentTabCard)
const month = ref('Mar')
const year = ref(2020)
return {
months,
month,
year,
checkboxVal,
checkboxVal2,
checkboxItem,
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $--font-path: '~element-plus/lib/theme-chalk/fonts';
@import './components/_el-table';
@import './components/_el-dialog';

@import './components/_el-input';
// @import './components/_el-input';
@import './components/_el-select';
@import './components/_el-popover';

Expand Down
2 changes: 1 addition & 1 deletion src/components/DropdownMultiselect/DropdownLabel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div @click="onArrowClicked" :class="showCollapsibleArrow ? 'label-header-clickable' : ''" class="label-header">
<span>
<span class="label-title">{{ label }}</span>
<sparc-tooltip>
<sparc-tooltip placement="bottom-center">
<template #item>
<help-icon v-if="showHelpIcon" class="ml-4 help-icon" width="20" height="20" />
</template>
Expand Down

0 comments on commit 50c4949

Please sign in to comment.