Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(VSelectionControlGroup): tuning pass (#15250)
- Loading branch information
1 parent
f794318
commit 154568a
Showing
4 changed files
with
26 additions
and
21 deletions.
There are no files selected for viewing
6 changes: 1 addition & 5 deletions
6
packages/vuetify/src/components/VSelectionControlGroup/VSelectionControlGroup.sass
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,8 +1,4 @@ | ||
@use 'sass:map' | ||
@use 'sass:list' | ||
@use '../../styles/settings' | ||
@use '../../styles/tools' | ||
@use './variables' as * | ||
|
||
.v-selection-control-group | ||
grid-area: control | ||
grid-area: $selection-control-group-grid-area |
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
14 changes: 14 additions & 0 deletions
14
...uetify/src/components/VSelectionControlGroup/__tests__/VSelectionControlGroup.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 { VSelectionControlGroup } from '..' | ||
import { generate } from '@/../cypress/templates' | ||
|
||
const props = {} | ||
|
||
const stories = { | ||
Default: <VSelectionControlGroup />, | ||
} | ||
// Tests | ||
describe('VSelectionControlGroup', () => { | ||
generate({ stories, props, component: VSelectionControlGroup }) | ||
}) |
5 changes: 1 addition & 4 deletions
5
packages/vuetify/src/components/VSelectionControlGroup/_variables.scss
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,4 +1 @@ | ||
@use '../../styles/settings'; | ||
@use '../../styles/tools'; | ||
|
||
// Defaults | ||
$selection-control-group-grid-area: control !default; |