@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,228 @@
1
+ .p-message {
2
+ @apply rounded-md outline outline-1
3
+ }
4
+
5
+ .p-message-content {
6
+ @apply flex items-center px-3 py-2 gap-2 h-full
7
+ }
8
+
9
+ .p-message-icon {
10
+ @apply flex-shrink-0
11
+ }
12
+
13
+ .p-message-close-button {
14
+ @apply flex items-center justify-center flex-shrink-0 ms-auto overflow-hidden relative cursor-pointer select-none
15
+ w-7 h-7 rounded-full bg-transparent transition-colors duration-200 text-inherit p-0 border-none
16
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2
17
+ }
18
+
19
+ .p-message-info {
20
+ @apply bg-blue-50/95 outline-blue-200 text-blue-600
21
+ dark:bg-blue-500/15 dark:outline-blue-700/35 dark:text-blue-500
22
+ shadow-[0px_4px_8px_0px_theme(colors.blue.500/0.04)]
23
+ }
24
+
25
+ .p-message-info .p-message-close-button {
26
+ @apply hover:bg-blue-100 focus-visible:outline-blue-600
27
+ dark:hover:bg-white/5 dark:focus-visible:outline-blue-500
28
+ }
29
+
30
+ .p-message-info.p-message-outlined {
31
+ @apply text-blue-500 outline-blue-500 dark:text-blue-600 dark:outline-blue-600
32
+ }
33
+
34
+ .p-message-info.p-message-simple {
35
+ @apply text-blue-500 dark:text-blue-600
36
+ }
37
+
38
+ .p-message-success {
39
+ @apply bg-green-50/95 outline-green-200 text-green-600
40
+ dark:bg-green-500/15 dark:outline-green-700/35 dark:text-green-500
41
+ shadow-[0px_4px_8px_0px_theme(colors.green.500/0.04)]
42
+ }
43
+
44
+ .p-message-success .p-message-close-button {
45
+ @apply hover:bg-green-100 focus-visible:outline-green-600
46
+ dark:hover:bg-white/5 dark:focus-visible:outline-green-500
47
+ }
48
+
49
+ .p-message-success.p-message-outlined {
50
+ @apply text-green-500 outline-green-500 dark:text-green-600 dark:outline-green-600
51
+ }
52
+
53
+ .p-message-success.p-message-simple {
54
+ @apply text-green-500 dark:text-green-600
55
+ }
56
+
57
+ .p-message-warn {
58
+ @apply bg-yellow-50/95 outline-yellow-200 text-yellow-600
59
+ dark:bg-yellow-500/15 dark:outline-yellow-700/35 dark:text-yellow-500
60
+ shadow-[0px_4px_8px_0px_theme(colors.yellow.500/0.04)]
61
+ }
62
+
63
+ .p-message-warn .p-message-close-button {
64
+ @apply hover:bg-yellow-100 focus-visible:outline-yellow-600
65
+ dark:hover:bg-white/5 dark:focus-visible:outline-yellow-500
66
+ }
67
+
68
+ .p-message-warn.p-message-outlined {
69
+ @apply text-yellow-500 outline-yellow-500 dark:text-yellow-600 dark:outline-yellow-600
70
+ }
71
+
72
+ .p-message-warn.p-message-simple {
73
+ @apply text-yellow-500 dark:text-yellow-600
74
+ }
75
+
76
+ .p-message-error {
77
+ @apply bg-red-50/95 outline-red-200 text-red-600
78
+ dark:bg-red-500/15 dark:outline-red-700/35 dark:text-red-500
79
+ shadow-[0px_4px_8px_0px_theme(colors.red.500/0.04)]
80
+ }
81
+
82
+ .p-message-error .p-message-close-button {
83
+ @apply hover:bg-red-100 focus-visible:outline-red-600
84
+ dark:hover:bg-white/5 dark:focus-visible:outline-red-500
85
+ }
86
+
87
+ .p-message-error.p-message-outlined {
88
+ @apply text-red-500 outline-red-500 dark:text-red-600 dark:outline-red-600
89
+ }
90
+
91
+ .p-message-error.p-message-simple {
92
+ @apply text-red-500 dark:text-red-600
93
+ }
94
+
95
+ .p-message-secondary {
96
+ @apply bg-surface-100 outline-surface-200 text-surface-600
97
+ dark:bg-surface-800 dark:outline-surface-700 dark:text-surface-300
98
+ shadow-[0px_4px_8px_0px_rgba(0,0,0,0.04)]
99
+ }
100
+
101
+ .p-message-secondary .p-message-close-button {
102
+ @apply hover:bg-surface-200 focus-visible:outline-surface-600
103
+ dark:hover:bg-surface-700 dark:focus-visible:outline-surface-300
104
+ }
105
+
106
+ .p-message-secondary.p-message-outlined {
107
+ @apply text-surface-500 outline-surface-500 dark:text-surface-600 dark:outline-surface-600
108
+ }
109
+
110
+ .p-message-secondary.p-message-simple {
111
+ @apply text-surface-500 dark:text-surface-600
112
+ }
113
+
114
+ .p-message-contrast {
115
+ @apply bg-surface-900 outline-surface-950 text-surface-50
116
+ dark:bg-surface-0 dark:outline-surface-100 dark:text-surface-950
117
+ shadow-[0px_4px_8px_0px_rgba(0,0,0,0.04)]
118
+ }
119
+
120
+ .p-message-contrast .p-message-close-button {
121
+ @apply hover:bg-surface-800 focus-visible:outline-surface-50
122
+ dark:hover:bg-surface-100 dark:focus-visible:outline-surface-950
123
+ }
124
+
125
+ .p-message-contrast.p-message-outlined {
126
+ @apply text-surface-950 outline-surface-950 dark:text-surface-0 dark:outline-surface-0
127
+ }
128
+
129
+ .p-message-contrast.p-message-simple {
130
+ @apply text-surface-950 dark:text-surface-0
131
+ }
132
+
133
+ .p-message-text {
134
+ @apply text-base font-medium
135
+ }
136
+
137
+ .p-message-icon {
138
+ @apply text-lg w-[1.125rem] h-[1.125rem]
139
+ }
140
+
141
+ .p-message-enter-from {
142
+ @apply opacity-0
143
+ }
144
+
145
+ .p-message-enter-active {
146
+ @apply transition-opacity duration-300
147
+ }
148
+
149
+ .p-message.p-message-leave-from {
150
+ @apply max-h-[1000px]
151
+ }
152
+
153
+ .p-message.p-message-leave-to {
154
+ @apply max-h-0 opacity-0 m-0
155
+ }
156
+
157
+ .p-message-leave-active {
158
+ @apply overflow-hidden [transition:max-height_0.45s_cubic-bezier(0,1,0,1),opacity_0.3s,margin0.3s]
159
+ }
160
+
161
+ .p-message-leave-active .p-message-close-button {
162
+ @apply opacity-0
163
+ }
164
+
165
+ .p-message-sm .p-message-content {
166
+ @apply px-2.5 py-[0.375rem]
167
+ }
168
+
169
+ .p-message-sm .p-message-text {
170
+ @apply text-sm
171
+ }
172
+
173
+ .p-message-sm .p-message-icon {
174
+ @apply w-4 h-4 text-sm
175
+ }
176
+
177
+ .p-message-sm .p-message-close-icon {
178
+ @apply w-3.5 h-3.5 text-sm
179
+ }
180
+
181
+ .p-message-xs .p-message-content {
182
+ @apply px-2.5 py-[0.375rem]
183
+ }
184
+
185
+ .p-message-sm .p-message-text {
186
+ @apply text-xs
187
+ }
188
+
189
+ .p-message-sm .p-message-icon {
190
+ @apply w-4 h-4 text-xs
191
+ }
192
+
193
+ .p-message-sm .p-message-close-icon {
194
+ @apply w-3.5 h-3.5 text-xs
195
+ }
196
+
197
+ .p-message-lg .p-message-content {
198
+ @apply px-3.5 py-2.5
199
+ }
200
+
201
+ .p-message-lg .p-message-text {
202
+ @apply text-xl
203
+ }
204
+
205
+ .p-message-lg .p-message-icon {
206
+ @apply w-5 h-5 text-xl
207
+ }
208
+
209
+ .p-message-lg .p-message-close-icon {
210
+ @apply w-[1.125rem] h-[1.125rem] text-xl
211
+ }
212
+
213
+ .p-message-outlined {
214
+ @apply bg-transparent outline outline-1
215
+ }
216
+
217
+ .p-message-simple {
218
+ @apply bg-transparent outline-none shadow-none
219
+ }
220
+
221
+ .p-message-simple .p-message-content {
222
+ @apply p-0
223
+ }
224
+
225
+ .p-message-outlined .p-message-close-button:hover,
226
+ .p-message-simple .p-message-close-button:hover {
227
+ @apply bg-transparent
228
+ }
@@ -0,0 +1,67 @@
1
+ .p-metergroup {
2
+ @apply flex gap-4
3
+ }
4
+
5
+ .p-metergroup-meters {
6
+ @apply flex bg-surface-200 dark:bg-surface-700 rounded-md
7
+ }
8
+
9
+ .p-metergroup-label-list {
10
+ @apply flex flex-wrap m-0 p-0 list-none
11
+ }
12
+
13
+ .p-metergroup-label {
14
+ @apply inline-flex items-center gap-2
15
+ }
16
+
17
+ .p-metergroup-label-marker {
18
+ @apply inline-flex w-2 h-2 rounded-full
19
+ }
20
+
21
+ .p-metergroup-label-icon {
22
+ @apply text-base w-4 h-4
23
+ }
24
+
25
+ .p-metergroup-horizontal {
26
+ @apply flex-col
27
+ }
28
+
29
+ .p-metergroup-label-list-horizontal {
30
+ @apply gap-4
31
+ }
32
+
33
+ .p-metergroup-horizontal .p-metergroup-meters {
34
+ @apply h-2
35
+ }
36
+
37
+ .p-metergroup-horizontal .p-metergroup-meter:first-of-type {
38
+ @apply rounded-s-md
39
+ }
40
+
41
+ .p-metergroup-horizontal .p-metergroup-meter:last-of-type {
42
+ @apply rounded-e-md
43
+ }
44
+
45
+ .p-metergroup-vertical {
46
+ @apply flex-row
47
+ }
48
+
49
+ .p-metergroup-label-list-vertical {
50
+ @apply flex-col gap-2
51
+ }
52
+
53
+ .p-metergroup-vertical .p-metergroup-meters {
54
+ @apply flex-col w-2 h-full
55
+ }
56
+
57
+ .p-metergroup-vertical .p-metergroup-label-list {
58
+ @apply items-start
59
+ }
60
+
61
+ .p-metergroup-vertical .p-metergroup-meter:first-of-type {
62
+ @apply rounded-ss-md rounded-se-md
63
+ }
64
+
65
+ .p-metergroup-vertical .p-metergroup-meter:last-of-type {
66
+ @apply rounded-ee-md rounded-es-md
67
+ }
@@ -0,0 +1,143 @@
1
+ @import './checkbox';
2
+ @import './chip';
3
+ @import './inputtext';
4
+ @import './iconfield';
5
+
6
+ .p-multiselect {
7
+ @apply inline-flex cursor-pointer relative select-none rounded-md
8
+ bg-surface-0 dark:bg-surface-950
9
+ border border-surface-300 dark:border-surface-700
10
+ shadow-[0_1px_2px_0_rgba(18,18,23,0.05)]
11
+ transition-colors duration-200
12
+ }
13
+
14
+ .p-multiselect:not(.p-disabled):hover {
15
+ @apply border-surface-400 dark:border-surface-600
16
+ }
17
+
18
+ .p-multiselect:not(.p-disabled).p-focus {
19
+ @apply border-primary
20
+ }
21
+
22
+ .p-multiselect.p-variant-filled {
23
+ @apply bg-surface-50 dark:bg-surface-800
24
+ }
25
+
26
+ .p-multiselect.p-invalid {
27
+ @apply border-red-400 dark:border-red-300
28
+ }
29
+
30
+ .p-multiselect.p-disabled {
31
+ @apply bg-surface-200 text-surface-500 dark:bg-surface-700 dark:text-surface-400 opacity-100 cursor-default
32
+ }
33
+
34
+ .p-multiselect-dropdown {
35
+ @apply flex items-center justify-center shrink-0 bg-transparent
36
+ text-surface-500 dark:text-surface-400 w-10 rounded-e-md
37
+ }
38
+
39
+ .p-multiselect-clear-icon {
40
+ @apply absolute top-1/2 -mt-2 text-surface-500 dark:text-surface-400 end-10
41
+ }
42
+
43
+ .p-multiselect-label-container {
44
+ @apply overflow-hidden flex-auto
45
+ }
46
+
47
+ .p-multiselect-label {
48
+ @apply flex items-center gap-1 whitespace-nowrap overflow-hidden text-ellipsis px-3 py-2 text-surface-700 dark:text-surface-0
49
+ }
50
+
51
+ .p-multiselect-label.p-placeholder {
52
+ @apply text-surface-500 dark:text-surface-400
53
+ }
54
+
55
+ .p-multiselect.p-disabled .p-multiselect-label {
56
+ @apply text-surface-500 dark:text-surface-400
57
+ }
58
+
59
+ .p-multiselect-label-empty {
60
+ @apply overflow-hidden opacity-0
61
+ }
62
+
63
+ .p-multiselect .p-multiselect-overlay {
64
+ @apply min-w-full
65
+ }
66
+
67
+ .p-multiselect-overlay {
68
+ @apply absolute top-0 left-0 rounded-md
69
+ bg-surface-0 dark:bg-surface-900
70
+ border border-surface-200 dark:border-surface-700
71
+ text-surface-700 dark:text-surface-0
72
+ shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
73
+ }
74
+
75
+ .p-multiselect-header {
76
+ @apply flex items-center pt-2 pb-1 px-4
77
+ }
78
+
79
+ .p-multiselect-header .p-checkbox {
80
+ @apply me-2
81
+ }
82
+
83
+ .p-multiselect-filter-container {
84
+ @apply flex-auto
85
+ }
86
+
87
+ .p-multiselect-filter {
88
+ @apply w-full
89
+ }
90
+
91
+ .p-multiselect-list-container {
92
+ @apply overflow-auto
93
+ }
94
+
95
+ .p-multiselect-list {
96
+ @apply m-0 p-1 list-none gap-[2px] flex flex-col
97
+ }
98
+
99
+ .p-multiselect-option {
100
+ @apply cursor-pointer font-normal whitespace-nowrap relative overflow-hidden flex items-center gap-2 px-3 py-2
101
+ rounded-sm text-surface-700 dark:text-surface-0 bg-transparent border-none
102
+ transition-colors duration-200
103
+ }
104
+
105
+ .p-multiselect-option:not(.p-disabled).p-focus {
106
+ @apply bg-surface-100 dark:bg-surface-800 text-surface-600 dark:text-surface-0
107
+ }
108
+
109
+ .p-multiselect-option-group {
110
+ @apply m-0 px-3 py-2 bg-transparent text-surface-500 dark:text-surface-400 font-semibold
111
+ }
112
+
113
+ .p-multiselect-empty-message {
114
+ @apply px-3 py-2
115
+ }
116
+
117
+ .p-multiselect-label .p-chip {
118
+ @apply py-1 rounded-sm
119
+ }
120
+
121
+ .p-multiselect-label:has(.p-chip) {
122
+ @apply py-1 px-[0.375rem]
123
+ }
124
+
125
+ .p-multiselect-fluid {
126
+ @apply flex
127
+ }
128
+
129
+ .p-multiselect-sm .p-multiselect-label {
130
+ @apply text-sm px-[0.625rem] py-[0.375rem]
131
+ }
132
+
133
+ .p-multiselect-sm .p-multiselect-dropdown .p-icon {
134
+ @apply text-sm w-[0.875rem] h-[0.875rem]
135
+ }
136
+
137
+ .p-multiselect-lg .p-multiselect-label {
138
+ @apply text-lg px-[0.875rem] py-[0.625rem]
139
+ }
140
+
141
+ .p-multiselect-lg .p-multiselect-dropdown .p-icon {
142
+ @apply text-lg w-[1.125rem] h-[1.125rem]
143
+ }
@@ -0,0 +1,10 @@
1
+ @import './button';
2
+ @import './listbox';
3
+
4
+ .p-orderlist {
5
+ @apply flex gap-[1.125rem]
6
+ }
7
+
8
+ .p-orderlist-controls {
9
+ @apply flex flex-col justify-center gap-2
10
+ }
@@ -0,0 +1,71 @@
1
+ .p-organizationchart-table {
2
+ @apply border-spacing-0 border-separate my-0 mx-auto
3
+ }
4
+
5
+ .p-organizationchart-table > tbody > tr > td {
6
+ @apply text-center align-top py-0 px-3
7
+ }
8
+
9
+ .p-organizationchart-node {
10
+ @apply inline-block relative py-3 px-4 rounded-md
11
+ border border-surface-200 dark:border-surface-700
12
+ bg-surface-0 dark:bg-surface-900
13
+ text-surface-700 dark:text-surface-0
14
+ transition-colors duration-200
15
+ }
16
+
17
+ .p-organizationchart-node:has(.p-organizationchart-node-toggle-button) {
18
+ @apply pt-3 px-4 pb-5
19
+ }
20
+
21
+ .p-organizationchart-node.p-organizationchart-node-selectable:not(.p-organizationchart-node-selected):hover {
22
+ @apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0
23
+ }
24
+
25
+ .p-organizationchart-node-selected {
26
+ @apply bg-highlight
27
+ }
28
+
29
+ .p-organizationchart-node-toggle-button {
30
+ @apply absolute -bottom-3 -ms-3 z-20 start-1/2 select-none cursor-pointer w-6 h-6 no-underline rounded-full
31
+ inline-flex items-center justify-center transition-colors duration-200
32
+ border border-surface-200 dark:border-surface-700
33
+ bg-surface-0 text-surface-500 hover:bg-surface-100 hover:text-surface-700
34
+ dark:bg-surface-900 dark:text-surface-400 dark:hover:bg-surface-800 dark:hover:text-surface-0
35
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
36
+ }
37
+ .p-organizationchart-node-toggle-button-icon {
38
+ @apply relative top-px
39
+ }
40
+
41
+ .p-organizationchart-connector-down {
42
+ @apply my-0 mx-auto h-6 w-px bg-surface-200 dark:bg-surface-700
43
+ }
44
+
45
+ .p-organizationchart-connector-right {
46
+ @apply rounded-none
47
+ }
48
+
49
+ .p-organizationchart-connector-left {
50
+ @apply rounded-none border-e border-surface-200 dark:border-surface-700
51
+ }
52
+
53
+ .p-organizationchart-connector-top {
54
+ @apply border-t border-surface-200 dark:border-surface-700
55
+ }
56
+
57
+ .p-organizationchart-node-selectable {
58
+ @apply cursor-pointer
59
+ }
60
+
61
+ .p-organizationchart-connectors :nth-child(1 of .p-organizationchart-connector-left) {
62
+ @apply border-e-0
63
+ }
64
+
65
+ .p-organizationchart-connectors :nth-last-child(1 of .p-organizationchart-connector-left) {
66
+ @apply rounded-se-md
67
+ }
68
+
69
+ .p-organizationchart-connectors :nth-child(1 of .p-organizationchart-connector-right) {
70
+ @apply border-s border-surface-200 dark:border-surface-700 rounded-ss-md
71
+ }
@@ -0,0 +1,13 @@
1
+ @import './badge';
2
+
3
+ .p-overlaybadge {
4
+ @apply relative
5
+ }
6
+
7
+ .p-overlaybadge .p-badge {
8
+ @apply absolute top-0 end-0 translate-x-[50%] translate-y-[-50%] origin-[100%_0] m-0 outline outline-2 outline-surface-0 dark:outline-surface-900
9
+ }
10
+
11
+ .p-overlaybadge .p-badge:dir(rtl) {
12
+ @apply -translate-x-1/2 -translate-y-1/2
13
+ }
@@ -0,0 +1,58 @@
1
+ .p-paginator {
2
+ @apply flex items-center justify-center flex-wrap py-2 px-4 rounded-md gap-1
3
+ bg-surface-0 dark:bg-surface-900 text-surface-700 dark:text-surface-0
4
+ }
5
+
6
+ .p-paginator-content {
7
+ @apply flex items-center justify-center flex-wrap gap-1
8
+ }
9
+
10
+ .p-paginator-content-start {
11
+ @apply ms-auto
12
+ }
13
+
14
+ .p-paginator-content-end {
15
+ @apply me-auto
16
+ }
17
+
18
+ .p-paginator-page,
19
+ .p-paginator-next,
20
+ .p-paginator-last,
21
+ .p-paginator-first,
22
+ .p-paginator-prev {
23
+ @apply cursor-pointer inline-flex items-center justify-center leading-none overflow-hidden relative
24
+ bg-transparent border-none min-w-10 h-10 transition-colors duration-200 rounded-full p-0 m-0
25
+ text-surface-500 dark:text-surface-400
26
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
27
+ }
28
+
29
+ .p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover,
30
+ .p-paginator-first:not(.p-disabled):hover,
31
+ .p-paginator-prev:not(.p-disabled):hover,
32
+ .p-paginator-next:not(.p-disabled):hover,
33
+ .p-paginator-last:not(.p-disabled):hover {
34
+ @apply bg-surface-100 text-surface-600 dark:bg-surface-800 dark:text-surface-300
35
+ }
36
+
37
+ .p-paginator-page.p-paginator-page-selected {
38
+ @apply bg-highlight
39
+ }
40
+
41
+ .p-paginator-current {
42
+ @apply text-surface-500 dark:text-surface-400
43
+ }
44
+
45
+ .p-paginator-pages {
46
+ @apply flex items-center gap-1
47
+ }
48
+
49
+ .p-paginator-jtp-input .p-inputtext {
50
+ @apply max-w-10
51
+ }
52
+
53
+ .p-paginator-first:dir(rtl),
54
+ .p-paginator-prev:dir(rtl),
55
+ .p-paginator-next:dir(rtl),
56
+ .p-paginator-last:dir(rtl) {
57
+ @apply rotate-180
58
+ }
@@ -0,0 +1,27 @@
1
+ @import './button';
2
+
3
+ .p-panel {
4
+ @apply border border-surface-200 dark:border-surface-700 rounded-md
5
+ bg-surface-0 dark:bg-surface-900
6
+ text-surface-700 dark:text-surface-0
7
+ }
8
+
9
+ .p-panel-header {
10
+ @apply flex justify-between items-center p-[1.125rem]
11
+ }
12
+
13
+ .p-panel-toggleable .p-panel-header {
14
+ @apply py-[0.375rem] px-[1.125rem]
15
+ }
16
+
17
+ .p-panel-title {
18
+ @apply leading-none font-semibold
19
+ }
20
+
21
+ .p-panel-content {
22
+ @apply pt-0 pb-[1.125rem] px-[1.125rem]
23
+ }
24
+
25
+ .p-panel-footer {
26
+ @apply pt-0 pb-[1.125rem] px-[1.125rem]
27
+ }
@@ -0,0 +1,94 @@
1
+ .p-panelmenu {
2
+ @apply flex flex-col gap-2
3
+ }
4
+
5
+ .p-panelmenu-panel {
6
+ @apply bg-surface-0 dark:bg-surface-900 rounded-md p-1
7
+ border border-surface-200 dark:border-surface-700
8
+ text-surface-700 dark:text-surface-0
9
+ }
10
+
11
+ .p-panelmenu-header {
12
+ @apply outline-none
13
+ }
14
+
15
+ .p-panelmenu-header-content {
16
+ @apply rounded-md transition-colors duration-200 text-surface-700 dark:text-surface-0
17
+ }
18
+
19
+ .p-panelmenu-header-link {
20
+ @apply flex items-center gap-2 px-3 py-2 select-none cursor-pointer relative no-underline text-inherit
21
+ }
22
+
23
+ .p-panelmenu-header-icon,
24
+ .p-panelmenu-item-icon {
25
+ @apply text-surface-400 dark:text-surface-500
26
+ }
27
+
28
+ .p-panelmenu-submenu-icon {
29
+ @apply text-surface-400 dark:text-surface-500
30
+ }
31
+
32
+ .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content {
33
+ @apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
34
+ }
35
+
36
+ .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-panelmenu-header-icon {
37
+ @apply text-surface-500 dark:text-surface-400
38
+ }
39
+
40
+ .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-panelmenu-submenu-icon {
41
+ @apply text-surface-500 dark:text-surface-400
42
+ }
43
+
44
+ .p-panelmenu-header:not(.p-panelmenu-header-active) .p-panelmenu-submenu-icon:dir(rtl) {
45
+ @apply rotate-180;
46
+ }
47
+
48
+ .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover {
49
+ @apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
50
+ }
51
+
52
+ .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-panelmenu-header-icon {
53
+ @apply text-surface-500 dark:text-surface-400
54
+ }
55
+
56
+ .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-panelmenu-submenu-icon {
57
+ @apply text-surface-500 dark:text-surface-400
58
+ }
59
+
60
+ .p-panelmenu-submenu {
61
+ @apply m-0 py-0 ps-4 outline-none list-none
62
+ }
63
+
64
+ .p-panelmenu-item-link {
65
+ @apply flex items-center gap-2 px-3 py-2 select-none cursor-pointer no-underline text-inherit relative overflow-hidden
66
+ }
67
+
68
+ .p-panelmenu-item-content {
69
+ @apply rounded-md transition-colors duration-200 text-surface-700 dark:text-surface-0
70
+ }
71
+
72
+ .p-panelmenu-item.p-focus > .p-panelmenu-item-content {
73
+ @apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
74
+ }
75
+
76
+ .p-panelmenu-item.p-focus > .p-panelmenu-item-content .p-panelmenu-item-icon {
77
+ @apply text-surface-500 dark:text-surface-400
78
+ }
79
+
80
+ .p-panelmenu-item.p-focus > .p-panelmenu-item-content .p-panelmenu-submenu-icon {
81
+ @apply text-surface-500 dark:text-surface-400
82
+ }
83
+
84
+ .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover {
85
+ @apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
86
+ }
87
+
88
+ .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover .p-panelmenu-item-icon {
89
+ @apply text-surface-500 dark:text-surface-400
90
+ }
91
+
92
+ .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover .p-panelmenu-submenu-icon {
93
+ @apply text-surface-500 dark:text-surface-400
94
+ }