@wippy-fe/theme 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +64 -0
  2. package/THEMING.md +316 -0
  3. package/package.json +35 -0
  4. package/primevue/accordion.css +58 -0
  5. package/primevue/autocomplete.css +144 -0
  6. package/primevue/avatar.css +50 -0
  7. package/primevue/badge.css +53 -0
  8. package/primevue/blockui.css +15 -0
  9. package/primevue/breadcrumb.css +41 -0
  10. package/primevue/button.css +341 -0
  11. package/primevue/buttongroup.css +19 -0
  12. package/primevue/card.css +22 -0
  13. package/primevue/carousel.css +64 -0
  14. package/primevue/cascadeselect.css +169 -0
  15. package/primevue/checkbox.css +84 -0
  16. package/primevue/chip.css +27 -0
  17. package/primevue/colorpicker.css +47 -0
  18. package/primevue/common.css +81 -0
  19. package/primevue/confirmdialog.css +10 -0
  20. package/primevue/confirmpopup.css +66 -0
  21. package/primevue/contextmenu.css +101 -0
  22. package/primevue/datatable.css +408 -0
  23. package/primevue/dataview.css +29 -0
  24. package/primevue/datepicker.css +211 -0
  25. package/primevue/dialog.css +125 -0
  26. package/primevue/divider.css +52 -0
  27. package/primevue/dock.css +84 -0
  28. package/primevue/drawer.css +94 -0
  29. package/primevue/fieldset.css +45 -0
  30. package/primevue/fileupload.css +57 -0
  31. package/primevue/floatlabel.css +73 -0
  32. package/primevue/galleria.css +244 -0
  33. package/primevue/iconfield.css +23 -0
  34. package/primevue/iftalabel.css +32 -0
  35. package/primevue/image.css +56 -0
  36. package/primevue/imagecompare.css +38 -0
  37. package/primevue/inplace.css +13 -0
  38. package/primevue/inputgroup.css +67 -0
  39. package/primevue/inputnumber.css +84 -0
  40. package/primevue/inputotp.css +9 -0
  41. package/primevue/inputtext.css +38 -0
  42. package/primevue/knob.css +37 -0
  43. package/primevue/listbox.css +79 -0
  44. package/primevue/megamenu.css +207 -0
  45. package/primevue/menu.css +51 -0
  46. package/primevue/menubar.css +169 -0
  47. package/primevue/message.css +228 -0
  48. package/primevue/metergroup.css +67 -0
  49. package/primevue/multiselect.css +143 -0
  50. package/primevue/orderlist.css +10 -0
  51. package/primevue/organizationchart.css +71 -0
  52. package/primevue/overlaybadge.css +13 -0
  53. package/primevue/paginator.css +58 -0
  54. package/primevue/panel.css +27 -0
  55. package/primevue/panelmenu.css +94 -0
  56. package/primevue/password.css +61 -0
  57. package/primevue/picklist.css +18 -0
  58. package/primevue/popover.css +46 -0
  59. package/primevue/progressbar.css +67 -0
  60. package/primevue/progressspinner.css +58 -0
  61. package/primevue/radiobutton.css +93 -0
  62. package/primevue/rating.css +23 -0
  63. package/primevue/ripple.css +7 -0
  64. package/primevue/scrollpanel.css +41 -0
  65. package/primevue/scrolltop.css +25 -0
  66. package/primevue/select.css +144 -0
  67. package/primevue/selectbutton.css +25 -0
  68. package/primevue/skeleton.css +11 -0
  69. package/primevue/slider.css +42 -0
  70. package/primevue/speeddial.css +48 -0
  71. package/primevue/splitbutton.css +34 -0
  72. package/primevue/splitter.css +56 -0
  73. package/primevue/stepper.css +102 -0
  74. package/primevue/tabs.css +84 -0
  75. package/primevue/tag.css +38 -0
  76. package/primevue/tailwind.css +104 -0
  77. package/primevue/terminal.css +22 -0
  78. package/primevue/textarea.css +42 -0
  79. package/primevue/tieredmenu.css +105 -0
  80. package/primevue/timeline.css +113 -0
  81. package/primevue/toast.css +172 -0
  82. package/primevue/togglebutton.css +63 -0
  83. package/primevue/toggleswitch.css +66 -0
  84. package/primevue/toolbar.css +12 -0
  85. package/primevue/tooltip.css +38 -0
  86. package/primevue/tree.css +103 -0
  87. package/primevue/treeselect.css +116 -0
  88. package/primevue/treetable.css +300 -0
  89. package/primevue-plugin.ts +8 -0
  90. package/tailwind.config.ts +28 -0
  91. package/theme-config.css +124 -0
