@keenmate/pure-admin-theme-express 1.3.0 → 1.4.0

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 (2) hide show
  1. package/dist/express.css +140 -2
  2. package/package.json +10 -1
package/dist/express.css CHANGED
@@ -2906,6 +2906,7 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
2906
2906
  display: flex;
2907
2907
  justify-content: space-between;
2908
2908
  align-items: center;
2909
+ gap: 1.6rem;
2909
2910
  min-width: 0;
2910
2911
  }
2911
2912
 
@@ -2937,9 +2938,45 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
2937
2938
  font-size: 1.6rem;
2938
2939
  }
2939
2940
 
2941
+ .pa-card__header > h1,
2942
+ .pa-card__header > h2,
2943
+ .pa-card__header > h3,
2944
+ .pa-card__header > h4,
2945
+ .pa-card__header > h5,
2946
+ .pa-card__header > h6 {
2947
+ flex-shrink: 0;
2948
+ }
2949
+
2950
+ .pa-card__header > p {
2951
+ flex: 1;
2952
+ min-width: 0;
2953
+ overflow: hidden;
2954
+ text-overflow: ellipsis;
2955
+ white-space: nowrap;
2956
+ color: var(--pa-text-color-2);
2957
+ font-size: 1.4rem;
2958
+ }
2959
+
2960
+ .pa-card__header .pa-card__actions,
2961
+ .pa-card__header .pa-btn-group {
2962
+ flex-shrink: 0;
2963
+ }
2964
+
2940
2965
  .pa-card__header .pa-btn {
2941
2966
  margin-top: -0.25rem;
2942
2967
  margin-bottom: -0.25rem;
2968
+ flex-shrink: 0;
2969
+ }
2970
+
2971
+ .pa-card__header--wrap {
2972
+ flex-wrap: wrap;
2973
+ }
2974
+
2975
+ .pa-card__header--wrap > p {
2976
+ white-space: normal;
2977
+ flex-basis: 100%;
2978
+ order: 1;
2979
+ margin-top: 0.4rem;
2943
2980
  }
2944
2981
 
2945
2982
  .pa-card__title {
@@ -8938,6 +8975,11 @@ web-multiselect {
8938
8975
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
8939
8976
  }
8940
8977
 
8978
+ .pa-table-card:has(.pa-detail-view) .pa-table-card__body {
8979
+ position: relative;
8980
+ overflow: hidden;
8981
+ }
8982
+
8941
8983
  .pa-table-card__header {
8942
8984
  padding: 0.5rem 1rem;
8943
8985
  min-height: 4rem;
@@ -9019,6 +9061,33 @@ web-multiselect {
9019
9061
  border-bottom: none;
9020
9062
  }
9021
9063
 
9064
+ .pa-table-card__body .pa-detail-view {
9065
+ height: 100%;
9066
+ }
9067
+
9068
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table {
9069
+ border-radius: 0;
9070
+ }
9071
+
9072
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table th:first-child,
9073
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table td:first-child {
9074
+ padding-inline-start: 1rem;
9075
+ }
9076
+
9077
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table th:last-child,
9078
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table td:last-child {
9079
+ padding-inline-end: 1rem;
9080
+ }
9081
+
9082
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table tbody tr:last-child td {
9083
+ border-bottom: none;
9084
+ }
9085
+
9086
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main web-grid {
9087
+ --wg-cell-padding-left: 1rem;
9088
+ --wg-cell-padding-right: 1rem;
9089
+ }
9090
+
9022
9091
  .pa-table-card__footer {
9023
9092
  padding: 1.2rem 1rem;
9024
9093
  border-top: 1px solid var(--pa-border-color);
@@ -9217,6 +9286,11 @@ web-multiselect {
9217
9286
  padding-inline: 0;
9218
9287
  }
9219
9288
 
9289
+ .pa-table-card--plain .pa-table-card__body:has(.pa-detail-view--overlay) {
9290
+ position: relative;
9291
+ overflow: hidden;
9292
+ }
9293
+
9220
9294
  .pa-table-card--plain .pa-table-card__footer {
9221
9295
  background: transparent;
9222
9296
  border-top: none;
@@ -12653,14 +12727,18 @@ code {
12653
12727
  top: 0;
12654
12728
  inset-inline-end: 0;
12655
12729
  height: 100%;
12656
- z-index: 2;
12730
+ z-index: 3501;
12731
+ }
12732
+
12733
+ .pa-detail-view--overlay .pa-detail-view__panel--open {
12734
+ max-width: 100%;
12657
12735
  }
12658
12736
 
12659
12737
  .pa-detail-view__overlay {
12660
12738
  position: absolute;
12661
12739
  inset: 0;
12662
12740
  background-color: var(--pa-detail-panel-overlay-bg);
12663
- z-index: 1;
12741
+ z-index: 3500;
12664
12742
  opacity: 0;
12665
12743
  visibility: hidden;
12666
12744
  cursor: pointer;
@@ -13530,6 +13608,62 @@ html.font-size-xlarge {
13530
13608
  max-height: 50rem;
13531
13609
  }
13532
13610
 
13611
+ .h-full {
13612
+ height: 100%;
13613
+ }
13614
+
13615
+ .h-screen {
13616
+ height: 100vh;
13617
+ }
13618
+
13619
+ .min-h-full {
13620
+ min-height: 100%;
13621
+ }
13622
+
13623
+ .min-h-screen {
13624
+ min-height: 100vh;
13625
+ }
13626
+
13627
+ .max-h-full {
13628
+ max-height: 100%;
13629
+ }
13630
+
13631
+ .max-h-screen {
13632
+ max-height: 100vh;
13633
+ }
13634
+
13635
+ .flex-1 {
13636
+ flex: 1 1 0%;
13637
+ }
13638
+
13639
+ .flex-auto {
13640
+ flex: 1 1 auto;
13641
+ }
13642
+
13643
+ .flex-initial {
13644
+ flex: 0 1 auto;
13645
+ }
13646
+
13647
+ .flex-none {
13648
+ flex: none;
13649
+ }
13650
+
13651
+ .flex-grow {
13652
+ flex-grow: 1;
13653
+ }
13654
+
13655
+ .flex-grow-0 {
13656
+ flex-grow: 0;
13657
+ }
13658
+
13659
+ .flex-shrink {
13660
+ flex-shrink: 1;
13661
+ }
13662
+
13663
+ .flex-shrink-0 {
13664
+ flex-shrink: 0;
13665
+ }
13666
+
13533
13667
  .overflow-auto {
13534
13668
  overflow: auto;
13535
13669
  }
@@ -13565,6 +13699,10 @@ html.font-size-xlarge {
13565
13699
  overflow-x: overlay;
13566
13700
  }
13567
13701
 
13702
+ .pa-scroll-lock {
13703
+ overflow: hidden !important;
13704
+ }
13705
+
13568
13706
  .cursor-pointer {
13569
13707
  cursor: pointer;
13570
13708
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keenmate/pure-admin-theme-express",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Express theme for Pure Admin",
5
5
  "style": "dist/express.css",
6
6
  "exports": {
@@ -23,6 +23,15 @@
23
23
  ],
24
24
  "author": "KeenMate",
25
25
  "license": "MIT",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/KeenMate/pure-admin.git",
29
+ "directory": "packages/theme-express"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/KeenMate/pure-admin/issues"
33
+ },
34
+ "homepage": "https://github.com/KeenMate/pure-admin#readme",
26
35
  "peerDependencies": {
27
36
  "@keenmate/pure-admin-core": "^1.0.0"
28
37
  },