@iota-uz/sdk 0.4.36 → 0.4.38

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/tailwind/iota.css CHANGED
@@ -628,8 +628,48 @@
628
628
  --display: block;
629
629
  }
630
630
 
631
+ /*
632
+ * Loading state (stale-while-revalidate): while an HTMX row/content swap is
633
+ * in flight, dim the previous rows in place and show a centered spinner via
634
+ * .table-loading-overlay, instead of hiding the rows and blanking the table
635
+ * body. Custom class names are used deliberately: `.hidden` collides with
636
+ * Tailwind's utility (which lives in @layer utilities and wins on layer
637
+ * order regardless of specificity), so a `.htmx-request .hidden` reveal can
638
+ * never take effect — see the dead rules below.
639
+ */
631
640
  .htmx-request .hide-on-load {
641
+ opacity: 0.5;
642
+ pointer-events: none;
643
+ transition: opacity 0.15s ease;
644
+ }
645
+
646
+ /* Fully self-contained styling (no utility classes) so the overlay renders
647
+ correctly regardless of which template roots a consumer's Tailwind build
648
+ scans for class generation. */
649
+ .table-loading-overlay {
632
650
  display: none;
651
+ position: absolute;
652
+ inset: 0;
653
+ z-index: 20;
654
+ align-items: center;
655
+ justify-content: center;
656
+ pointer-events: none;
657
+ }
658
+
659
+ .htmx-request .table-loading-overlay {
660
+ display: flex;
661
+ }
662
+
663
+ .table-loading-overlay__card {
664
+ display: flex;
665
+ align-items: center;
666
+ justify-content: center;
667
+ padding: 0.875rem;
668
+ border-radius: 9999px;
669
+ background-color: #fff;
670
+ box-shadow:
671
+ 0 6px 18px rgba(2, 6, 23, 0.14),
672
+ 0 1px 3px rgba(2, 6, 23, 0.1);
633
673
  }
634
674
 
635
675
  .htmx-request.hide-on-load {