@policystudio/policy-studio-ui-vue 1.1.62 → 1.1.63

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.
@@ -1931,9 +1931,7 @@ video {
1931
1931
  }
1932
1932
 
1933
1933
  .psui-el-table-results-wrapper.table-flexible {
1934
- padding-left: 1rem;
1935
1934
  padding-right: 1rem;
1936
- padding-top: 0.5rem;
1937
1935
  padding-bottom: 0.5rem;
1938
1936
  border-width: 1px;
1939
1937
  --border-opacity: 1;
@@ -2376,6 +2374,9 @@ video {
2376
2374
  .psui-el-table-results.layout-flexible thead {
2377
2375
  background-color: #ffffff ;
2378
2376
  align-items: flex-start;
2377
+ box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08);
2378
+ position: sticky;
2379
+ top: 0;
2379
2380
  z-index: 15;
2380
2381
  }
2381
2382
 
@@ -2395,9 +2396,6 @@ video {
2395
2396
  line-height: 130%;
2396
2397
  font-weight: 700;
2397
2398
  line-height: 1rem;
2398
- --text-opacity: 1;
2399
- color: #28323B;
2400
- color: rgba(40, 50, 59, var(--text-opacity));
2401
2399
  }
2402
2400
 
2403
2401
  .psui-el-table-results.layout-flexible thead tr th {
@@ -2420,7 +2418,13 @@ video {
2420
2418
  }
2421
2419
 
2422
2420
  .psui-el-table-results.layout-flexible thead tr th:first-child {
2423
- padding-left: 0;
2421
+ padding-left: 1rem;
2422
+ padding-right: 2rem;
2423
+ text-align: left;
2424
+ background-color: #ffffff ;
2425
+ position: sticky;
2426
+ z-index: 10;
2427
+ left: 0;
2424
2428
  }
2425
2429
 
2426
2430
  .psui-el-table-results.layout-flexible thead tr th:first-child > div {
@@ -2451,6 +2455,18 @@ video {
2451
2455
  line-height: 18px;
2452
2456
  }
2453
2457
 
2458
+ .psui-el-table-results.layout-flexible thead tr:not(:first-of-type) th .title {
2459
+ --text-opacity: 1;
2460
+ color: #28323B;
2461
+ color: rgba(40, 50, 59, var(--text-opacity));
2462
+ }
2463
+
2464
+ .psui-el-table-results.layout-flexible thead tr:not(:first-of-type) th p:not(:first-of-type) {
2465
+ --text-opacity: 1;
2466
+ color: #798490;
2467
+ color: rgba(121, 132, 144, var(--text-opacity));
2468
+ }
2469
+
2454
2470
  .psui-el-table-results.layout-flexible thead tr:not(:first-of-type) th:first-child {
2455
2471
  text-align: left;
2456
2472
  min-width: 388px;
@@ -2505,10 +2521,13 @@ video {
2505
2521
  }
2506
2522
 
2507
2523
  .psui-el-table-results.layout-flexible tbody tr td:first-child {
2508
- padding-left: 0;
2524
+ padding-left: 0.5rem;
2509
2525
  padding-right: 2rem;
2510
2526
  text-align: left;
2511
2527
  display: block;
2528
+ position: sticky;
2529
+ z-index: 10;
2530
+ left: 0;
2512
2531
  padding-top: 8px;
2513
2532
  padding-bottom: 8px;
2514
2533
  }
@@ -2547,7 +2566,7 @@ video {
2547
2566
  }
2548
2567
 
2549
2568
  .psui-el-table-results.layout-flexible tbody tr:not(.is-first) td:first-child {
2550
- position: relative;
2569
+ position: sticky;
2551
2570
  }
2552
2571
 
2553
2572
  .psui-el-table-results.layout-flexible tbody tr:not(.is-first) td:first-child:before,
@@ -2560,7 +2579,7 @@ video {
2560
2579
  .psui-el-table-results.layout-flexible tbody tr:not(.is-first) td:first-child:before {
2561
2580
  background-color: #ffffff ;
2562
2581
  left: 0;
2563
- width: 22px;
2582
+ width: 20px;
2564
2583
  height: calc(100% + 1px);
2565
2584
  }
2566
2585
 
@@ -2570,7 +2589,7 @@ video {
2570
2589
  background-color: rgba(230, 236, 242, var(--bg-opacity));
2571
2590
  width: 1px;
2572
2591
  height: 0;
2573
- left: 11px;
2592
+ left: 19.5px;
2574
2593
  }
2575
2594
 
2576
2595
  .psui-el-table-results.layout-flexible tbody tr:not(.is-first):hover td {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.62",
3
+ "version": "1.1.63",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -3,7 +3,7 @@
3
3
  @apply psui-w-full psui-whitespace-no-wrap psui-flex psui-overflow-auto;
4
4
 
5
5
  &.table-flexible {
6
- @apply psui-px-4 psui-py-2 psui-border psui-border-gray-20 psui-rounded-lg;
6
+ @apply psui-pr-4 psui-pb-2 psui-border psui-border-gray-20 psui-rounded-lg;
7
7
  }
8
8
  }
9
9
 
@@ -348,7 +348,7 @@
348
348
  }
349
349
 
350
350
  thead {
351
- @apply psui-bg-white psui-items-start psui-z-15;
351
+ @apply psui-bg-white psui-items-start psui-shadow-elevation-10 psui-sticky psui-top-0 psui-z-15;
352
352
 
353
353
  &:after {
354
354
  content: '';
@@ -358,7 +358,7 @@
358
358
 
359
359
  tr {
360
360
  .title {
361
- @apply psui-text-small psui-font-bold psui-leading-4 psui-text-gray-80;
361
+ @apply psui-text-small psui-font-bold psui-leading-4;
362
362
  }
363
363
 
364
364
  th {
@@ -372,7 +372,7 @@
372
372
  }
373
373
 
374
374
  &:first-child {
375
- padding-left: 0;
375
+ @apply psui-pl-4 psui-pr-8 psui-text-left psui-bg-white psui-sticky psui-z-10 psui-left-0;
376
376
 
377
377
  > div {
378
378
  @apply psui-items-start;
@@ -404,6 +404,14 @@
404
404
 
405
405
  &:not(:first-of-type) {
406
406
  th {
407
+ .title {
408
+ @apply psui-text-gray-80;
409
+ }
410
+
411
+ p:not(:first-of-type) {
412
+ @apply psui-text-gray-50;
413
+ }
414
+
407
415
  &:first-child {
408
416
  @apply psui-text-left;
409
417
  min-width: 388px;
@@ -445,7 +453,7 @@
445
453
  }
446
454
 
447
455
  &:first-child {
448
- @apply psui-pl-0 psui-pr-8 psui-text-left psui-block;
456
+ @apply psui-pl-2 psui-pr-8 psui-text-left psui-block psui-sticky psui-z-10 psui-left-0;
449
457
  padding-top: 8px;
450
458
  padding-bottom: 8px;
451
459
  }
@@ -480,7 +488,7 @@
480
488
  &:not(.is-first) {
481
489
  td {
482
490
  &:first-child {
483
- @apply psui-relative;
491
+ @apply psui-sticky;
484
492
 
485
493
  &:before,
486
494
  &:after {
@@ -490,13 +498,13 @@
490
498
 
491
499
  &:before {
492
500
  @apply psui-bg-white psui-left-0;
493
- width: 22px;
501
+ width: 20px;
494
502
  height: calc(100% + 1px);
495
503
  }
496
504
 
497
505
  &:after {
498
506
  @apply psui-bg-gray-20 psui-w-px psui-h-0;
499
- left: 11px;
507
+ left: 19.5px;
500
508
  }
501
509
  }
502
510
  }