Skip to content

Commit

Permalink
fix(ui/select): fix css dep
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Mar 9, 2023
1 parent f96ceda commit fbb0100
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/varlet-ui-playground/auto-imports.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
// Generated by 'unplugin-auto-import'
export {}
declare global {
const Dialog: typeof import('@varlet/ui')['Dialog']
const Locale: typeof import('@varlet/ui')['Locale']
const Snackbar: typeof import('@varlet/ui')['Snackbar']
const StyleProvider: typeof import('@varlet/ui')['StyleProvider']

}
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
<script lang="ts">
import Ripple from '../ripple'
import VarLoading from '../loading'
import Hover from '../hover'
import { computed, defineComponent, ref, type Ref } from 'vue'
import { props } from './props'
import { call, createNamespace } from '../utils/components'
import { useButtonGroup } from './provide'
import Hover from '../hover'
import { isArray } from '@varlet/shared'
const { n, classes } = createNamespace('button')
Expand Down
5 changes: 5 additions & 0 deletions packages/varlet-ui/src/fab/Fab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import { toNumber } from '@varlet/shared'
import { props } from './props'

import '../styles/common.less'
import '../styles/elevation.less'
import '../ripple/ripple.less'
import '../icon/icon.less'
import '../loading/loading.less'
import '../button/button.less'
import './fab.less'

const { classes, n } = createNamespace('fab')
Expand Down
1 change: 1 addition & 0 deletions packages/varlet-ui/src/select/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ export default defineComponent({

<style lang="less">
@import '../styles/common';
@import '../styles/elevation';
@import '../icon/icon';
@import '../menu/menu';
@import '../form-details/formDetails';
Expand Down

0 comments on commit fbb0100

Please sign in to comment.