-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(VRadioGroup): tuning pass (#15259)
* refactor(VRadioGroup): tuning pass * fix(VRadioGroup): remove @forward from sass file
- Loading branch information
1 parent
321e6c8
commit f521d33
Showing
8 changed files
with
23 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 0 additions & 146 deletions
146
packages/vuetify/src/components/VRadioGroup/__tests__/VRadio.spec.ts
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
packages/vuetify/src/components/VRadioGroup/__tests__/VRadioGroup.spec.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }) | ||
}) |
43 changes: 0 additions & 43 deletions
43
packages/vuetify/src/components/VRadioGroup/__tests__/VRadioGroup.spec.ts
This file was deleted.
Oops, something went wrong.
122 changes: 0 additions & 122 deletions
122
packages/vuetify/src/components/VRadioGroup/__tests__/__snapshots__/VRadio.spec.ts.snap
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.