monkey-style-guide-v2 0.0.126 → 0.0.127

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,14 +1,14 @@
1
1
  {
2
2
  "name": "monkey-style-guide-v2",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
4
4
  "peerDependencies": {
5
- "@angular/animations": "^20.3.14",
6
- "@angular/cdk": "^20.2.14",
7
- "@angular/common": "^20.3.14",
8
- "@angular/core": "^20.3.14",
9
- "@angular/forms": "^20.3.14",
10
- "@angular/platform-browser": "^20.3.14",
11
- "@angular/router": "^20.3.14",
5
+ "@angular/animations": "^21.0.6",
6
+ "@angular/cdk": "^21.0.5",
7
+ "@angular/common": "^21.0.6",
8
+ "@angular/core": "^21.0.6",
9
+ "@angular/forms": "^21.0.6",
10
+ "@angular/platform-browser": "^21.0.6",
11
+ "@angular/router": "^21.0.6",
12
12
  "rxjs": "~7.8.0",
13
13
  "ngx-mask": "^19.0.6",
14
14
  "libphonenumber-js": "^1.12.9"
@@ -19,13 +19,13 @@
19
19
  },
20
20
  "sideEffects": false,
21
21
  "module": "fesm2022/monkey-style-guide-v2.mjs",
22
- "typings": "index.d.ts",
22
+ "typings": "types/monkey-style-guide-v2.d.ts",
23
23
  "exports": {
24
24
  "./package.json": {
25
25
  "default": "./package.json"
26
26
  },
27
27
  ".": {
28
- "types": "./index.d.ts",
28
+ "types": "./types/monkey-style-guide-v2.d.ts",
29
29
  "default": "./fesm2022/monkey-style-guide-v2.mjs"
30
30
  }
31
31
  }
@@ -614,6 +614,12 @@ declare class MonkeyDividerComponent {
614
614
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDividerComponent, "monkey-divider", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
615
615
  }
616
616
 
617
+ /** ************************
618
+ * Copyright Monkey Exchange. All Rights Reserved
619
+ * This style guide was developed by Monkey Exchange Team
620
+ * MIT Licence
621
+ ************************* */
622
+
617
623
  type MonkeyDownloadButtonChangeEvent = {
618
624
  component: MonkeyDownloadButtonComponent;
619
625
  };
@@ -639,6 +645,12 @@ declare class MonkeyDownloadButtonComponent {
639
645
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDownloadButtonComponent, "monkey-download-button", never, { "progress": { "alias": "progress"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[first]", "*", "[last]"], true, never>;
640
646
  }
641
647
 
648
+ /** ************************
649
+ * Copyright Monkey Exchange. All Rights Reserved
650
+ * This style guide was developed by Monkey Exchange Team
651
+ * MIT Licence
652
+ ************************* */
653
+
642
654
  declare class MonkeyFilterBarComponent implements AfterContentInit, OnDestroy, OnChanges {
643
655
  protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
644
656
  showPopOver: boolean;
@@ -652,6 +664,12 @@ declare class MonkeyFilterBarComponent implements AfterContentInit, OnDestroy, O
652
664
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFilterBarComponent, "monkey-filter-bar", never, {}, {}, never, never, true, never>;
653
665
  }
654
666
 
667
+ /** ************************
668
+ * Copyright Monkey Exchange. All Rights Reserved
669
+ * This style guide was developed by Monkey Exchange Team
670
+ * MIT Licence
671
+ ************************* */
672
+
655
673
  declare class MonkeyIconComponent implements OnInit {
656
674
  set icon(val: string);
657
675
  size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
@@ -885,6 +903,12 @@ declare class MonkeyInputDateRangeComponent implements MonkeyFormFieldControl, C
885
903
  static ngAcceptInputType_required: unknown;
886
904
  }
887
905
 
906
+ /** ************************
907
+ * Copyright Monkey Exchange. All Rights Reserved
908
+ * This style guide was developed by Monkey Exchange Team
909
+ * MIT Licence
910
+ ************************* */
911
+
888
912
  interface Country {
889
913
  iso: string;
890
914
  code: string;
@@ -1072,12 +1096,6 @@ interface MonkeyModalConfirmationConfig {
1072
1096
  icon?: string;
1073
1097
  }
1074
1098
 
1075
- /** ************************
1076
- * Copyright Monkey Exchange. All Rights Reserved
1077
- * This style guide was developed by Monkey Exchange Team
1078
- * MIT Licence
1079
- ************************* */
1080
-
1081
1099
  declare class MonkeyModalRef {
1082
1100
  readonly overlayRef: OverlayRef;
1083
1101
  readonly config: MonkeyModalConfig;
@@ -1189,18 +1207,28 @@ declare class MonkeyOptionComponent {
1189
1207
  disabled: boolean;
1190
1208
  type: string;
1191
1209
  get displayContent(): string;
1192
- selected: boolean;
1210
+ selected: i0.InputSignal<boolean>;
1193
1211
  tabIndex: number;
1194
1212
  action: Function;
1213
+ isSelected: i0.Signal<boolean>;
1195
1214
  readonly id: string;
1215
+ private _selectedState;
1196
1216
  private handleAction;
1217
+ constructor();
1197
1218
  onClick(event: MouseEvent): void;
1198
1219
  handleKeyDown(event: KeyboardEvent): void;
1220
+ onSelect(select: boolean): void;
1199
1221
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyOptionComponent, never>;
1200
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyOptionComponent, "monkey-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
1222
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyOptionComponent, "monkey-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1201
1223
  static ngAcceptInputType_disabled: unknown;
1202
1224
  }
1203
1225
 
1226
+ /** ************************
1227
+ * Copyright Monkey Exchange. All Rights Reserved
1228
+ * This style guide was developed by Monkey Exchange Team
1229
+ * MIT Licence
1230
+ ************************* */
1231
+
1204
1232
  declare class MonkeyRadioButtonComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit {
1205
1233
  private changeDetectorRef;
1206
1234
  private formField;
@@ -1357,24 +1385,18 @@ declare class MonkeyStatusComponent {
1357
1385
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyStatusComponent, "monkey-status", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
1358
1386
  }
1359
1387
 
1360
- /** ************************
1361
- * Copyright Monkey Exchange. All Rights Reserved
1362
- * This style guide was developed by Monkey Exchange Team
1363
- * MIT Licence
1364
- ************************* */
1365
-
1366
1388
  declare class MonkeyStepComponent implements AfterContentInit {
1367
1389
  protected id: string;
1368
1390
  subSteps: QueryList<MonkeyStepComponent>;
1369
1391
  label: string;
1370
1392
  step: string;
1371
1393
  icon: string;
1372
- number?: number;
1373
- hasSubSteps: boolean;
1374
- isSubStep: boolean;
1375
- isCurrent: boolean;
1376
- isComplete: boolean;
1377
- isActive: boolean;
1394
+ number: i0.WritableSignal<number | undefined>;
1395
+ hasSubSteps: i0.WritableSignal<boolean>;
1396
+ isSubStep: i0.WritableSignal<boolean>;
1397
+ isCurrent: i0.WritableSignal<boolean>;
1398
+ isComplete: i0.WritableSignal<boolean>;
1399
+ isActive: i0.WritableSignal<boolean>;
1378
1400
  ngAfterContentInit(): void;
1379
1401
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyStepComponent, never>;
1380
1402
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyStepComponent, "monkey-step", never, { "label": { "alias": "label"; "required": false; }; "step": { "alias": "step"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, ["subSteps"], ["*"], false, never>;
@@ -1407,6 +1429,12 @@ declare class MonkeyStepperModule {
1407
1429
  static ɵinj: i0.ɵɵInjectorDeclaration<MonkeyStepperModule>;
1408
1430
  }
1409
1431
 
1432
+ /** ************************
1433
+ * Copyright Monkey Exchange. All Rights Reserved
1434
+ * This style guide was developed by Monkey Exchange Team
1435
+ * MIT Licence
1436
+ ************************* */
1437
+
1410
1438
  declare class MonkeyPaginationActionComponent {
1411
1439
  disabled: boolean;
1412
1440
  first: boolean;
@@ -1433,6 +1461,12 @@ declare class MonkeyPaginationLabelComponent {
1433
1461
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyPaginationLabelComponent, "monkey-pagination-label", ["monkeyPaginationLabel"], { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
1434
1462
  }
1435
1463
 
1464
+ /** ************************
1465
+ * Copyright Monkey Exchange. All Rights Reserved
1466
+ * This style guide was developed by Monkey Exchange Team
1467
+ * MIT Licence
1468
+ ************************* */
1469
+
1436
1470
  declare class MonkeyPaginationSizeComponent {
1437
1471
  size: 10 | 20 | 50 | 100;
1438
1472
  disabled: boolean;
@@ -1545,7 +1579,7 @@ declare class MonkeyColumnSortable implements OnInit, OnDestroy {
1545
1579
  name: string;
1546
1580
  private _sortableDirection;
1547
1581
  private subscriptions;
1548
- disabled: boolean;
1582
+ get disabled(): boolean;
1549
1583
  constructor(el: ElementRef, renderer: Renderer2, table: MonkeyTableComponent);
1550
1584
  private createSvgElement;
1551
1585
  ngOnInit(): void;
@@ -1601,7 +1635,7 @@ declare class MonkeyTabComponent {
1601
1635
  isSelected: boolean;
1602
1636
  handleClick(): void;
1603
1637
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyTabComponent, never>;
1604
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyTabComponent, "monkey-tab", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], false, never>;
1638
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyTabComponent, "monkey-tab", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; }, { "onClick": "onClick"; }, never, ["*"], false, never>;
1605
1639
  static ngAcceptInputType_disabled: unknown;
1606
1640
  }
1607
1641
 
@@ -1669,7 +1703,6 @@ declare class MonkeyToastComponent {
1669
1703
  get id(): string;
1670
1704
  set id(value: string);
1671
1705
  get class(): string;
1672
- animationState: string;
1673
1706
  constructor(host: ElementRef<HTMLElement>);
1674
1707
  close(): void;
1675
1708
  onAnimationEnd(event: AnimationEvent): void;
@@ -1707,9 +1740,15 @@ declare class MonkeyToggleLineButtonComponent {
1707
1740
  checked: boolean | undefined;
1708
1741
  name: string | undefined;
1709
1742
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyToggleLineButtonComponent, never>;
1710
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyToggleLineButtonComponent, "monkey-toggle-line-button", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
1743
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyToggleLineButtonComponent, "monkey-toggle-line-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
1711
1744
  }
1712
1745
 
1746
+ /** ************************
1747
+ * Copyright Monkey Exchange. All Rights Reserved
1748
+ * This style guide was developed by Monkey Exchange Team
1749
+ * MIT Licence
1750
+ ************************* */
1751
+
1713
1752
  declare class MonkeyToggleLineComponent implements AfterContentInit, OnDestroy, OnChanges {
1714
1753
  value: boolean | undefined;
1715
1754
  name: string;
Binary file