Skip to content

Commit

Permalink
refactor(VRadioGroup): tuning pass (#15259)
Browse files Browse the repository at this point in the history
* refactor(VRadioGroup): tuning pass

* fix(VRadioGroup): remove @forward from sass file
  • Loading branch information
johnleider authored Jun 22, 2022
1 parent 321e6c8 commit f521d33
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 384 deletions.
8 changes: 5 additions & 3 deletions packages/vuetify/src/components/VRadioGroup/VRadioGroup.sass
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
@use './variables' as *

.v-radio-group
grid-template-areas: "prepend label append" ". control ." "a messages b"

> .v-label
grid-area: label
margin-inline-start: 12px
grid-area: $radio-group-label-grid-area
margin-inline-start: $radio-group-label-margin-inline-start

+ .v-selection-control-group
margin-top: 16px
margin-top: $radio-group-label-selection-group-margin-top
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import './VRadioGroup.sass'

// Components
import { filterControlProps, makeSelectionControlProps } from '@/components/VSelectionControl/VSelectionControl'
import { filterInputProps, makeVInputProps, VInput } from '@/components/VInput/VInput'
import { VLabel } from '@/components/VLabel'
import { VSelectionControlGroup } from '@/components/VSelectionControlGroup'
import { filterControlProps, makeSelectionControlProps } from '@/components/VSelectionControl/VSelectionControl'

// Composables
import { IconValue } from '@/composables/icons'
Expand Down
146 changes: 0 additions & 146 deletions packages/vuetify/src/components/VRadioGroup/__tests__/VRadio.spec.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/// <reference types="../../../../types/cypress" />

import { VRadioGroup } from '..'
import { generate } from '@/../cypress/templates'

const props = {}

const stories = {
Default: <VRadioGroup />,
}
// Tests
describe('VRadioGroup', () => {
generate({ stories, props, component: VRadioGroup })
})

This file was deleted.

This file was deleted.

Loading

0 comments on commit f521d33

Please sign in to comment.