@posiwise/core-styles 1.0.17 → 1.0.18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/core-styles",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -548,6 +548,46 @@
548
548
  }
549
549
  }
550
550
 
551
+ // Touch fallback (AI52) — devices with no hover capability never fire
552
+ // tr:hover, so the collapsed/floating action strip above stays invisible
553
+ // and Edit/Delete become unreachable. On no-hover pointers, un-collapse
554
+ // the Action column and render the icon strip INLINE (static, always
555
+ // visible) so the actions are tappable. The strip is no longer a floating
556
+ // overlay here, so it doesn't cover row content. The table already scrolls
557
+ // horizontally below 1200px (admin-list-view.md T-7), so the reserved
558
+ // column width simply joins that scroll. Codified 2026-05-21.
559
+ @media (hover: none) {
560
+ .primeng-datatable-container {
561
+ th[class*='actions-list-'],
562
+ td[data-head='Action'],
563
+ td[data-head='Action'][data-head],
564
+ th[class*='actions-list-'][class*='actions-list-'] {
565
+ width: auto !important;
566
+ min-width: auto !important;
567
+ max-width: none !important;
568
+ padding: 6px 10px !important;
569
+ border-width: 1px !important;
570
+ }
571
+
572
+ td[data-head='Action'] ul {
573
+ position: static;
574
+ opacity: 1;
575
+ transform: none;
576
+ background: transparent;
577
+ box-shadow: none;
578
+ border-radius: 0;
579
+ padding: 0 !important;
580
+ // keep icons on one line; the table scroller handles overflow
581
+ flex-wrap: nowrap;
582
+ white-space: nowrap;
583
+ // the ul stretches full-width in the stacked cell, so right-pack
584
+ // its icons to line up with the value column (the data-head
585
+ // label sits left).
586
+ justify-content: flex-end;
587
+ }
588
+ }
589
+ }
590
+
551
591
  // Active-sort column background: PrimeNG's preset uses its own
552
592
  // hardcoded primary; bind it to --first so the sorted column tracks
553
593
  // the tenant accent (consistent with .p-datatable-thead default bg).
@@ -750,6 +790,14 @@
750
790
 
751
791
  > div {
752
792
  flex: 1 1 auto;
793
+ // Zero the intrinsic Bootstrap .col gutter padding (~5px) that
794
+ // surfaces only in the stacked mobile layout. The dropdowns sit
795
+ // in `.col-*` (padded) while the search box sits in a bare
796
+ // `.text-end` (no padding), so without this they render at
797
+ // different widths and misalign. Edge-align all three at full
798
+ // width instead.
799
+ padding-left: 0;
800
+ padding-right: 0;
753
801
  }
754
802
  }
755
803
  }
@@ -34,10 +34,6 @@
34
34
  .primeng-datatable-container {
35
35
  padding: 0 !important;
36
36
 
37
- .fa-search {
38
- display: none;
39
- }
40
-
41
37
  .col-4,
42
38
  .col-8 {
43
39
  display: block;