i-tech-shared-components 1.4.47 → 1.4.49

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.
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { SegmentedButtonOption } from '../../interfaces/segmented-button.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SegmentedButtonComponent {
5
+ options: SegmentedButtonOption[];
6
+ value: string;
7
+ disabled: boolean;
8
+ testId: string;
9
+ valueChange: EventEmitter<string>;
10
+ onSelect(option: SegmentedButtonOption): void;
11
+ isFirst(index: number): boolean;
12
+ isLast(index: number): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedButtonComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedButtonComponent, "i-tech-segmented-button", never, { "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,6 @@
1
+ export interface SegmentedButtonOption {
2
+ value: string;
3
+ label: string;
4
+ icon?: string;
5
+ disabled?: boolean;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i-tech-shared-components",
3
- "version": "1.4.47",
3
+ "version": "1.4.49",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^19.0.0",
6
6
  "@angular/cdk": "^19.0.0",
package/public-api.d.ts CHANGED
@@ -36,3 +36,5 @@ export * from './lib/components/ag-grid/date-range-selection/date-range-selectio
36
36
  export * from './lib/components/ag-grid/select-with-search/select-with-search.component';
37
37
  export * from './lib/interfaces/selection-filtration-configuration.interface';
38
38
  export * from './lib/interfaces/date-range-filtration.interface';
39
+ export * from './lib/interfaces/segmented-button.interface';
40
+ export * from './lib/components/segmented-button/segmented-button.component';