From b48d33eddd4339ae39380c69825500b323137c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 26 Sep 2023 12:14:27 +0300 Subject: [PATCH] Refactor #4504 --- components/lib/accordion/BaseAccordion.vue | 2 +- components/lib/autocomplete/BaseAutoComplete.vue | 2 +- components/lib/avatar/BaseAvatar.vue | 2 +- components/lib/avatargroup/BaseAvatarGroup.vue | 2 +- components/lib/badge/BaseBadge.vue | 2 +- components/lib/badgedirective/BaseBadgeDirective.js | 2 +- components/lib/basecomponent/BaseComponent.vue | 2 +- components/lib/blockui/BaseBlockUI.vue | 2 +- components/lib/breadcrumb/BaseBreadcrumb.vue | 2 +- components/lib/calendar/BaseCalendar.vue | 2 +- components/lib/carousel/BaseCarousel.vue | 2 +- components/lib/cascadeselect/BaseCascadeSelect.vue | 2 +- components/lib/chart/BaseChart.vue | 2 +- components/lib/chip/BaseChip.vue | 2 +- components/lib/chips/BaseChips.vue | 2 +- components/lib/colorpicker/BaseColorPicker.vue | 2 +- components/lib/confirmpopup/BaseConfirmPopup.vue | 2 +- components/lib/contextmenu/BaseContextMenu.vue | 2 +- components/lib/datatable/BaseDataTable.vue | 2 +- components/lib/dialog/BaseDialog.vue | 2 +- components/lib/divider/BaseDivider.vue | 2 +- components/lib/dock/BaseDock.vue | 2 +- components/lib/dropdown/BaseDropdown.vue | 2 +- components/lib/fieldset/BaseFieldset.vue | 2 +- components/lib/fileupload/BaseFileUpload.vue | 2 +- components/lib/galleria/BaseGalleria.vue | 2 +- components/lib/image/BaseImage.vue | 2 +- components/lib/inlinemessage/BaseInlineMessage.vue | 2 +- components/lib/inplace/BaseInplace.vue | 2 +- components/lib/inputnumber/BaseInputNumber.vue | 2 +- components/lib/inputswitch/BaseInputSwitch.vue | 2 +- components/lib/knob/BaseKnob.vue | 2 +- components/lib/listbox/BaseListbox.vue | 2 +- components/lib/megamenu/BaseMegaMenu.vue | 2 +- components/lib/menu/BaseMenu.vue | 2 +- components/lib/menubar/BaseMenubar.vue | 2 +- components/lib/message/BaseMessage.vue | 2 +- components/lib/multiselect/BaseMultiSelect.vue | 2 +- components/lib/orderlist/BaseOrderList.vue | 2 +- components/lib/organizationchart/BaseOrganizationChart.vue | 2 +- components/lib/overlaypanel/BaseOverlayPanel.vue | 2 +- components/lib/paginator/BasePaginator.vue | 2 +- components/lib/panel/BasePanel.vue | 2 +- components/lib/panelmenu/BasePanelMenu.vue | 2 +- components/lib/password/BasePassword.vue | 2 +- components/lib/picklist/BasePickList.vue | 2 +- components/lib/progressbar/BaseProgressBar.vue | 2 +- components/lib/progressspinner/BaseProgressSpinner.vue | 2 +- components/lib/rating/BaseRating.vue | 2 +- components/lib/ripple/BaseRipple.js | 2 +- components/lib/scrollpanel/BaseScrollPanel.vue | 2 +- components/lib/scrolltop/BaseScrollTop.vue | 2 +- components/lib/sidebar/BaseSidebar.vue | 2 +- components/lib/skeleton/BaseSkeleton.vue | 2 +- components/lib/slider/BaseSlider.vue | 2 +- components/lib/speeddial/BaseSpeedDial.vue | 2 +- components/lib/splitbutton/BaseSplitButton.vue | 2 +- components/lib/splitter/BaseSplitter.vue | 2 +- components/lib/splitterpanel/BaseSplitterPanel.vue | 2 +- components/lib/steps/BaseSteps.vue | 2 +- components/lib/tabmenu/BaseTabMenu.vue | 2 +- components/lib/tabview/BaseTabView.vue | 2 +- components/lib/tag/BaseTag.vue | 2 +- components/lib/terminal/BaseTerminal.vue | 2 +- components/lib/textarea/BaseTextarea.vue | 2 +- components/lib/tieredmenu/BaseTieredMenu.vue | 2 +- components/lib/timeline/BaseTimeline.vue | 2 +- components/lib/toast/BaseToast.vue | 2 +- components/lib/toolbar/BaseToolbar.vue | 2 +- components/lib/tooltip/BaseTooltip.js | 2 +- components/lib/tree/BaseTree.vue | 2 +- components/lib/treeselect/BaseTreeSelect.vue | 2 +- components/lib/treetable/BaseTreeTable.vue | 2 +- 73 files changed, 73 insertions(+), 73 deletions(-) diff --git a/components/lib/accordion/BaseAccordion.vue b/components/lib/accordion/BaseAccordion.vue index 360216b22..1e52f77cc 100644 --- a/components/lib/accordion/BaseAccordion.vue +++ b/components/lib/accordion/BaseAccordion.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-accordion-header-action { cursor: pointer; display: flex; diff --git a/components/lib/autocomplete/BaseAutoComplete.vue b/components/lib/autocomplete/BaseAutoComplete.vue index e22f60cdb..d846d13e9 100644 --- a/components/lib/autocomplete/BaseAutoComplete.vue +++ b/components/lib/autocomplete/BaseAutoComplete.vue @@ -4,7 +4,7 @@ import { useStyle } from 'primevue/usestyle'; import { ObjectUtils } from 'primevue/utils'; const styles = ` -@layer primevue.core { +@layer primevue { .p-autocomplete { display: inline-flex; } diff --git a/components/lib/avatar/BaseAvatar.vue b/components/lib/avatar/BaseAvatar.vue index 3251c5c25..ab244e831 100644 --- a/components/lib/avatar/BaseAvatar.vue +++ b/components/lib/avatar/BaseAvatar.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-avatar { display: inline-flex; align-items: center; diff --git a/components/lib/avatargroup/BaseAvatarGroup.vue b/components/lib/avatargroup/BaseAvatarGroup.vue index f19c0dab9..1b92e6f1f 100644 --- a/components/lib/avatargroup/BaseAvatarGroup.vue +++ b/components/lib/avatargroup/BaseAvatarGroup.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-avatar-group .p-avatar + .p-avatar { margin-left: -1rem; } diff --git a/components/lib/badge/BaseBadge.vue b/components/lib/badge/BaseBadge.vue index 3c055b738..fdd607f40 100644 --- a/components/lib/badge/BaseBadge.vue +++ b/components/lib/badge/BaseBadge.vue @@ -4,7 +4,7 @@ import { useStyle } from 'primevue/usestyle'; import { ObjectUtils } from 'primevue/utils'; const styles = ` -@layer primevue.core { +@layer primevue { .p-badge { display: inline-block; border-radius: 10px; diff --git a/components/lib/badgedirective/BaseBadgeDirective.js b/components/lib/badgedirective/BaseBadgeDirective.js index 1fb13c44b..df3a40c78 100644 --- a/components/lib/badgedirective/BaseBadgeDirective.js +++ b/components/lib/badgedirective/BaseBadgeDirective.js @@ -2,7 +2,7 @@ import BaseDirective from 'primevue/basedirective'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-badge { display: inline-block; border-radius: 10px; diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index acc44edb0..f93a99ac1 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -231,7 +231,7 @@ const radioButtonStyles = ` } `; const styles = ` -@layer primevue.core { +@layer primevue { .p-component, .p-component * { box-sizing: border-box; } diff --git a/components/lib/blockui/BaseBlockUI.vue b/components/lib/blockui/BaseBlockUI.vue index 88dd7f9c7..9ff0c0dc8 100644 --- a/components/lib/blockui/BaseBlockUI.vue +++ b/components/lib/blockui/BaseBlockUI.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-blockui-container { position: relative; } diff --git a/components/lib/breadcrumb/BaseBreadcrumb.vue b/components/lib/breadcrumb/BaseBreadcrumb.vue index 36214edaf..f779f3925 100644 --- a/components/lib/breadcrumb/BaseBreadcrumb.vue +++ b/components/lib/breadcrumb/BaseBreadcrumb.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-breadcrumb { overflow-x: auto; } diff --git a/components/lib/calendar/BaseCalendar.vue b/components/lib/calendar/BaseCalendar.vue index f5eff6bdc..c9c8b26d4 100644 --- a/components/lib/calendar/BaseCalendar.vue +++ b/components/lib/calendar/BaseCalendar.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-calendar { display: inline-flex; max-width: 100%; diff --git a/components/lib/carousel/BaseCarousel.vue b/components/lib/carousel/BaseCarousel.vue index 07fa5c4ba..192f6ea63 100644 --- a/components/lib/carousel/BaseCarousel.vue +++ b/components/lib/carousel/BaseCarousel.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-carousel { display: flex; flex-direction: column; diff --git a/components/lib/cascadeselect/BaseCascadeSelect.vue b/components/lib/cascadeselect/BaseCascadeSelect.vue index 814b6873a..d1d91057f 100644 --- a/components/lib/cascadeselect/BaseCascadeSelect.vue +++ b/components/lib/cascadeselect/BaseCascadeSelect.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-cascadeselect { display: inline-flex; cursor: pointer; diff --git a/components/lib/chart/BaseChart.vue b/components/lib/chart/BaseChart.vue index 8973458f1..ce3f58bed 100644 --- a/components/lib/chart/BaseChart.vue +++ b/components/lib/chart/BaseChart.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-chart { position: relative; } diff --git a/components/lib/chip/BaseChip.vue b/components/lib/chip/BaseChip.vue index 02593631d..87e88bb37 100644 --- a/components/lib/chip/BaseChip.vue +++ b/components/lib/chip/BaseChip.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-chip { display: inline-flex; align-items: center; diff --git a/components/lib/chips/BaseChips.vue b/components/lib/chips/BaseChips.vue index cdd260005..9acb6a8c5 100644 --- a/components/lib/chips/BaseChips.vue +++ b/components/lib/chips/BaseChips.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-chips { display: inline-flex; } diff --git a/components/lib/colorpicker/BaseColorPicker.vue b/components/lib/colorpicker/BaseColorPicker.vue index 46f8c4538..1b8c4a857 100644 --- a/components/lib/colorpicker/BaseColorPicker.vue +++ b/components/lib/colorpicker/BaseColorPicker.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-colorpicker-panel .p-colorpicker-color { background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%) } diff --git a/components/lib/confirmpopup/BaseConfirmPopup.vue b/components/lib/confirmpopup/BaseConfirmPopup.vue index 117d5c1fa..0b00c897f 100644 --- a/components/lib/confirmpopup/BaseConfirmPopup.vue +++ b/components/lib/confirmpopup/BaseConfirmPopup.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-confirm-popup { position: absolute; margin-top: 10px; diff --git a/components/lib/contextmenu/BaseContextMenu.vue b/components/lib/contextmenu/BaseContextMenu.vue index 6638c3754..2da54c6e3 100644 --- a/components/lib/contextmenu/BaseContextMenu.vue +++ b/components/lib/contextmenu/BaseContextMenu.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-contextmenu ul { margin: 0; padding: 0; diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index 1cef013fa..c24f05d56 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-datatable { position: relative; } diff --git a/components/lib/dialog/BaseDialog.vue b/components/lib/dialog/BaseDialog.vue index 9277a14ca..e59f37382 100644 --- a/components/lib/dialog/BaseDialog.vue +++ b/components/lib/dialog/BaseDialog.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-dialog-mask.p-component-overlay { pointer-events: auto; } diff --git a/components/lib/divider/BaseDivider.vue b/components/lib/divider/BaseDivider.vue index 5857a1981..736d311ed 100644 --- a/components/lib/divider/BaseDivider.vue +++ b/components/lib/divider/BaseDivider.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-divider-horizontal { display: flex; width: 100%; diff --git a/components/lib/dock/BaseDock.vue b/components/lib/dock/BaseDock.vue index 97a8ac628..d6c16c5c9 100644 --- a/components/lib/dock/BaseDock.vue +++ b/components/lib/dock/BaseDock.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-dock { position: absolute; z-index: 1; diff --git a/components/lib/dropdown/BaseDropdown.vue b/components/lib/dropdown/BaseDropdown.vue index f6e66a98e..57e68d744 100644 --- a/components/lib/dropdown/BaseDropdown.vue +++ b/components/lib/dropdown/BaseDropdown.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-dropdown { display: inline-flex; cursor: pointer; diff --git a/components/lib/fieldset/BaseFieldset.vue b/components/lib/fieldset/BaseFieldset.vue index 733ad4543..d5203616c 100644 --- a/components/lib/fieldset/BaseFieldset.vue +++ b/components/lib/fieldset/BaseFieldset.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-fieldset-legend > a, .p-fieldset-legend > span { display: flex; diff --git a/components/lib/fileupload/BaseFileUpload.vue b/components/lib/fileupload/BaseFileUpload.vue index dba638d1b..015f7b579 100644 --- a/components/lib/fileupload/BaseFileUpload.vue +++ b/components/lib/fileupload/BaseFileUpload.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-fileupload-content { position: relative; } diff --git a/components/lib/galleria/BaseGalleria.vue b/components/lib/galleria/BaseGalleria.vue index 29d835b02..6f3ddebda 100644 --- a/components/lib/galleria/BaseGalleria.vue +++ b/components/lib/galleria/BaseGalleria.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-galleria-content { display: flex; flex-direction: column; diff --git a/components/lib/image/BaseImage.vue b/components/lib/image/BaseImage.vue index 62a4af638..713795095 100644 --- a/components/lib/image/BaseImage.vue +++ b/components/lib/image/BaseImage.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-image-mask { display: flex; align-items: center; diff --git a/components/lib/inlinemessage/BaseInlineMessage.vue b/components/lib/inlinemessage/BaseInlineMessage.vue index 4f721ba14..bd70d6436 100644 --- a/components/lib/inlinemessage/BaseInlineMessage.vue +++ b/components/lib/inlinemessage/BaseInlineMessage.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-inline-message { display: inline-flex; align-items: center; diff --git a/components/lib/inplace/BaseInplace.vue b/components/lib/inplace/BaseInplace.vue index 272ac8365..36e3503b9 100644 --- a/components/lib/inplace/BaseInplace.vue +++ b/components/lib/inplace/BaseInplace.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-inplace .p-inplace-display { display: inline; cursor: pointer; diff --git a/components/lib/inputnumber/BaseInputNumber.vue b/components/lib/inputnumber/BaseInputNumber.vue index cff21d0e5..866d66cf5 100644 --- a/components/lib/inputnumber/BaseInputNumber.vue +++ b/components/lib/inputnumber/BaseInputNumber.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-inputnumber { display: inline-flex; } diff --git a/components/lib/inputswitch/BaseInputSwitch.vue b/components/lib/inputswitch/BaseInputSwitch.vue index cb002d5e5..f55a49ac4 100644 --- a/components/lib/inputswitch/BaseInputSwitch.vue +++ b/components/lib/inputswitch/BaseInputSwitch.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-inputswitch { display: inline-block; } diff --git a/components/lib/knob/BaseKnob.vue b/components/lib/knob/BaseKnob.vue index ffc6bd9b9..9cab31dd9 100644 --- a/components/lib/knob/BaseKnob.vue +++ b/components/lib/knob/BaseKnob.vue @@ -8,7 +8,7 @@ const styles = ` stroke-dashoffset: 0; } } -@layer primevue.core { +@layer primevue { .p-knob-range { fill: none; transition: stroke 0.1s ease-in; diff --git a/components/lib/listbox/BaseListbox.vue b/components/lib/listbox/BaseListbox.vue index f3a5cc4c7..8badb6748 100644 --- a/components/lib/listbox/BaseListbox.vue +++ b/components/lib/listbox/BaseListbox.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-listbox-list-wrapper { overflow: auto; } diff --git a/components/lib/megamenu/BaseMegaMenu.vue b/components/lib/megamenu/BaseMegaMenu.vue index c3f9a9b80..22d9eb7dd 100644 --- a/components/lib/megamenu/BaseMegaMenu.vue +++ b/components/lib/megamenu/BaseMegaMenu.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-megamenu { display: flex; } diff --git a/components/lib/menu/BaseMenu.vue b/components/lib/menu/BaseMenu.vue index 4a822ce2c..8f556ab52 100644 --- a/components/lib/menu/BaseMenu.vue +++ b/components/lib/menu/BaseMenu.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-menu ul { margin: 0; padding: 0; diff --git a/components/lib/menubar/BaseMenubar.vue b/components/lib/menubar/BaseMenubar.vue index a534b9448..ae164a153 100644 --- a/components/lib/menubar/BaseMenubar.vue +++ b/components/lib/menubar/BaseMenubar.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-menubar { display: flex; align-items: center; diff --git a/components/lib/message/BaseMessage.vue b/components/lib/message/BaseMessage.vue index 7092101b1..f11279a2a 100644 --- a/components/lib/message/BaseMessage.vue +++ b/components/lib/message/BaseMessage.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-message-wrapper { display: flex; align-items: center; diff --git a/components/lib/multiselect/BaseMultiSelect.vue b/components/lib/multiselect/BaseMultiSelect.vue index 0d67a8ce1..5f88eb37d 100644 --- a/components/lib/multiselect/BaseMultiSelect.vue +++ b/components/lib/multiselect/BaseMultiSelect.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-multiselect { display: inline-flex; cursor: pointer; diff --git a/components/lib/orderlist/BaseOrderList.vue b/components/lib/orderlist/BaseOrderList.vue index 3202dbd40..36950f340 100644 --- a/components/lib/orderlist/BaseOrderList.vue +++ b/components/lib/orderlist/BaseOrderList.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-orderlist { display: flex; } diff --git a/components/lib/organizationchart/BaseOrganizationChart.vue b/components/lib/organizationchart/BaseOrganizationChart.vue index af17b7f49..9cad4b9c8 100644 --- a/components/lib/organizationchart/BaseOrganizationChart.vue +++ b/components/lib/organizationchart/BaseOrganizationChart.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-organizationchart-table { border-spacing: 0; border-collapse: separate; diff --git a/components/lib/overlaypanel/BaseOverlayPanel.vue b/components/lib/overlaypanel/BaseOverlayPanel.vue index 892a21d11..d50c7a2b2 100644 --- a/components/lib/overlaypanel/BaseOverlayPanel.vue +++ b/components/lib/overlaypanel/BaseOverlayPanel.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-overlaypanel { margin-top: 10px; } diff --git a/components/lib/paginator/BasePaginator.vue b/components/lib/paginator/BasePaginator.vue index 10d540940..8a8b00f81 100644 --- a/components/lib/paginator/BasePaginator.vue +++ b/components/lib/paginator/BasePaginator.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-paginator-default { display: flex; } diff --git a/components/lib/panel/BasePanel.vue b/components/lib/panel/BasePanel.vue index ac0c890b6..37ffee917 100644 --- a/components/lib/panel/BasePanel.vue +++ b/components/lib/panel/BasePanel.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-panel-header { display: flex; justify-content: space-between; diff --git a/components/lib/panelmenu/BasePanelMenu.vue b/components/lib/panelmenu/BasePanelMenu.vue index 945b9a28d..d0db19ec0 100644 --- a/components/lib/panelmenu/BasePanelMenu.vue +++ b/components/lib/panelmenu/BasePanelMenu.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-panelmenu .p-panelmenu-header-action { display: flex; align-items: center; diff --git a/components/lib/password/BasePassword.vue b/components/lib/password/BasePassword.vue index c5c1b8e91..6da5987f6 100644 --- a/components/lib/password/BasePassword.vue +++ b/components/lib/password/BasePassword.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-password { display: inline-flex; } diff --git a/components/lib/picklist/BasePickList.vue b/components/lib/picklist/BasePickList.vue index 696cc7c21..8b017f1ac 100644 --- a/components/lib/picklist/BasePickList.vue +++ b/components/lib/picklist/BasePickList.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-picklist { display: flex; } diff --git a/components/lib/progressbar/BaseProgressBar.vue b/components/lib/progressbar/BaseProgressBar.vue index 0e177a2c7..f731193d3 100644 --- a/components/lib/progressbar/BaseProgressBar.vue +++ b/components/lib/progressbar/BaseProgressBar.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-progressbar { position: relative; overflow: hidden; diff --git a/components/lib/progressspinner/BaseProgressSpinner.vue b/components/lib/progressspinner/BaseProgressSpinner.vue index faa974e38..f5227670a 100644 --- a/components/lib/progressspinner/BaseProgressSpinner.vue +++ b/components/lib/progressspinner/BaseProgressSpinner.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-progress-spinner { position: relative; margin: 0 auto; diff --git a/components/lib/rating/BaseRating.vue b/components/lib/rating/BaseRating.vue index d92214480..3bd3582c0 100644 --- a/components/lib/rating/BaseRating.vue +++ b/components/lib/rating/BaseRating.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-rating { position: relative; display: flex; diff --git a/components/lib/ripple/BaseRipple.js b/components/lib/ripple/BaseRipple.js index 2c39f2b98..e305e72ef 100644 --- a/components/lib/ripple/BaseRipple.js +++ b/components/lib/ripple/BaseRipple.js @@ -9,7 +9,7 @@ const styles = ` } } -@layer primevue.core { +@layer primevue { .p-ripple { overflow: hidden; position: relative; diff --git a/components/lib/scrollpanel/BaseScrollPanel.vue b/components/lib/scrollpanel/BaseScrollPanel.vue index 5f0264519..699aae84c 100644 --- a/components/lib/scrollpanel/BaseScrollPanel.vue +++ b/components/lib/scrollpanel/BaseScrollPanel.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-scrollpanel-wrapper { overflow: hidden; width: 100%; diff --git a/components/lib/scrolltop/BaseScrollTop.vue b/components/lib/scrolltop/BaseScrollTop.vue index d73e4000c..ee52caea4 100644 --- a/components/lib/scrolltop/BaseScrollTop.vue +++ b/components/lib/scrolltop/BaseScrollTop.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-scrolltop { position: fixed; bottom: 20px; diff --git a/components/lib/sidebar/BaseSidebar.vue b/components/lib/sidebar/BaseSidebar.vue index 5a4c44865..a197811e7 100644 --- a/components/lib/sidebar/BaseSidebar.vue +++ b/components/lib/sidebar/BaseSidebar.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-sidebar-mask { display: none; pointer-events: none; diff --git a/components/lib/skeleton/BaseSkeleton.vue b/components/lib/skeleton/BaseSkeleton.vue index 22e06794a..c371de668 100644 --- a/components/lib/skeleton/BaseSkeleton.vue +++ b/components/lib/skeleton/BaseSkeleton.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-skeleton { overflow: hidden; } diff --git a/components/lib/slider/BaseSlider.vue b/components/lib/slider/BaseSlider.vue index c49a636ef..6c0a188da 100644 --- a/components/lib/slider/BaseSlider.vue +++ b/components/lib/slider/BaseSlider.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-slider { position: relative; } diff --git a/components/lib/speeddial/BaseSpeedDial.vue b/components/lib/speeddial/BaseSpeedDial.vue index 11e8b2355..40e073895 100644 --- a/components/lib/speeddial/BaseSpeedDial.vue +++ b/components/lib/speeddial/BaseSpeedDial.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-speeddial { position: absolute; display: flex; diff --git a/components/lib/splitbutton/BaseSplitButton.vue b/components/lib/splitbutton/BaseSplitButton.vue index abe493f4c..eb78bc338 100644 --- a/components/lib/splitbutton/BaseSplitButton.vue +++ b/components/lib/splitbutton/BaseSplitButton.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-splitbutton { display: inline-flex; position: relative; diff --git a/components/lib/splitter/BaseSplitter.vue b/components/lib/splitter/BaseSplitter.vue index b4ee6311a..a74426526 100644 --- a/components/lib/splitter/BaseSplitter.vue +++ b/components/lib/splitter/BaseSplitter.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-splitter { display: flex; flex-wrap: nowrap; diff --git a/components/lib/splitterpanel/BaseSplitterPanel.vue b/components/lib/splitterpanel/BaseSplitterPanel.vue index 2d7498db2..3def7935d 100644 --- a/components/lib/splitterpanel/BaseSplitterPanel.vue +++ b/components/lib/splitterpanel/BaseSplitterPanel.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-splitter-panel { flex-grow: 1; } diff --git a/components/lib/steps/BaseSteps.vue b/components/lib/steps/BaseSteps.vue index e284dd7ad..de70e8506 100644 --- a/components/lib/steps/BaseSteps.vue +++ b/components/lib/steps/BaseSteps.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-steps { position: relative; } diff --git a/components/lib/tabmenu/BaseTabMenu.vue b/components/lib/tabmenu/BaseTabMenu.vue index dbcc721c9..946f46129 100644 --- a/components/lib/tabmenu/BaseTabMenu.vue +++ b/components/lib/tabmenu/BaseTabMenu.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-tabmenu { overflow-x: auto; } diff --git a/components/lib/tabview/BaseTabView.vue b/components/lib/tabview/BaseTabView.vue index 98125f45e..0c53a228f 100644 --- a/components/lib/tabview/BaseTabView.vue +++ b/components/lib/tabview/BaseTabView.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-tabview-nav-container { position: relative; } diff --git a/components/lib/tag/BaseTag.vue b/components/lib/tag/BaseTag.vue index fb0bbcb19..5e794f945 100644 --- a/components/lib/tag/BaseTag.vue +++ b/components/lib/tag/BaseTag.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-tag { display: inline-flex; align-items: center; diff --git a/components/lib/terminal/BaseTerminal.vue b/components/lib/terminal/BaseTerminal.vue index a825aa8ee..2ab598401 100644 --- a/components/lib/terminal/BaseTerminal.vue +++ b/components/lib/terminal/BaseTerminal.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-terminal { height: 18rem; overflow: auto; diff --git a/components/lib/textarea/BaseTextarea.vue b/components/lib/textarea/BaseTextarea.vue index 1b3195a1a..7866307f8 100644 --- a/components/lib/textarea/BaseTextarea.vue +++ b/components/lib/textarea/BaseTextarea.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-inputtextarea-resizable { overflow: hidden; resize: none; diff --git a/components/lib/tieredmenu/BaseTieredMenu.vue b/components/lib/tieredmenu/BaseTieredMenu.vue index 4680cf169..da2f00c79 100644 --- a/components/lib/tieredmenu/BaseTieredMenu.vue +++ b/components/lib/tieredmenu/BaseTieredMenu.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-tieredmenu ul { margin: 0; padding: 0; diff --git a/components/lib/timeline/BaseTimeline.vue b/components/lib/timeline/BaseTimeline.vue index 34dda1a28..78a512a49 100644 --- a/components/lib/timeline/BaseTimeline.vue +++ b/components/lib/timeline/BaseTimeline.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-timeline { display: flex; flex-grow: 1; diff --git a/components/lib/toast/BaseToast.vue b/components/lib/toast/BaseToast.vue index fa8b7c5a4..87150bcca 100644 --- a/components/lib/toast/BaseToast.vue +++ b/components/lib/toast/BaseToast.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-toast { width: 25rem; white-space: pre-line; diff --git a/components/lib/toolbar/BaseToolbar.vue b/components/lib/toolbar/BaseToolbar.vue index 91a914b1b..60c6d5fd6 100644 --- a/components/lib/toolbar/BaseToolbar.vue +++ b/components/lib/toolbar/BaseToolbar.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-toolbar { display: flex; align-items: center; diff --git a/components/lib/tooltip/BaseTooltip.js b/components/lib/tooltip/BaseTooltip.js index b7a1370d0..b1366568f 100644 --- a/components/lib/tooltip/BaseTooltip.js +++ b/components/lib/tooltip/BaseTooltip.js @@ -2,7 +2,7 @@ import BaseDirective from 'primevue/basedirective'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-tooltip { position:absolute; display:none; diff --git a/components/lib/tree/BaseTree.vue b/components/lib/tree/BaseTree.vue index ecbc9054c..85d1d75c2 100644 --- a/components/lib/tree/BaseTree.vue +++ b/components/lib/tree/BaseTree.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-tree-container { margin: 0; padding: 0; diff --git a/components/lib/treeselect/BaseTreeSelect.vue b/components/lib/treeselect/BaseTreeSelect.vue index c629634c2..49fc00227 100644 --- a/components/lib/treeselect/BaseTreeSelect.vue +++ b/components/lib/treeselect/BaseTreeSelect.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-treeselect { display: inline-flex; cursor: pointer; diff --git a/components/lib/treetable/BaseTreeTable.vue b/components/lib/treetable/BaseTreeTable.vue index aea49d0c1..7c81453b8 100644 --- a/components/lib/treetable/BaseTreeTable.vue +++ b/components/lib/treetable/BaseTreeTable.vue @@ -3,7 +3,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; const styles = ` -@layer primevue.core { +@layer primevue { .p-treetable { position: relative; }