@ship-ui/core 0.15.28 → 0.15.30

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
@@ -199,6 +199,7 @@ declare class ShipBlueprintComponent implements AfterViewInit, OnDestroy {
199
199
  onEscape(event: KeyboardEvent): void;
200
200
  onMouseMove(event: MouseEvent): void;
201
201
  onTouchMove(event: TouchEvent): void;
202
+ onDocumentTouchEnd(event: TouchEvent): void;
202
203
  startNodeDrag(event: MouseEvent | TouchEvent, nodeId: string): void;
203
204
  endNodeDrag(): void;
204
205
  nodeDrag(event: MouseEvent | Touch): void;
@@ -831,6 +832,15 @@ declare class ShipFileDragDropDirective {
831
832
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ShipFileDragDropDirective, "[shDragDrop]", never, {}, { "filesDropped": "filesDropped"; }, never, never, true, never>;
832
833
  }
833
834
 
835
+ type MaskingFunction = (cleanValue: string) => string | null;
836
+ declare class ShipInputMaskDirective {
837
+ #private;
838
+ shInputMask: _angular_core.InputSignal<string | MaskingFunction>;
839
+ onInput(event: InputEvent): void;
840
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipInputMaskDirective, never>;
841
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ShipInputMaskDirective, "[shInputMask]", never, { "shInputMask": { "alias": "shInputMask"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
842
+ }
843
+
834
844
  declare class ShipPreventWheelDirective {
835
845
  wheel(event: WheelEvent): void;
836
846
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipPreventWheelDirective, never>;
@@ -878,5 +888,5 @@ interface ShipConfig {
878
888
  sidenavType?: 'overlay' | 'simple';
879
889
  }
880
890
 
881
- export { GridSortableDirective, SHIP_CONFIG, ShipAlertComponent, ShipAlertContainerComponent, ShipAlertModule, ShipAlertService, ShipBlueprintComponent, ShipButtonComponent, ShipButtonGroupComponent, ShipCardComponent, ShipCheckboxComponent, ShipChipComponent, ShipColorPickerComponent, ShipDatepickerComponent, ShipDatepickerInputComponent, ShipDaterangeInputComponent, ShipDialogComponent, ShipDialogService, ShipDividerComponent, ShipEventCardComponent, ShipFileDragDropDirective, ShipFileUploadComponent, ShipFormFieldComponent, ShipIconComponent, ShipListComponent, ShipMenuComponent, ShipPopoverComponent, ShipPreventWheelDirective, ShipProgressBarComponent, ShipRadioComponent, ShipRangeSliderComponent, ShipResizeDirective, ShipSelectComponent, ShipSidenavComponent, ShipSortDirective, ShipSortableComponent, ShipSortableDirective, ShipSpinnerComponent, ShipStepperComponent, ShipStickyColumnsDirective, ShipTableComponent, ShipTabsComponent, ShipToggleCardComponent, ShipToggleComponent, ShipTooltipComponent, ShipTooltipDirective, ShipTooltipWrapper, ShipVirtualScrollComponent, TEST_NODES, moveIndex, watchHostClass };
891
+ export { GridSortableDirective, SHIP_CONFIG, ShipAlertComponent, ShipAlertContainerComponent, ShipAlertModule, ShipAlertService, ShipBlueprintComponent, ShipButtonComponent, ShipButtonGroupComponent, ShipCardComponent, ShipCheckboxComponent, ShipChipComponent, ShipColorPickerComponent, ShipDatepickerComponent, ShipDatepickerInputComponent, ShipDaterangeInputComponent, ShipDialogComponent, ShipDialogService, ShipDividerComponent, ShipEventCardComponent, ShipFileDragDropDirective, ShipFileUploadComponent, ShipFormFieldComponent, ShipIconComponent, ShipInputMaskDirective, ShipListComponent, ShipMenuComponent, ShipPopoverComponent, ShipPreventWheelDirective, ShipProgressBarComponent, ShipRadioComponent, ShipRangeSliderComponent, ShipResizeDirective, ShipSelectComponent, ShipSidenavComponent, ShipSortDirective, ShipSortableComponent, ShipSortableDirective, ShipSpinnerComponent, ShipStepperComponent, ShipStickyColumnsDirective, ShipTableComponent, ShipTabsComponent, ShipToggleCardComponent, ShipToggleComponent, ShipTooltipComponent, ShipTooltipDirective, ShipTooltipWrapper, ShipVirtualScrollComponent, TEST_NODES, moveIndex, watchHostClass };
882
892
  export type { AfterDropResponse, BlueprintNode, Coordinates, ShipAlertItem, ShipAlertItemInternal, ShipAlertType, ShipDialogOptions, ShipDialogReturn, ShipDialogServiceOptions, ShipPopoverOptions, ShipProgressBarMode, ShipSidenavType };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ship-ui/core",
3
3
  "license": "MIT",
4
- "version": "0.15.28",
4
+ "version": "0.15.30",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=19",
7
7
  "@angular/core": ">=19"
@@ -22,6 +22,10 @@ $shipBlueprint: true !default;
22
22
  color: var(--bp-icon-c);
23
23
  }
24
24
 
25
+ sh-card.type-c {
26
+ --card-bg: var(--base-1);
27
+ }
28
+
25
29
  .validation-errors {
26
30
  position: absolute;
27
31
  top: 50%;
@@ -15,6 +15,7 @@ $shipTabs: true !default;
15
15
  display: flex;
16
16
  gap: p2r(16);
17
17
  border-bottom: 1px solid var(--base-4);
18
+ position: relative;
18
19
 
19
20
  button,
20
21
  [tab] {