monkey-style-guide 21.0.9 → 21.0.10

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.
@@ -10095,7 +10095,7 @@ class MonkeyPassNumberComponent {
10095
10095
  }
10096
10096
  }
10097
10097
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: MonkeyPassNumberComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10098
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: MonkeyPassNumberComponent, isStandalone: true, selector: "monkey-pass-number", inputs: { id: "id" }, outputs: { onChange: "onChange" }, host: { attributes: { "data-testid": "monkey-pass-number" }, properties: { "attr.id": "id", "id": "id" } }, ngImport: i0, template: `
10098
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: MonkeyPassNumberComponent, isStandalone: true, selector: "monkey-pass-number", inputs: { disabled: "disabled", id: "id" }, outputs: { onChange: "onChange" }, host: { attributes: { "data-testid": "monkey-pass-number" }, properties: { "attr.id": "id", "id": "id" } }, ngImport: i0, template: `
10099
10099
  <div class="pin-selected">
10100
10100
  @for (input of [0, 1, 2, 3]; track input) {
10101
10101
  <div class="pin-input">
@@ -10108,17 +10108,27 @@ class MonkeyPassNumberComponent {
10108
10108
  <monkey-button
10109
10109
  size="lg"
10110
10110
  (click)="onPress(pin)"
10111
- [disabled]="isDisabledNumbers"
10111
+ [disabled]="isDisabledNumbers || disabled"
10112
10112
  color="black"
10113
10113
  >
10114
10114
  {{ pin }}
10115
10115
  </monkey-button>
10116
10116
  }
10117
10117
  <div></div>
10118
- <monkey-button size="lg" (click)="onPress(0)" [disabled]="isDisabledNumbers" color="black">
10118
+ <monkey-button
10119
+ size="lg"
10120
+ (click)="onPress(0)"
10121
+ [disabled]="isDisabledNumbers || disabled"
10122
+ color="black"
10123
+ >
10119
10124
  0
10120
10125
  </monkey-button>
10121
- <monkey-button size="lg" type="secondary" (click)="clear()" [disabled]="isDisabledClear">
10126
+ <monkey-button
10127
+ size="lg"
10128
+ type="secondary"
10129
+ (click)="clear()"
10130
+ [disabled]="isDisabledClear || disabled"
10131
+ >
10122
10132
  <i class="mk-i mk-i-delete"></i>
10123
10133
  </monkey-button>
10124
10134
  </div>
@@ -10139,17 +10149,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
10139
10149
  <monkey-button
10140
10150
  size="lg"
10141
10151
  (click)="onPress(pin)"
10142
- [disabled]="isDisabledNumbers"
10152
+ [disabled]="isDisabledNumbers || disabled"
10143
10153
  color="black"
10144
10154
  >
10145
10155
  {{ pin }}
10146
10156
  </monkey-button>
10147
10157
  }
10148
10158
  <div></div>
10149
- <monkey-button size="lg" (click)="onPress(0)" [disabled]="isDisabledNumbers" color="black">
10159
+ <monkey-button
10160
+ size="lg"
10161
+ (click)="onPress(0)"
10162
+ [disabled]="isDisabledNumbers || disabled"
10163
+ color="black"
10164
+ >
10150
10165
  0
10151
10166
  </monkey-button>
10152
- <monkey-button size="lg" type="secondary" (click)="clear()" [disabled]="isDisabledClear">
10167
+ <monkey-button
10168
+ size="lg"
10169
+ type="secondary"
10170
+ (click)="clear()"
10171
+ [disabled]="isDisabledClear || disabled"
10172
+ >
10153
10173
  <i class="mk-i mk-i-delete"></i>
10154
10174
  </monkey-button>
10155
10175
  </div>
@@ -10158,7 +10178,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
10158
10178
  '[attr.id]': 'id',
10159
10179
  '[id]': 'id'
10160
10180
  }, styles: [":host{display:flex;width:100%;max-width:350px;flex-direction:column;gap:1rem}:host .pin-selected{display:flex;align-items:center;justify-content:center;gap:8px}:host .pin-selected .pin-input{width:32px;height:32px;border:2px solid var(--mecx-color-gray-400);box-sizing:border-box;border-radius:4px;background-color:var(--mecx-color-white);display:flex;justify-content:center;align-items:center;line-height:24px;font-weight:600;font-size:14px;position:relative}:host .pin-selected .pin-input.filled:before{content:\"\";border-radius:50%;width:8px;height:8px;background-color:var(--mecx-color-gray-900);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}:host .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}\n"] }]
10161
- }], ctorParameters: () => [], propDecorators: { onChange: [{ type: i0.Output, args: ["onChange"] }], id: [{
10181
+ }], ctorParameters: () => [], propDecorators: { disabled: [{
10182
+ type: Input
10183
+ }], onChange: [{ type: i0.Output, args: ["onChange"] }], id: [{
10162
10184
  type: Input
10163
10185
  }] } });
10164
10186