Remove unused unstyled mode checks

pull/3997/head
Tuğçe Küçükoğlu 2023-05-25 17:12:08 +03:00
parent db4589c4c6
commit 34d2b65236
3 changed files with 0 additions and 40 deletions

View File

@ -1,9 +1,5 @@
<script>
import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = `
`;
const classes = {
root: ({ instance }) => [
@ -14,8 +10,6 @@ const classes = {
]
};
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_inputmask_style', manual: true });
export default {
name: 'BaseInputMask',
extends: BaseComponent,
@ -44,14 +38,6 @@ export default {
},
css: {
classes
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
}
};
</script>

View File

@ -1,8 +1,5 @@
<script>
import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = ``;
const classes = {
root: ({ instance, props }) => [
@ -26,8 +23,6 @@ const classes = {
label: 'p-button-label'
};
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_togglebutton_style', manual: true });
export default {
name: 'BaseToggleButton',
extends: BaseComponent,
@ -82,14 +77,6 @@ export default {
},
css: {
classes
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
}
};
</script>

View File

@ -1,8 +1,5 @@
<script>
import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = ``;
const classes = {
root: ({ instance, props }) => [
@ -28,8 +25,6 @@ const classes = {
nullableIcon: 'p-checkbox-icon'
};
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_tristatecheckbox_style', manual: true });
export default {
name: 'BaseTriStateCheckbox',
extends: BaseComponent,
@ -62,14 +57,6 @@ export default {
},
css: {
classes
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
}
};
</script>