Skip to content

Replace deprecated tailwind classes #392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/styles/primevue/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

.p-carousel-prev-button,
.p-carousel-next-button {
@apply self-center flex-shrink-0
@apply self-center shrink-0
}

.p-carousel-indicator-list {
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/cascadeselect.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

.p-cascadeselect-label {
@apply block whitespace-nowrap overflow-hidden flex-auto w-[1%]
py-2 px-3 overflow-ellipsis
py-2 px-3 text-ellipsis
text-surface-700 dark:text-surface-0 bg-transparent border-none outline-none
}

Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

.p-drawer-header {
@apply flex items-center justify-between flex-shrink-0 p-5
@apply flex items-center justify-between shrink-0 p-5
}

.p-drawer-footer {
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/fileupload.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}

.p-fileupload-file-thumbnail {
@apply flex-shrink-0
@apply shrink-0
}

.p-fileupload-file-actions {
Expand Down
4 changes: 2 additions & 2 deletions assets/styles/primevue/galleria.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
}

.p-galleria-thumbnails {
@apply flex flex-col overflow-auto flex-shrink-0
@apply flex flex-col overflow-auto shrink-0
}

.p-galleria-thumbnail-nav-button {
@apply self-center flex-grow-0 flex-shrink-0 basis-auto justify-center items-center overflow-hidden relative
@apply self-center grow-0 shrink-0 basis-auto justify-center items-center overflow-hidden relative
my-0 mx-2 p-0 border-none select-none cursor-pointer w-8 h-8 rounded-md transition-colors duration-200 bg-transparent
text-surface-600 hover:bg-surface-100 hover:text-surface-700
dark:text-surface-400 dark:hover:bg-surface-800 dark:hover:text-surface-0
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/inputnumber.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

.p-inputnumber-button {
@apply flex items-center justify-center flex-grow-0 flex-shrink-0 basis-auto cursor-pointer w-10
@apply flex items-center justify-center grow-0 shrink-0 basis-auto cursor-pointer w-10
bg-transparent enabled:hover:bg-surface-100 enabled:active:bg-surface-200
border border-surface-300 enabled:hover:border-surface-300 enabled:active:border-surface-300
text-surface-400 enabled:hover:text-surface-500 enabled:active:text-surface-600
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/megamenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
.p-megamenu-col-4,
.p-megamenu-col-6,
.p-megamenu-col-12 {
@apply flex-grow-0 flex-shrink-0 basis-auto p-2
@apply grow-0 shrink-0 basis-auto p-2
}

.p-megamenu-col-2 {
Expand Down
4 changes: 2 additions & 2 deletions assets/styles/primevue/message.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
}

.p-message-icon {
@apply flex-shrink-0
@apply shrink-0
}

.p-message-close-button {
@apply flex items-center justify-center flex-shrink-0 ms-auto overflow-hidden relative cursor-pointer select-none
@apply flex items-center justify-center shrink-0 ms-auto overflow-hidden relative cursor-pointer select-none
w-7 h-7 rounded-full bg-transparent transition-colors duration-200 text-inherit p-0 border-none
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2
}
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/select.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

.p-select-label {
@apply block whitespace-nowrap overflow-hidden flex-auto w-[1%]
py-2 px-3 overflow-ellipsis
py-2 px-3 text-ellipsis
text-surface-700 dark:text-surface-0 bg-transparent border-none outline-none
}

Expand Down
6 changes: 3 additions & 3 deletions assets/styles/primevue/splitter.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
}

.p-splitter-gutter {
@apply flex-grow-0 flex-shrink-0 flex items-center justify-center z-10 bg-surface-200 dark:bg-surface-700
@apply grow-0 shrink-0 flex items-center justify-center z-10 bg-surface-200 dark:bg-surface-700
}

.p-splitter-gutter-handle {
@apply rounded-md bg-transparent
@apply rounded-md bg-transparent
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
transition-colors duration-200
}
Expand Down Expand Up @@ -53,4 +53,4 @@

.p-splitterpanel .p-splitter {
@apply flex-grow border-none
}
}
2 changes: 1 addition & 1 deletion assets/styles/primevue/stepper.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}

.p-stepitem .p-stepper-separator {
@apply flex-grow-0 flex-shrink-0 basis-auto w-[2px] h-auto ms-[1.625rem] relative start-[-2.5px]
@apply grow-0 shrink-0 basis-auto w-[2px] h-auto ms-[1.625rem] relative start-[-2.5px]
}

.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {
Expand Down
4 changes: 2 additions & 2 deletions assets/styles/primevue/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

.p-tablist-nav-button {
@apply !absolute flex-shrink-0 top-0 z-20 h-full flex items-center justify-center cursor-pointer
@apply !absolute shrink-0 top-0 z-20 h-full flex items-center justify-center cursor-pointer
bg-surface-0 dark:bg-surface-900 text-surface-500 dark:text-surface-400 hover:text-surface-700 dark:hover:text-surface-0 w-10
shadow-[0px_0px_10px_50px_rgba(255,255,255,0.6)] dark:shadow-[0px_0px_10px_50px] dark:shadow-surface-900/50
focus-visible:z-10 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-[-1px] focus-visible:outline-primary
Expand All @@ -48,7 +48,7 @@
}

.p-tab {
@apply flex-shrink-0 cursor-pointer select-none relative whitespace-nowrap py-4 px-[1.125rem]
@apply shrink-0 cursor-pointer select-none relative whitespace-nowrap py-4 px-[1.125rem]
border-b border-surface-200 dark:border-surface-700 font-semibold
text-surface-500 dark:text-surface-400
transition-colors duration-200 -mb-px
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/toast.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

.p-toast-message-icon {
@apply flex-shrink-0 text-lg w-[1.125rem] h-[1.125rem]
@apply shrink-0 text-lg w-[1.125rem] h-[1.125rem]
}

.p-toast-message-content {
Expand Down
2 changes: 1 addition & 1 deletion assets/styles/primevue/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

.p-tree-node-toggle-button {
@apply cursor-pointer select-none inline-flex justify-center rounded-full items-center overflow-hidden relative flex-shrink-0
@apply cursor-pointer select-none inline-flex justify-center rounded-full items-center overflow-hidden relative shrink-0
w-7 h-7 p-0 transition-colors duration-200 border-none
bg-transparent enabled:hover:bg-surface-100 dark:enabled:hover:bg-surface-800
text-surface-500 dark:text-surface-400 enabled:hover:text-surface-600 dark:enabled:hover:text-surface-300
Expand Down