Migrated blockui

pull/5507/head
Cagatay Civici 2024-02-12 18:33:36 +03:00
parent 5168b43902
commit 3df68ce165
4 changed files with 32 additions and 5 deletions

View File

@ -0,0 +1,18 @@
export default {
css: `
.p-blockui {
border-radius: var(--p-rounded-base);
}
.p-blockui-container {
position: relative;
}
.p-blockui.p-component-overlay {
position: absolute;
}
.p-blockui-document.p-component-overlay {
position: fixed;
}
`
};

View File

@ -0,0 +1,6 @@
{
"main": "./index.cjs.js",
"module": "./index.esm.js",
"unpkg": "./index.min.js",
"types": "./index.d.ts"
}

View File

@ -188,12 +188,12 @@ export default {
background-color: transparent;
}
to {
background-color: var(--maskbg);
background-color: var(--p-mask-background);
}
}
@keyframes p-component-overlay-leave-animation {
from {
background-color: var(--maskbg);
background-color: var(--p-mask-background);
}
to {
background-color: transparent;

View File

@ -1,6 +1,7 @@
import accordion from 'primevue/theme/aura/accordion';
import avatar from 'primevue/theme/aura/avatar';
import badge from 'primevue/theme/aura/badge';
import blockui from 'primevue/theme/aura/blockui';
import card from 'primevue/theme/aura/card';
import divider from 'primevue/theme/aura/divider';
import fieldset from 'primevue/theme/aura/fieldset';
@ -52,7 +53,6 @@ export default {
offset: '2px'
},
anchorGutter: '2px',
maskBackground: 'rgba(0,0,0,0.4)',
primary: {
50: '{emerald.50}',
100: '{emerald.100}',
@ -89,7 +89,8 @@ export default {
highlight: {
background: '{primary.50}',
textColor: '{primary.700}'
}
},
maskBackground: 'rgba(0,0,0,0.4)'
},
dark: {
surface: {
@ -113,7 +114,8 @@ export default {
highlight: {
background: 'color-mix(in srgb, {primary.400}, transparent 84%)',
textColor: 'rgba(255,255,255,.87)'
}
},
maskBackground: 'rgba(0,0,0,0.4)'
}
}
},
@ -122,6 +124,7 @@ export default {
accordion,
avatar,
badge,
blockui,
card,
divider,
fieldset,