@ship-ui/core 0.13.20 → 0.13.21

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.13.20",
4
+ "version": "0.13.21",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=19",
7
7
  "@angular/core": ">=19"
@@ -64,4 +64,14 @@ $shipPopover: true !default;
64
64
  }
65
65
  }
66
66
  }
67
+
68
+ .full-popover sh-popover .popover,
69
+ sh-popover.full .popover {
70
+ width: auto;
71
+
72
+ @supports (anchor-name: --anchor) {
73
+ left: anchor(left);
74
+ right: anchor(right);
75
+ }
76
+ }
67
77
  }
@@ -5,6 +5,8 @@ $shipSelect: false !default;
5
5
  @if $shipSelect == true {
6
6
  sh-select {
7
7
  --miw: #{p2r(210)};
8
+ --select-option-mih: min-content;
9
+ --select-options-mh: #{p2r(180)};
8
10
 
9
11
  display: flex;
10
12
 
@@ -85,7 +87,7 @@ $shipSelect: false !default;
85
87
  padding: p2r(8 0);
86
88
  display: flex;
87
89
  flex-direction: column;
88
- max-height: p2r(180);
90
+ max-height: var(--select-options-mh);
89
91
  overflow-y: auto;
90
92
  overflow-x: hidden;
91
93
 
@@ -101,7 +103,7 @@ $shipSelect: false !default;
101
103
  display: flex;
102
104
  justify-content: flex-start;
103
105
  align-items: center;
104
- min-height: p2r(32);
106
+ min-height: var(--select-option-mih);
105
107
  margin: p2r(0 8);
106
108
  padding: p2r(0 8);
107
109
  gap: p2r(8);