@radioactive-labs/plutonium 0.4.6 → 0.4.9
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.
- package/package.json +1 -1
- package/src/css/flatpickr.css +797 -0
- package/src/css/plutonium.css +1 -0
- package/src/css/slim_select.css +37 -0
- package/src/dist/css/plutonium.css +2 -2
- package/src/dist/js/plutonium.js +162 -14
- package/src/dist/js/plutonium.js.map +3 -3
- package/src/dist/js/plutonium.min.js +32 -32
- package/src/dist/js/plutonium.min.js.map +3 -3
- package/src/js/controllers/attachment_input_controller.js +2 -1
- package/src/js/controllers/flatpickr_controller.js +25 -14
- package/src/js/controllers/remote_modal_controller.js +24 -17
- package/src/js/controllers/slim_select_controller.js +201 -8
package/src/css/plutonium.css
CHANGED
package/src/css/slim_select.css
CHANGED
|
@@ -309,3 +309,40 @@
|
|
|
309
309
|
.ss-main.ss-valid .ss-values .ss-placeholder {
|
|
310
310
|
@apply text-green-700 dark:text-green-500;
|
|
311
311
|
}
|
|
312
|
+
|
|
313
|
+
/* Modal-specific styles for SlimSelect dropdown */
|
|
314
|
+
.ss-dropdown-container {
|
|
315
|
+
position: absolute;
|
|
316
|
+
z-index: 9999;
|
|
317
|
+
inset: 40% 0px auto;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.ss-dropdown-container .ss-content {
|
|
321
|
+
position: static !important;
|
|
322
|
+
transform: none !important;
|
|
323
|
+
width: 100% !important;
|
|
324
|
+
border-radius: 0 !important;
|
|
325
|
+
margin: 0 !important;
|
|
326
|
+
pointer-events: none !important; /* Disabled by default */
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* When active (dropdown is expanded), enable pointer events */
|
|
330
|
+
.ss-dropdown-container.ss-active .ss-content {
|
|
331
|
+
pointer-events: auto !important;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.ss-dropdown-container .ss-list {
|
|
335
|
+
max-height: 250px !important;
|
|
336
|
+
overflow-y: auto !important;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* Ensure the dropdown doesn't block other elements when closed */
|
|
340
|
+
.ss-dropdown-container:not(:has(.ss-content)),
|
|
341
|
+
.ss-dropdown-container:not(.ss-active) {
|
|
342
|
+
pointer-events: none !important;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Prevent interaction with closed dropdown */
|
|
346
|
+
.ss-dropdown-container:not(.ss-active) * {
|
|
347
|
+
pointer-events: none !important;
|
|
348
|
+
}
|