@ship-ui/core 0.13.26 → 0.13.28

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/index.d.ts CHANGED
@@ -487,7 +487,7 @@ declare class ShipSelectComponent {
487
487
  getValue(option: unknown): unknown;
488
488
  getLabel(option: unknown): unknown;
489
489
  getLabelAsSlug(option: unknown): string;
490
- toggleOptionByIndex(optionIndex: number, event?: MouseEvent): void;
490
+ toggleOptionByIndex(optionIndex: number, event?: MouseEvent, enterKey?: boolean): void;
491
491
  removeSelectedOptionByIndex($event: MouseEvent, optionRemoveIndex: number): void;
492
492
  isSelected(optionIndex: number): boolean;
493
493
  open(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.13.26",
4
+ "version": "0.13.28",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=19",
7
7
  "@angular/core": ">=19"
@@ -54,7 +54,8 @@ $shipButtonShadow: false !default;
54
54
  transition: rotate 125ms ease-in-out;
55
55
  }
56
56
 
57
- &:has(sh-icon:only-child) {
57
+ &:has(sh-icon:only-child),
58
+ &:has(sh-icon:first-child + sh-icon:last-child) {
58
59
  padding: p2r(0 9);
59
60
  }
60
61
 
@@ -99,6 +100,11 @@ $shipButtonShadow: false !default;
99
100
  sh-icon {
100
101
  font-size: p2r(16);
101
102
  }
103
+
104
+ &:has(sh-icon:only-child),
105
+ &:has(sh-icon:first-child + sh-icon:last-child) {
106
+ padding: p2r(0 7);
107
+ }
102
108
  }
103
109
 
104
110
  &[disabled] {