@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,244 @@
1
+ .p-galleria {
2
+ @apply overflow-hidden border border-surface-200 dark:border-surface-700 rounded-md
3
+ }
4
+
5
+ .p-galleria-content {
6
+ @apply flex flex-col
7
+ }
8
+
9
+ .p-galleria-items-container {
10
+ @apply flex flex-col relative
11
+ }
12
+
13
+ .p-galleria-items {
14
+ @apply relative flex h-full
15
+ }
16
+
17
+ .p-galleria-nav-button {
18
+ @apply absolute top-1/2 inline-flex justify-center items-center overflow-hidden select-none border-none cursor-pointer
19
+ w-12 h-12 transition-colors duration-200 p-0 -mt-12 mx-2 mb-0 rounded-full
20
+ bg-white/10 text-surface-100 enabled:hover:bg-white/20 enabled:hover:text-surface-0
21
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
22
+ }
23
+
24
+ .p-galleria-next-icon,
25
+ .p-galleria-prev-icon {
26
+ @apply text-2xl w-6 h-6
27
+ }
28
+
29
+ .p-galleria-prev-button {
30
+ @apply start-0
31
+ }
32
+
33
+ .p-galleria-next-button {
34
+ @apply end-0
35
+ }
36
+
37
+ .p-galleria-prev-button:dir(rtl) {
38
+ @apply start-auto end-0
39
+ }
40
+ .p-galleria-next-button:dir(rtl) {
41
+ @apply end-auto start-0
42
+ }
43
+
44
+ .p-galleria-item {
45
+ @apply flex justify-center items-center h-full w-full
46
+ }
47
+
48
+ .p-galleria-hover-navigators .p-galleria-nav-button {
49
+ @apply pointer-events-none opacity-0 transition-opacity duration-200 ease-in-out
50
+ }
51
+
52
+ .p-galleria-hover-navigators .p-galleria-items-container:hover .p-galleria-nav-button {
53
+ @apply pointer-events-auto opacity-100
54
+ }
55
+
56
+ .p-galleria-hover-navigators .p-galleria-items-container:hover .p-galleria-nav-button.p-disabled {
57
+ @apply pointer-events-none
58
+ }
59
+
60
+ .p-galleria-caption {
61
+ @apply absolute bottom-0 left-0 w-full bg-black/5 text-surface-100 p-4
62
+ }
63
+
64
+ .p-galleria-thumbnails {
65
+ @apply flex flex-col overflow-auto flex-shrink-0
66
+ }
67
+
68
+ .p-galleria-thumbnail-nav-button {
69
+ @apply self-center flex-grow-0 flex-shrink-0 basis-auto justify-center items-center overflow-hidden relative
70
+ my-0 mx-2 p-0 border-none select-none cursor-pointer w-8 h-8 rounded-md transition-colors duration-200 bg-transparent
71
+ text-surface-600 hover:bg-surface-100 hover:text-surface-700
72
+ dark:text-surface-400 dark:hover:bg-surface-800 dark:hover:text-surface-0
73
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
74
+ }
75
+
76
+ .p-galleria-thumbnail-nav-button .p-galleria-thumbnail-next-icon,
77
+ .p-galleria-thumbnail-nav-button .p-galleria-thumbnail-prev-icon {
78
+ @apply text-base w-4 h-4
79
+ }
80
+
81
+ .p-galleria-thumbnails-content {
82
+ @apply flex flex-row bg-surface-0 dark:bg-surface-900 py-4 px-1
83
+ }
84
+
85
+ .p-galleria-thumbnails-viewport {
86
+ @apply overflow-hidden w-full
87
+ }
88
+
89
+ .p-galleria:not(.p-galleria-thumbnails-right):not(.p-galleria-thumbnails-left) .p-galleria-thumbnail-prev-button:dir(rtl),
90
+ .p-galleria:not(.p-galleria-thumbnails-right):not(.p-galleria-thumbnails-left) .p-galleria-thumbnail-next-button:dir(rtl) {
91
+ @apply rotate-180
92
+ }
93
+
94
+ .p-galleria-thumbnail-items {
95
+ @apply flex
96
+ }
97
+
98
+ .p-galleria-thumbnail-item {
99
+ @apply overflow-auto flex items-center justify-center cursor-pointer opacity-50
100
+ }
101
+
102
+ .p-galleria-thumbnail {
103
+ @apply outline-transparent transition-opacity duration-300 hover:opacity-100
104
+ }
105
+
106
+ .p-galleria-thumbnail-item-current {
107
+ @apply opacity-100
108
+ }
109
+
110
+ .p-galleria-thumbnails-left .p-galleria-content,
111
+ .p-galleria-thumbnails-right .p-galleria-content {
112
+ @apply flex-row
113
+ }
114
+
115
+ .p-galleria-thumbnails-left .p-galleria-items-container,
116
+ .p-galleria-thumbnails-right .p-galleria-items-container {
117
+ @apply flex-row
118
+ }
119
+
120
+ .p-galleria-thumbnails-left .p-galleria-items-container,
121
+ .p-galleria-thumbnails-top .p-galleria-items-container {
122
+ @apply order-2
123
+ }
124
+
125
+ .p-galleria-thumbnails-left .p-galleria-thumbnails,
126
+ .p-galleria-thumbnails-top .p-galleria-thumbnails {
127
+ @apply order-1
128
+ }
129
+
130
+ .p-galleria-thumbnails-left .p-galleria-thumbnails-content,
131
+ .p-galleria-thumbnails-right .p-galleria-thumbnails-content {
132
+ @apply flex-col flex-grow
133
+ }
134
+
135
+ .p-galleria-thumbnails-left .p-galleria-thumbnail-items,
136
+ .p-galleria-thumbnails-right .p-galleria-thumbnail-items {
137
+ @apply flex-col h-full
138
+ }
139
+
140
+ .p-galleria-indicator-list {
141
+ @apply flex items-center justify-center p-4 gap-2 m-0 list-none
142
+ }
143
+
144
+ .p-galleria-indicator-button {
145
+ @apply inline-flex items-center w-4 h-4 rounded-full m-0 p-0 border-none select-none cursor-pointer transition-colors duration-200
146
+ bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600
147
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
148
+ }
149
+
150
+ .p-galleria-indicator-active .p-galleria-indicator-button {
151
+ @apply bg-primary
152
+ }
153
+
154
+ .p-galleria-indicators-left .p-galleria-items-container,
155
+ .p-galleria-indicators-right .p-galleria-items-container {
156
+ @apply flex-row items-center
157
+ }
158
+
159
+ .p-galleria-indicators-left .p-galleria-items,
160
+ .p-galleria-indicators-top .p-galleria-items {
161
+ @apply order-2
162
+ }
163
+
164
+ .p-galleria-indicators-left .p-galleria-indicator-list,
165
+ .p-galleria-indicators-top .p-galleria-indicator-list {
166
+ @apply order-1
167
+ }
168
+
169
+ .p-galleria-indicators-left .p-galleria-indicator-list,
170
+ .p-galleria-indicators-right .p-galleria-indicator-list {
171
+ @apply flex-col
172
+ }
173
+
174
+ .p-galleria-inset-indicators .p-galleria-indicator-list {
175
+ @apply absolute flex z-10 bg-black/50
176
+ }
177
+
178
+ .p-galleria-inset-indicators .p-galleria-indicator-button {
179
+ @apply bg-white/40 hover:bg-white/60
180
+ }
181
+
182
+ .p-galleria-inset-indicators .p-galleria-indicator-active .p-galleria-indicator-button {
183
+ @apply bg-white/90
184
+ }
185
+
186
+ .p-galleria-inset-indicators.p-galleria-indicators-top .p-galleria-indicator-list {
187
+ @apply top-0 left-0 w-full items-start
188
+ }
189
+
190
+ .p-galleria-inset-indicators.p-galleria-indicators-right .p-galleria-indicator-list {
191
+ @apply right-0 top-0 h-full items-end
192
+ }
193
+
194
+ .p-galleria-inset-indicators.p-galleria-indicators-bottom .p-galleria-indicator-list {
195
+ @apply bottom-0 left-0 w-full items-end
196
+ }
197
+
198
+ .p-galleria-inset-indicators.p-galleria-indicators-left .p-galleria-indicator-list {
199
+ @apply left-0 top-0 h-full items-start
200
+ }
201
+
202
+ .p-galleria-mask {
203
+ @apply fixed top-0 left-0 w-full h-full flex items-center justify-center
204
+ }
205
+
206
+ .p-galleria-close-button {
207
+ @apply absolute top-0 right-0 flex items-center justify-center overflow-hidden m-2 rounded-full
208
+ transition-colors duration-200 select-none cursor-pointer w-12 h-12 p-0 border-none
209
+ bg-white/10 text-surface-50 hover:bg-white/20 hover:text-surface-0
210
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
211
+ }
212
+
213
+ .p-galleria-close-icon {
214
+ @apply text-2xl w-6 h-6
215
+ }
216
+
217
+ .p-galleria-mask .p-galleria-nav-button {
218
+ @apply fixed top-1/2
219
+ }
220
+
221
+ .p-galleria-enter-active {
222
+ @apply transition-all duration-150 ease-[cubic-bezier(0,0,0.2,1)]
223
+ }
224
+
225
+ .p-galleria-leave-active {
226
+ @apply transition-all duration-150 ease-[cubic-bezier(0.4,0,0.2,1)]
227
+ }
228
+
229
+ .p-galleria-enter-from,
230
+ .p-galleria-leave-to {
231
+ @apply opacity-0 scale-75
232
+ }
233
+
234
+ .p-galleria-enter-active .p-galleria-nav-button {
235
+ @apply opacity-0
236
+ }
237
+
238
+ .p-items-hidden .p-galleria-thumbnail-item {
239
+ @apply invisible
240
+ }
241
+
242
+ .p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {
243
+ @apply visible
244
+ }
@@ -0,0 +1,23 @@
1
+ .p-iconfield {
2
+ @apply relative
3
+ }
4
+
5
+ .p-inputicon {
6
+ @apply absolute top-1/2 -mt-2 text-surface-400 leading-none
7
+ }
8
+
9
+ .p-iconfield .p-inputicon:first-child {
10
+ @apply start-3
11
+ }
12
+
13
+ .p-iconfield .p-inputicon:last-child {
14
+ @apply end-3
15
+ }
16
+
17
+ .p-iconfield .p-inputtext:not(:first-child) {
18
+ @apply ps-10
19
+ }
20
+
21
+ .p-iconfield .p-inputtext:not(:last-child) {
22
+ @apply pe-10
23
+ }
@@ -0,0 +1,32 @@
1
+ .p-iftalabel {
2
+ @apply block relative
3
+ }
4
+
5
+ .p-iftalabel label {
6
+ @apply absolute pointer-events-none top-2 transition-all ease-out duration-200 leading-none text-xs font-medium start-3 text-surface-500 dark:text-surface-400
7
+ }
8
+
9
+ .p-iftalabel .p-inputtext,
10
+ .p-iftalabel .p-textarea,
11
+ .p-iftalabel .p-select-label,
12
+ .p-iftalabel .p-multiselect-label,
13
+ .p-iftalabel .p-autocomplete-input-multiple,
14
+ .p-iftalabel .p-cascadeselect-label,
15
+ .p-iftalabel .p-treeselect-label {
16
+ @apply pt-6 pb-2
17
+ }
18
+
19
+ .p-iftalabel:has(.p-invalid) label {
20
+ @apply text-red-400 dark:text-red-300
21
+ }
22
+
23
+ .p-iftalabel:has(input:focus) label ,
24
+ .p-iftalabel:has(input:-webkit-autofill) label,
25
+ .p-iftalabel:has(textarea:focus) label ,
26
+ .p-iftalabel:has(.p-inputwrapper-focus) label {
27
+ @apply text-primary
28
+ }
29
+
30
+ .p-iftalabel .p-inputicon {
31
+ @apply top-6 translate-y-1/4 mt-0
32
+ }
@@ -0,0 +1,56 @@
1
+ .p-image-mask {
2
+ @apply flex items-center justify-center
3
+ }
4
+
5
+ .p-image-preview {
6
+ @apply relative inline-flex leading-none
7
+ }
8
+
9
+ .p-image-preview-mask {
10
+ @apply absolute start-0 top-0 w-full h-full flex items-center justify-center opacity-0
11
+ border-none p-0 cursor-pointer bg-transparent text-surface-200 transition-all duration-200
12
+ }
13
+
14
+ .p-image-preview:hover > .p-image-preview-mask {
15
+ @apply opacity-100 cursor-pointer bg-black/40 dark:bg-black/60
16
+ }
17
+
18
+ .p-image-preview-icon {
19
+ @apply text-2xl w-6 h-6
20
+ }
21
+
22
+ .p-image-toolbar {
23
+ @apply absolute top-4 end-4 start-auto bottom-auto flex z-10 p-2 bg-white/10 border border-white/20 rounded-3xl gap-2;
24
+ }
25
+
26
+ .p-image-action {
27
+ @apply inline-flex justify-center items-center text-surface-50 bg-transparent w-12 h-12 m-0 p-0
28
+ border-none cursor-pointer select-none rounded-full transition-colors duration-200
29
+ hover:text-surface-0 hover:bg-white/10
30
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
31
+ }
32
+
33
+ .p-image-action .p-icon {
34
+ @apply text-2xl h-6 w-6
35
+ }
36
+
37
+ .p-image-action.p-disabled {
38
+ @apply pointer-events-auto
39
+ }
40
+
41
+ .p-image-original {
42
+ @apply transition-transform duration-150 max-w-[100vw] max-h-[100vh]
43
+ }
44
+
45
+ .p-image-original-enter-active {
46
+ @apply transition-all duration-150 ease-[cubic-bezier(0,0,0.2,1)]
47
+ }
48
+
49
+ .p-image-original-leave-active {
50
+ @apply transition-all duration-150 ease-[cubic-bezier(0.4,0,0.2,1)]
51
+ }
52
+
53
+ .p-image-original-enter-from,
54
+ .p-image-original-leave-to {
55
+ @apply opacity-0 scale-75
56
+ }
@@ -0,0 +1,38 @@
1
+ .p-imagecompare {
2
+ @apply relative overflow-hidden w-full aspect-video
3
+ }
4
+
5
+ .p-imagecompare img {
6
+ @apply w-full h-full absolute
7
+ }
8
+
9
+ .p-imagecompare img + img {
10
+ @apply [clip-path:polygon(0_0,50%_0,50%_100%,0_100%)]
11
+ }
12
+
13
+ .p-imagecompare:dir(rtl) img + img {
14
+ @apply [clip-path:polygon(50%_0,100%_0,100%_100%,50%_100%)]
15
+ }
16
+
17
+ .p-imagecompare-slider {
18
+ @apply relative appearance-none w-[calc(100%+1rem)] h-full -ms-2 bg-transparent outline-none transition-all duration-200
19
+ hover:w-[calc(100%+2rem)] hover:-ms-4
20
+ }
21
+
22
+ .p-imagecompare-slider::-webkit-slider-thumb {
23
+ @apply appearance-none h-4 w-4 bg-white/30 rounded-full bg-contain cursor-ew-resize transition-all duration-200
24
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
25
+ }
26
+
27
+ .p-imagecompare-slider::-moz-range-thumb {
28
+ @apply appearance-none h-4 w-4 bg-white/30 rounded-full bg-contain cursor-ew-resize transition-all duration-200
29
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
30
+ }
31
+
32
+ .p-imagecompare-slider:hover::-webkit-slider-thumb {
33
+ @apply bg-white/40 h-8 w-8
34
+ }
35
+
36
+ .p-imagecompare-slider:hover::-moz-range-thumb {
37
+ @apply bg-white/40 h-8 w-8
38
+ }
@@ -0,0 +1,13 @@
1
+ .p-inplace-display {
2
+ @apply inline cursor-pointer border border-transparent px-3 py-2 rounded-md
3
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
4
+ transition-colors duration-200
5
+ }
6
+
7
+ .p-inplace-display:not(.p-disabled):hover {
8
+ @apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
9
+ }
10
+
11
+ .p-inplace-content {
12
+ @apply block
13
+ }
@@ -0,0 +1,67 @@
1
+ .p-inputgroup,
2
+ .p-inputgroup .p-floatlabel,
3
+ .p-inputgroup .p-iftalabel {
4
+ @apply flex items-stretch w-full
5
+ }
6
+
7
+ .p-inputgroup .p-inputtext,
8
+ .p-inputgroup .p-inputwrapper {
9
+ @apply flex-auto w-[1%]
10
+ }
11
+
12
+ .p-inputgroupaddon {
13
+ @apply flex items-center justify-center p-2 min-w-10
14
+ border-y border-surface-300 dark:border-surface-700
15
+ bg-surface-0 dark:bg-surface-950 text-surface-400
16
+ }
17
+
18
+ .p-inputgroupaddon:first-child,
19
+ .p-inputgroupaddon + .p-inputgroupaddon {
20
+ @apply border-s
21
+ }
22
+
23
+ .p-inputgroupaddon:last-child {
24
+ @apply border-e
25
+ }
26
+
27
+ .p-inputgroup > .p-component,
28
+ .p-inputgroup > .p-inputwrapper > .p-component,
29
+ .p-inputgroup > .p-floatlabel > .p-component,
30
+ .p-inputgroup > .p-floatlabel > .p-inputwrapper > .p-component,
31
+ .p-inputgroup > .p-iftalabel > .p-component,
32
+ .p-inputgroup > .p-iftalabel > .p-inputwrapper > .p-component {
33
+ @apply rounded-none m-0
34
+ }
35
+
36
+ .p-inputgroupaddon:first-child,
37
+ .p-inputgroup > .p-component:first-child,
38
+ .p-inputgroup > .p-inputwrapper:first-child > .p-component,
39
+ .p-inputgroup > .p-floatlabel:first-child > .p-component,
40
+ .p-inputgroup > .p-floatlabel:first-child > .p-inputwrapper > .p-component,
41
+ .p-inputgroup > .p-iftalabel:first-child > .p-component,
42
+ .p-inputgroup > .p-iftalabel:first-child > .p-inputwrapper > .p-component {
43
+ @apply rounded-s-md
44
+ }
45
+
46
+ .p-inputgroupaddon:last-child,
47
+ .p-inputgroup > .p-component:last-child,
48
+ .p-inputgroup > .p-inputwrapper:last-child > .p-component,
49
+ .p-inputgroup > .p-floatlabel:last-child > .p-component,
50
+ .p-inputgroup > .p-floatlabel:last-child > .p-inputwrapper > .p-component,
51
+ .p-inputgroup > .p-iftalabel:last-child > .p-component,
52
+ .p-inputgroup > .p-iftalabel:last-child > .p-inputwrapper > .p-component {
53
+ @apply rounded-e-md
54
+ }
55
+
56
+ .p-inputgroup .p-component:focus,
57
+ .p-inputgroup .p-component.p-focus,
58
+ .p-inputgroup .p-inputwrapper-focus,
59
+ .p-inputgroup .p-component:focus ~ label,
60
+ .p-inputgroup .p-component.p-focus ~ label,
61
+ .p-inputgroup .p-inputwrapper-focus ~ label {
62
+ @apply z-10
63
+ }
64
+
65
+ .p-inputgroup > .p-button:not(.p-button-icon-only) {
66
+ @apply w-auto
67
+ }
@@ -0,0 +1,84 @@
1
+ @import './inputtext';
2
+
3
+ .p-inputnumber {
4
+ @apply inline-flex relative
5
+ }
6
+
7
+ .p-inputnumber-button {
8
+ @apply flex items-center justify-center flex-grow-0 flex-shrink-0 basis-auto cursor-pointer w-10
9
+ bg-transparent enabled:hover:bg-surface-100 enabled:active:bg-surface-200
10
+ border border-surface-300 enabled:hover:border-surface-300 enabled:active:border-surface-300
11
+ text-surface-400 enabled:hover:text-surface-500 enabled:active:text-surface-600
12
+ dark:bg-transparent dark:enabled:hover:bg-surface-800 dark:enabled:active:bg-surface-700
13
+ dark:border-surface-700 dark:enabled:hover:border-surface-700 dark:enabled:active:border-surface-700
14
+ dark:text-surface-400 dark:enabled:hover:text-surface-300 dark:enabled:active:text-surface-200
15
+ transition-colors duration-200
16
+ }
17
+
18
+ .p-inputnumber-stacked .p-inputnumber-button {
19
+ @apply relative flex-auto border-none
20
+ }
21
+
22
+ .p-inputnumber-stacked .p-inputnumber-button-group {
23
+ @apply flex flex-col absolute top-px end-px h-[calc(100%-2px)] z-10
24
+ }
25
+
26
+ .p-inputnumber-stacked .p-inputnumber-increment-button {
27
+ @apply p-0 rounded-tr-[5px]
28
+ }
29
+
30
+ .p-inputnumber-stacked .p-inputnumber-decrement-button {
31
+ @apply p-0 rounded-br-[5px]
32
+ }
33
+
34
+ .p-inputnumber-horizontal .p-inputnumber-increment-button {
35
+ @apply order-3 rounded-e-md border-s-0
36
+ }
37
+
38
+ .p-inputnumber-horizontal .p-inputnumber-input {
39
+ @apply order-2 rounded-none
40
+ }
41
+
42
+ .p-inputnumber-horizontal .p-inputnumber-decrement-button {
43
+ @apply order-1 rounded-s-md border-r-0
44
+ }
45
+
46
+ .p-floatlabel:has(.p-inputnumber-horizontal) label {
47
+ @apply ms-10
48
+ }
49
+
50
+ .p-inputnumber-vertical {
51
+ @apply flex-col
52
+ }
53
+
54
+ .p-inputnumber-vertical .p-inputnumber-button {
55
+ @apply py-2
56
+ }
57
+
58
+ .p-inputnumber-vertical .p-inputnumber-increment-button {
59
+ @apply order-1 rounded-ss-md rounded-se-md w-full border-b-0
60
+ }
61
+
62
+ .p-inputnumber-vertical .p-inputnumber-input {
63
+ @apply order-2 rounded-none text-center
64
+ }
65
+
66
+ .p-inputnumber-vertical .p-inputnumber-decrement-button {
67
+ @apply order-3 rounded-ee-md rounded-es-md w-full border-t-0
68
+ }
69
+
70
+ .p-inputnumber-input {
71
+ @apply flex-auto
72
+ }
73
+
74
+ .p-inputnumber-fluid {
75
+ @apply w-full
76
+ }
77
+
78
+ .p-inputnumber-fluid .p-inputnumber-input {
79
+ @apply w-[1%]
80
+ }
81
+
82
+ .p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input {
83
+ @apply w-full
84
+ }
@@ -0,0 +1,9 @@
1
+ @import './inputtext';
2
+
3
+ .p-inputotp {
4
+ @apply flex items-center gap-2
5
+ }
6
+
7
+ .p-inputotp-input {
8
+ @apply text-center w-10
9
+ }
@@ -0,0 +1,38 @@
1
+ .p-inputtext {
2
+ @apply appearance-none rounded-md
3
+ border border-surface-300 dark:border-surface-700
4
+ enabled:hover:border-surface-400 dark:enabled:hover:border-surface-600
5
+ enabled:focus:border-primary dark:enabled:focus:border-primary
6
+ bg-surface-0 dark:bg-surface-800
7
+ text-surface-700 dark:text-surface-0
8
+ disabled:bg-surface-200 disabled:text-surface-500 dark:disabled:bg-surface-700 dark:disabled:text-surface-400 disabled:opacity-100
9
+ placeholder:text-surface-500 dark:placeholder:text-surface-400
10
+ px-3 py-2
11
+ transition-colors duration-200
12
+ shadow-[0_1px_2px_0_rgba(18,18,23,0.05)]
13
+ outline-none
14
+ }
15
+
16
+ .p-inputtext.p-invalid {
17
+ @apply border-red-400 dark:border-red-300
18
+ }
19
+
20
+ .p-inputtext.p-variant-filled {
21
+ @apply bg-surface-50 dark:bg-surface-800
22
+ }
23
+
24
+ .p-inputtext-sm {
25
+ @apply text-sm px-[0.625rem] py-[0.375rem]
26
+ }
27
+
28
+ .p-inputtext-xs {
29
+ @apply text-xs px-2 py-1
30
+ }
31
+
32
+ .p-inputtext-lg {
33
+ @apply text-lg px-[0.875rem] py-[0.625rem]
34
+ }
35
+
36
+ .p-inputtext-fluid {
37
+ @apply w-full
38
+ }
@@ -0,0 +1,37 @@
1
+ .p-knob-range {
2
+ @apply fill-none transition-[stroke] duration-100 ease-in
3
+ }
4
+
5
+ .p-knob-text {
6
+ @apply text-xl text-center
7
+ }
8
+
9
+ .p-knob svg {
10
+ @apply rounded-full
11
+ transition-colors duration-200
12
+ focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
13
+ }
14
+
15
+ .p-knob svg path:first-child {
16
+ @apply stroke-surface-200 dark:stroke-surface-700
17
+ }
18
+
19
+ .p-knob svg path + path {
20
+ @apply stroke-primary
21
+ }
22
+
23
+ .p-knob svg text {
24
+ @apply fill-surface-500 dark:fill-surface-400
25
+ }
26
+
27
+ .p-knob-value {
28
+ animation-name: p-knob-dash-frame;
29
+ animation-fill-mode: forwards;
30
+ fill: none;
31
+ }
32
+
33
+ @keyframes p-knob-dash-frame {
34
+ 100% {
35
+ stroke-dashoffset: 0;
36
+ }
37
+ }