@@ -0,0 +1,125 @@
1
+ @import './button';
2
+
3
+ .p-dialog {
4
+ @apply max-h-[90%] scale-100 rounded-xl
5
+ border border-surface-200 dark:border-surface-700
6
+ bg-surface-0 dark:bg-surface-900
7
+ text-surface-700 dark:text-surface-0
8
+ shadow-[0_20px_25px_-5px_rgba(0,0,0,0.1),0_8px_10px_-6px_rgba(0,0,0,0.1)]
9
+ }
10
+
11
+ .p-dialog-content {
12
+ @apply overflow-y-auto pt-0 px-5 pb-5
13
+ }
14
+
15
+ .p-dialog-header {
16
+ @apply flex items-center justify-between shrink-0 p-5
17
+ }
18
+
19
+ .p-dialog-title {
20
+ @apply font-semibold text-xl
21
+ }
22
+
23
+ .p-dialog-footer {
24
+ @apply shrink-0 pt-0 px-5 pb-5 flex justify-end gap-2
25
+ }
26
+
27
+ .p-dialog-header-actions {
28
+ @apply flex items-center gap-2
29
+ }
30
+
31
+ .p-dialog-enter-active {
32
+ @apply transition-all duration-150 ease-[cubic-bezier(0,0,0.2,1)]
33
+ }
34
+
35
+ .p-dialog-leave-active {
36
+ @apply transition-all duration-150 ease-[cubic-bezier(0.4,0,0.2,1)]
37
+ }
38
+
39
+ .p-dialog-enter-from,
40
+ .p-dialog-leave-to {
41
+ @apply opacity-0 scale-75
42
+ }
43
+
44
+ .p-dialog-top .p-dialog,
45
+ .p-dialog-bottom .p-dialog,
46
+ .p-dialog-left .p-dialog,
47
+ .p-dialog-right .p-dialog,
48
+ .p-dialog-topleft .p-dialog,
49
+ .p-dialog-topright .p-dialog,
50
+ .p-dialog-bottomleft .p-dialog,
51
+ .p-dialog-bottomright .p-dialog {
52
+ @apply m-3 [transform:translate3d(0,0,0)]
53
+ }
54
+
55
+ .p-dialog-top .p-dialog-enter-active,
56
+ .p-dialog-top .p-dialog-leave-active,
57
+ .p-dialog-bottom .p-dialog-enter-active,
58
+ .p-dialog-bottom .p-dialog-leave-active,
59
+ .p-dialog-left .p-dialog-enter-active,
60
+ .p-dialog-left .p-dialog-leave-active,
61
+ .p-dialog-right .p-dialog-enter-active,
62
+ .p-dialog-right .p-dialog-leave-active,
63
+ .p-dialog-topleft .p-dialog-enter-active,
64
+ .p-dialog-topleft .p-dialog-leave-active,
65
+ .p-dialog-topright .p-dialog-enter-active,
66
+ .p-dialog-topright .p-dialog-leave-active,
67
+ .p-dialog-bottomleft .p-dialog-enter-active,
68
+ .p-dialog-bottomleft .p-dialog-leave-active,
69
+ .p-dialog-bottomright .p-dialog-enter-active,
70
+ .p-dialog-bottomright .p-dialog-leave-active {
71
+ @apply transition-all duration-300 ease-out
72
+ }
73
+
74
+ .p-dialog-top .p-dialog-enter-from,
75
+ .p-dialog-top .p-dialog-leave-to {
76
+ @apply [transform:translate3d(0,-100%,0)]
77
+ }
78
+
79
+ .p-dialog-bottom .p-dialog-enter-from,
80
+ .p-dialog-bottom .p-dialog-leave-to {
81
+ @apply [transform:translate3d(0,100%,0)]
82
+ }
83
+
84
+ .p-dialog-left .p-dialog-enter-from,
85
+ .p-dialog-left .p-dialog-leave-to,
86
+ .p-dialog-topleft .p-dialog-enter-from,
87
+ .p-dialog-topleft .p-dialog-leave-to,
88
+ .p-dialog-bottomleft .p-dialog-enter-from,
89
+ .p-dialog-bottomleft .p-dialog-leave-to {
90
+ @apply [transform:translate3d(-100%,0,0)]
91
+ }
92
+
93
+ .p-dialog-right .p-dialog-enter-from,
94
+ .p-dialog-right .p-dialog-leave-to,
95
+ .p-dialog-topright .p-dialog-enter-from,
96
+ .p-dialog-topright .p-dialog-leave-to,
97
+ .p-dialog-bottomright .p-dialog-enter-from,
98
+ .p-dialog-bottomright .p-dialog-leave-to {
99
+ @apply [transform:translate3d(100%,0,0)]
100
+ }
101
+
102
+ .p-dialog-left:dir(rtl) .p-dialog-enter-from,
103
+ .p-dialog-left:dir(rtl) .p-dialog-leave-to,
104
+ .p-dialog-topleft:dir(rtl) .p-dialog-enter-from,
105
+ .p-dialog-topleft:dir(rtl) .p-dialog-leave-to,
106
+ .p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,
107
+ .p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {
108
+ @apply [transform:translate3d(100%,0,0)]
109
+ }
110
+ .p-dialog-right:dir(rtl) .p-dialog-enter-from,
111
+ .p-dialog-right:dir(rtl) .p-dialog-leave-to,
112
+ .p-dialog-topright:dir(rtl) .p-dialog-enter-from,
113
+ .p-dialog-topright:dir(rtl) .p-dialog-leave-to,
114
+ .p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,
115
+ .p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {
116
+ @apply [transform:translate3d(-100%,0,0)]
117
+ }
118
+
119
+ .p-dialog-maximized {
120
+ @apply !w-screen !h-screen top-0 start-0 max-h-full rounded-none
121
+ }
122
+
123
+ .p-dialog-maximized .p-dialog-content {
124
+ @apply flex-grow
125
+ }
@@ -0,0 +1,52 @@
1
+ .p-divider-horizontal {
2
+ @apply flex w-full relative items-center my-4 mx-0 py-0 px-4
3
+ before:absolute before:block before:top-1/2 before:start-0 before:w-full
4
+ before:border-t before:border-surface-200 dark:before:border-surface-700
5
+ }
6
+
7
+ .p-divider-horizontal .p-divider-content {
8
+ @apply py-0 px-2
9
+ }
10
+
11
+ .p-divider-vertical {
12
+ @apply min-h-full flex relative justify-center my-0 mx-4 py-2 px-0
13
+ before:absolute before:block before:top-0 before:start-1/2 before:h-full
14
+ before:border-s before:border-surface-200 before:dark:border-surface-700
15
+ }
16
+
17
+ .p-divider.p-divider-vertical .p-divider-content {
18
+ @apply py-2 px-0
19
+ }
20
+
21
+ .p-divider-content {
22
+ @apply z-10 bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0
23
+ }
24
+
25
+ .p-divider-solid.p-divider-horizontal:before {
26
+ @apply border-solid
27
+ }
28
+
29
+ .p-divider-solid.p-divider-vertical:before {
30
+ @apply border-solid
31
+ }
32
+
33
+ .p-divider-dashed.p-divider-horizontal:before {
34
+ @apply border-dashed
35
+ }
36
+
37
+ .p-divider-dashed.p-divider-vertical:before {
38
+ @apply border-dashed
39
+ }
40
+
41
+ .p-divider-dotted.p-divider-horizontal:before {
42
+ @apply border-dotted
43
+ }
44
+
45
+ .p-divider-dotted.p-divider-vertical:before {
46
+ @apply border-dotted
47
+ }
48
+
49
+ .p-divider-left:dir(rtl),
50
+ .p-divider-right:dir(rtl) {
51
+ @apply flex-row-reverse
52
+ }
@@ -0,0 +1,84 @@
1
+ .p-dock {
2
+ @apply absolute z-10 flex justify-center items-center pointer-events-none
3
+ }
4
+
5
+ .p-dock-list-container {
6
+ @apply flex pointer-events-auto bg-white/10 border border-white/10 p-2 rounded-xl
7
+ }
8
+
9
+ .p-dock-list {
10
+ @apply m-0 p-0 list-none flex items-center justify-center outline-none
11
+ }
12
+
13
+ .p-dock-item {
14
+ @apply transition-all duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] will-change-transform p-2 rounded-md
15
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
16
+ }
17
+
18
+ .p-dock-item-link {
19
+ @apply flex flex-col items-center justify-center relative cursor-default w-12 h-12
20
+ }
21
+
22
+ .p-dock-top {
23
+ @apply start-0 top-0 w-full
24
+ }
25
+
26
+ .p-dock-top .p-dock-item {
27
+ @apply origin-[center_top]
28
+ }
29
+
30
+ .p-dock-bottom {
31
+ @apply start-0 bottom-0 w-full
32
+ }
33
+
34
+ .p-dock-bottom .p-dock-item {
35
+ @apply origin-[center_bottom]
36
+ }
37
+
38
+ .p-dock-right {
39
+ @apply end-0 top-0 h-full
40
+ }
41
+
42
+ .p-dock-right .p-dock-item {
43
+ @apply origin-[center_right]
44
+ }
45
+
46
+ .p-dock-right .p-dock-list {
47
+ @apply flex-col
48
+ }
49
+
50
+ .p-dock-left {
51
+ @apply start-0 top-0 h-full
52
+ }
53
+
54
+ .p-dock-left .p-dock-item {
55
+ @apply origin-[center_left]
56
+ }
57
+
58
+ .p-dock-left .p-dock-list {
59
+ @apply flex-col
60
+ }
61
+
62
+ .p-dock-mobile.p-dock-top .p-dock-list-container,
63
+ .p-dock-mobile.p-dock-bottom .p-dock-list-container {
64
+ @apply overflow-x-auto w-full
65
+ }
66
+
67
+ .p-dock-mobile.p-dock-top .p-dock-list-container .p-dock-list,
68
+ .p-dock-mobile.p-dock-bottom .p-dock-list-container .p-dock-list {
69
+ @apply mt-0 mx-auto
70
+ }
71
+
72
+ .p-dock-mobile.p-dock-left .p-dock-list-container,
73
+ .p-dock-mobile.p-dock-right .p-dock-list-container {
74
+ @apply overflow-y-auto h-full
75
+ }
76
+
77
+ .p-dock-mobile.p-dock-left .p-dock-list-container .p-dock-list,
78
+ .p-dock-mobile.p-dock-right .p-dock-list-container .p-dock-list {
79
+ @apply mt-auto mx-0
80
+ }
81
+
82
+ .p-dock-mobile .p-dock-list .p-dock-item {
83
+ @apply transform-none m-0
84
+ }
@@ -0,0 +1,94 @@
1
+ @import './button';
2
+
3
+ .p-drawer {
4
+ @apply flex flex-col pointer-events-auto relative transition-transform duration-300
5
+ border border-surface-200 dark:border-surface-700
6
+ bg-surface-0 dark:bg-surface-900
7
+ text-surface-700 dark:text-surface-0
8
+ shadow-[0_20px_25px_-5px_rgba(0,0,0,0.1),0_8px_10px_-6px_rgba(0,0,0,0.1)]
9
+ }
10
+
11
+ .p-drawer {
12
+ @apply [transform:translate3d(0,0,0)]
13
+ }
14
+
15
+ .p-drawer-content {
16
+ @apply overflow-y-auto flex-grow pt-0 pb-5 px-5
17
+ }
18
+
19
+ .p-drawer-header {
20
+ @apply flex items-center justify-between flex-shrink-0 p-5
21
+ }
22
+
23
+ .p-drawer-footer {
24
+ @apply p-5
25
+ }
26
+
27
+ .p-drawer-title {
28
+ @apply font-semibold text-2xl
29
+ }
30
+
31
+ .p-drawer-full .p-drawer {
32
+ @apply transition-none transform-none w-screen h-screen max-h-full top-0 left-0
33
+ }
34
+
35
+ .p-drawer-left .p-drawer-enter-from,
36
+ .p-drawer-left .p-drawer-leave-to {
37
+ @apply -translate-x-full
38
+ }
39
+
40
+ .p-drawer-right .p-drawer-enter-from,
41
+ .p-drawer-right .p-drawer-leave-to {
42
+ @apply translate-x-full
43
+ }
44
+
45
+ .p-drawer-top .p-drawer-enter-from,
46
+ .p-drawer-top .p-drawer-leave-to {
47
+ @apply -translate-y-full
48
+ }
49
+
50
+ .p-drawer-bottom .p-drawer-enter-from,
51
+ .p-drawer-bottom .p-drawer-leave-to {
52
+ @apply translate-y-full
53
+ }
54
+
55
+ .p-drawer-full .p-drawer-enter-from,
56
+ .p-drawer-full .p-drawer-leave-to {
57
+ @apply opacity-0
58
+ }
59
+
60
+ .p-drawer-full .p-drawer-enter-active,
61
+ .p-drawer-full .p-drawer-leave-active {
62
+ @apply transition-opacity animate-duration-400 ease-[cubic-bezier(0.25,0.8,0.25,1)]
63
+ }
64
+
65
+ .p-drawer-left .p-drawer {
66
+ @apply w-80 h-full border-r
67
+ }
68
+
69
+ .p-drawer-right .p-drawer {
70
+ @apply w-80 h-full border-s
71
+ }
72
+
73
+ .p-drawer-top .p-drawer {
74
+ @apply h-40 w-full border-b
75
+ }
76
+
77
+ .p-drawer-bottom .p-drawer {
78
+ @apply h-40 w-full border-t
79
+ }
80
+
81
+ .p-drawer-left .p-drawer-content,
82
+ .p-drawer-right .p-drawer-content,
83
+ .p-drawer-top .p-drawer-content,
84
+ .p-drawer-bottom .p-drawer-content {
85
+ @apply w-full h-full
86
+ }
87
+
88
+ .p-drawer-open {
89
+ @apply flex
90
+ }
91
+
92
+ .p-overlay-mask:dir(rtl) {
93
+ @apply flex-row-reverse;
94
+ }
@@ -0,0 +1,45 @@
1
+ .p-fieldset {
2
+ @apply border border-surface-200 dark:border-surface-700 rounded-md
3
+ bg-surface-0 dark:bg-surface-900
4
+ text-surface-700 dark:text-surface-0
5
+ px-[1.125rem] pt-0 pb-[1.125rem]
6
+ }
7
+
8
+ .p-fieldset-legend {
9
+ @apply border border-transparent rounded-md px-3 py-2
10
+ transition-colors duration-200
11
+ }
12
+
13
+ .p-fieldset-toggleable > .p-fieldset-legend {
14
+ @apply p-0
15
+ }
16
+
17
+ .p-fieldset-toggle-button {
18
+ @apply select-none overflow-hidden relative
19
+ flex items-center justify-center gap-2
20
+ px-3 py-2
21
+ border-none rounded-md
22
+ bg-surface-0 dark:bg-surface-900
23
+ hover:bg-surface-100 dark:hover:bg-surface-800
24
+ text-surface-700 dark:text-surface-0
25
+ hover:text-surface-800 dark:hover:text-surface-0
26
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
27
+ transition-colors duration-200
28
+ }
29
+
30
+ .p-fieldset-legend-label {
31
+ @apply font-semibold;
32
+ }
33
+
34
+ .p-fieldset-toggle-icon {
35
+ @apply text-surface-500 dark:text-surface-400
36
+ transition-colors duration-200
37
+ }
38
+
39
+ .p-fieldset-toggle-button:hover .p-fieldset-toggle-icon {
40
+ @apply text-surface-600 dark:text-surface-300
41
+ }
42
+
43
+ .p-fieldset .p-fieldset-content {
44
+ @apply p-0
45
+ }
@@ -0,0 +1,57 @@
1
+ @import './button';
2
+ @import './message';
3
+ @import './progressbar';
4
+
5
+ .p-fileupload input[type="file"] {
6
+ @apply hidden
7
+ }
8
+
9
+ .p-fileupload-advanced {
10
+ @apply border border-surface-200 dark:border-surface-700 rounded-md
11
+ bg-surface-0 dark:bg-surface-900
12
+ text-surface-700 dark:text-surface-0
13
+ }
14
+
15
+ .p-fileupload-header {
16
+ @apply flex items-center p-[1.125rem] gap-2 text-surface-700 dark:text-surface-0
17
+ }
18
+
19
+ .p-fileupload-content {
20
+ @apply border border-transparent relative transition-colors duration-200 pt-0 px-[1.125rem] pb-[1.125rem]
21
+ }
22
+
23
+ .p-fileupload-content .p-progressbar {
24
+ @apply w-full absolute top-0 start-0 h-1
25
+ }
26
+
27
+ .p-fileupload-file-list {
28
+ @apply flex flex-col gap-2 mt-[1.125rem]
29
+ }
30
+
31
+ .p-fileupload-file {
32
+ @apply flex flex-wrap items-center p-4 border-b border-surface-200 dark:border-surface-700 gap-2 last:border-b-0
33
+ }
34
+
35
+ .p-fileupload-file-info {
36
+ @apply flex flex-col gap-2
37
+ }
38
+
39
+ .p-fileupload-file-thumbnail {
40
+ @apply flex-shrink-0
41
+ }
42
+
43
+ .p-fileupload-file-actions {
44
+ @apply ms-auto
45
+ }
46
+
47
+ .p-fileupload-highlight {
48
+ @apply border border-dashed border-primary
49
+ }
50
+
51
+ .p-fileupload-advanced .p-message {
52
+ @apply mt-0
53
+ }
54
+
55
+ .p-fileupload-basic {
56
+ @apply flex flex-wrap items-center justify-center gap-2
57
+ }
@@ -0,0 +1,73 @@
1
+ .p-floatlabel {
2
+ @apply block relative
3
+ }
4
+
5
+ .p-floatlabel label {
6
+ @apply absolute pointer-events-none top-1/2 -translate-y-1/2 transition-all duration-200 ease-out leading-none font-medium
7
+ start-3 text-surface-500 dark:text-surface-400
8
+ }
9
+
10
+ .p-floatlabel:has(.p-textarea) label {
11
+ @apply top-2 translate-y-0
12
+ }
13
+
14
+ .p-floatlabel:has(.p-inputicon:first-child) label {
15
+ @apply start-10
16
+ }
17
+
18
+ .p-floatlabel:has(.p-invalid) label {
19
+ @apply text-red-400 dark:text-red-300
20
+ }
21
+
22
+ .p-floatlabel:has(input:focus) label,
23
+ .p-floatlabel:has(input.p-filled) label,
24
+ .p-floatlabel:has(input:-webkit-autofill) label,
25
+ .p-floatlabel:has(textarea:focus) label,
26
+ .p-floatlabel:has(textarea.p-filled) label,
27
+ .p-floatlabel:has(.p-inputwrapper-focus) label,
28
+ .p-floatlabel:has(.p-inputwrapper-filled) label {
29
+ @apply -top-5 translate-y-0 text-xs font-normal
30
+ }
31
+
32
+ .p-floatlabel:has(input.p-filled) label,
33
+ .p-floatlabel:has(textarea.p-filled) label,
34
+ .p-floatlabel:has(.p-inputwrapper-filled) label {
35
+ @apply text-surface-500 dark:text-surface-400
36
+ }
37
+
38
+ .p-floatlabel:has(input:focus) label,
39
+ .p-floatlabel:has(input:-webkit-autofill) label,
40
+ .p-floatlabel:has(textarea:focus) label ,
41
+ .p-floatlabel:has(.p-inputwrapper-focus) label {
42
+ @apply text-primary
43
+ }
44
+
45
+ .p-floatlabel-in .p-inputtext,
46
+ .p-floatlabel-in .p-textarea,
47
+ .p-floatlabel-in .p-select-label,
48
+ .p-floatlabel-in .p-multiselect-label,
49
+ .p-floatlabel-in .p-autocomplete-input-multiple,
50
+ .p-floatlabel-in .p-cascadeselect-label,
51
+ .p-floatlabel-in .p-treeselect-label {
52
+ @apply pt-6 pb-2
53
+ }
54
+
55
+ .p-floatlabel-in:has(input:focus) label,
56
+ .p-floatlabel-in:has(input.p-filled) label,
57
+ .p-floatlabel-in:has(input:-webkit-autofill) label,
58
+ .p-floatlabel-in:has(textarea:focus) label,
59
+ .p-floatlabel-in:has(textarea.p-filled) label,
60
+ .p-floatlabel-in:has(.p-inputwrapper-focus) label,
61
+ .p-floatlabel-in:has(.p-inputwrapper-filled) label {
62
+ @apply top-2
63
+ }
64
+
65
+ .p-floatlabel-on:has(input:focus) label,
66
+ .p-floatlabel-on:has(input.p-filled) label,
67
+ .p-floatlabel-on:has(input:-webkit-autofill) label,
68
+ .p-floatlabel-on:has(textarea:focus) label,
69
+ .p-floatlabel-on:has(textarea.p-filled) label,
70
+ .p-floatlabel-on:has(.p-inputwrapper-focus) label,
71
+ .p-floatlabel-on:has(.p-inputwrapper-filled) label {
72
+ @apply top-0 -translate-y-1/2 rounded-sm bg-surface-0 dark:bg-surface-950 py-0 px-[0.125rem]
73
+ }