@eui/ecl 19.3.1-snapshot-1750681705601 → 19.3.1-snapshot-1750754090216

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.
@@ -2,9 +2,28 @@ import { QueryList } from '@angular/core';
2
2
  import { ECLBaseDirective } from '@eui/ecl/core';
3
3
  import { EclRangeDirective } from '@eui/ecl/components/ecl-range';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * The EclFormGroupComponent is a wrapper component used to group form fields together
7
+ * This component automatically detects if any `EclRangeDirective` inputs are nested inside it,
8
+ * and applies the appropriate styling attributes if so.
9
+ */
5
10
  export declare class EclFormGroupComponent extends ECLBaseDirective {
11
+ /**
12
+ * Query list of any descendant `EclRangeDirective` instances within the form group.
13
+ * Used internally to determine whether the form group contains range inputs.
14
+ */
6
15
  eclRange: QueryList<EclRangeDirective>;
16
+ /**
17
+ * Applies the base ECL CSS class for a form group to the host element.
18
+ * Inherited utility method from `ECLBaseDirective` is used to support modifier classes.
19
+ */
7
20
  get cssClasses(): string;
21
+ /**
22
+ * Adds a data attribute to the host element when at least one `EclRangeDirective`
23
+ * is found within the form group. This allows conditional styling via CSS.
24
+ *
25
+ * @returns `true` if at least one EclRangeDirective is found; otherwise `null`
26
+ */
8
27
  get hasEclRange(): boolean | null;
9
28
  static ɵfac: i0.ɵɵFactoryDeclaration<EclFormGroupComponent, never>;
10
29
  static ɵcmp: i0.ɵɵComponentDeclaration<EclFormGroupComponent, "[eclFormGroup], ecl-form-group", never, {}, {}, ["eclRange"], ["*"], false, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"ecl-form-group.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-form-group/ecl-form-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,SAAS,EAAc,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAKa,qBAAsB,SAAQ,gBAAgB;IAGvD,QAAQ,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACvC,IACI,UAAU,IAAI,MAAM,CAEvB;IAED,IACI,WAAW,IAAI,OAAO,GAAG,IAAI,CAEhC;yCAZQ,qBAAqB;2CAArB,qBAAqB;CAajC"}
1
+ {"version":3,"file":"ecl-form-group.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-form-group/ecl-form-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,SAAS,EAAc,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE;;;;GAIG;AACH,qBAKa,qBAAsB,SAAQ,gBAAgB;IAEvD;;;OAGG;IAEH,QAAQ,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAEvC;;;OAGG;IACH,IACI,UAAU,IAAI,MAAM,CAEvB;IAED;;;;;OAKG;IACH,IACI,WAAW,IAAI,OAAO,GAAG,IAAI,CAEhC;yCA3BQ,qBAAqB;2CAArB,qBAAqB;CA4BjC"}
@@ -1,5 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * The `ECLFormLabelOptionalDirective` adds the `ecl-form-label__optional` CSS class
4
+ * to an element to indicate that a form field is optional.
5
+ */
2
6
  export declare class ECLFormLabelOptionalDirective {
7
+ /**
8
+ * Adds the ECL optional label class to the host element.
9
+ */
3
10
  hasClass: boolean;
4
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ECLFormLabelOptionalDirective, never>;
5
12
  static ɵdir: i0.ɵɵDirectiveDeclaration<ECLFormLabelOptionalDirective, "[eclFormLabelOptional]", never, {}, {}, never, never, false, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"ecl-form-label-optional.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-form-label/ecl-form-label-optional.directive.ts"],"names":[],"mappings":";AAEA,qBAIa,6BAA6B;IAES,QAAQ,UAAQ;yCAFtD,6BAA6B;2CAA7B,6BAA6B;CAGzC"}
1
+ {"version":3,"file":"ecl-form-label-optional.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-form-label/ecl-form-label-optional.directive.ts"],"names":[],"mappings":";AAEA;;;GAGG;AACH,qBAIa,6BAA6B;IAEtC;;OAEG;IAC4C,QAAQ,UAAQ;yCALtD,6BAA6B;2CAA7B,6BAA6B;CAMzC"}
@@ -1,8 +1,29 @@
1
1
  import { ECLBaseDirective } from '@eui/ecl/core';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * The `EclFormLabelComponent` is used to render a form label with optional or required state.
5
+ *
6
+ * It supports ECL design system styling and applies relevant classes or attributes
7
+ * based on the input flags.
8
+ */
3
9
  export declare class EclFormLabelComponent extends ECLBaseDirective {
10
+ /**
11
+ * Marks the form label as optional.
12
+ * When `true`, the label can display additional styling or indicators for optional fields.
13
+ *
14
+ * Defaults to `false`.
15
+ */
4
16
  isOptional: boolean;
17
+ /**
18
+ * Marks the form label as required.
19
+ * When `true`, the label can display styling or indicators for required fields.
20
+ *
21
+ * Defaults to `false`.
22
+ */
5
23
  isRequired: boolean;
24
+ /**
25
+ * Applies the base ECL class for form labels to the host element.
26
+ */
6
27
  hasClass: boolean;
7
28
  static ɵfac: i0.ɵɵFactoryDeclaration<EclFormLabelComponent, never>;
8
29
  static ɵcmp: i0.ɵɵComponentDeclaration<EclFormLabelComponent, "[eclFormLabel]", never, { "isOptional": { "alias": "isOptional"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; }, {}, never, ["*"], false, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"ecl-form-label.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-form-label/ecl-form-label.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAOa,qBAAsB,SAAQ,gBAAgB;IAEf,UAAU,UAAS;IACnB,UAAU,UAAS;IAEtB,QAAQ,UAAQ;yCAL5C,qBAAqB;2CAArB,qBAAqB;yCAO8khd,OAAQ;yCAAR,OAAQ;CADvnhd"}
1
+ {"version":3,"file":"ecl-form-label.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-form-label/ecl-form-label.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD;;;;;GAKG;AACH,qBAOa,qBAAsB,SAAQ,gBAAgB;IAEvD;;;;;OAKG;IACqC,UAAU,UAAS;IAE3D;;;;;OAKG;IACqC,UAAU,UAAS;IAE3D;;OAEG;IACkC,QAAQ,UAAQ;yCArB5C,qBAAqB;2CAArB,qBAAqB;yCAuB26/c,OAAQ;yCAAR,OAAQ;CADp9/c"}
@@ -109,6 +109,15 @@
109
109
  </p>
110
110
 
111
111
 
112
+ <p class="comment">
113
+ <h3>Description</h3>
114
+ </p>
115
+ <p class="comment">
116
+ <p>The EclFormGroupComponent is a wrapper component used to group form fields together
117
+ This component automatically detects if any <code>EclRangeDirective</code> inputs are nested inside it,
118
+ and applies the appropriate styling attributes if so.</p>
119
+
120
+ </p>
112
121
 
113
122
  <p class="comment">
114
123
  <h3>Extends</h3>
@@ -330,6 +339,13 @@
330
339
  </td>
331
340
  </tr>
332
341
 
342
+ <tr>
343
+ <td class="col-md-4">
344
+ <div class="io-description"><p>Adds a data attribute to the host element when at least one <code>EclRangeDirective</code>
345
+ is found within the form group. This allows conditional styling via CSS.</p>
346
+ </div>
347
+ </td>
348
+ </tr>
333
349
 
334
350
  </tbody>
335
351
  </table>
@@ -351,6 +367,13 @@
351
367
  </td>
352
368
  </tr>
353
369
 
370
+ <tr>
371
+ <td class="col-md-4">
372
+ <div class="io-description"><p>Applies the base ECL CSS class for a form group to the host element.
373
+ Inherited utility method from <code>ECLBaseDirective</code> is used to support modifier classes.</p>
374
+ </div>
375
+ </td>
376
+ </tr>
354
377
 
355
378
  </tbody>
356
379
  </table>
@@ -457,6 +480,13 @@
457
480
  </td>
458
481
  </tr>
459
482
 
483
+ <tr>
484
+ <td class="col-md-4">
485
+ <div class="io-description"><p>Query list of any descendant <code>EclRangeDirective</code> instances within the form group.
486
+ Used internally to determine whether the form group contains range inputs.</p>
487
+ </div>
488
+ </td>
489
+ </tr>
460
490
 
461
491
  </tbody>
462
492
  </table>
@@ -480,6 +510,18 @@
480
510
  <span class="accessor"><b>get</b><code>cssClasses()</code></span>
481
511
  </td>
482
512
  </tr>
513
+ <tr>
514
+ <td class="col-md-4">
515
+ <div class="io-description"><p>Applies the base ECL CSS class for a form group to the host element.
516
+ Inherited utility method from <code>ECLBaseDirective</code> is used to support modifier classes.</p>
517
+ </div>
518
+
519
+ <div class="io-description">
520
+ <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
521
+
522
+ </div>
523
+ </td>
524
+ </tr>
483
525
 
484
526
  </tbody>
485
527
  </table>
@@ -497,6 +539,20 @@
497
539
  <span class="accessor"><b>get</b><code>hasEclRange()</code></span>
498
540
  </td>
499
541
  </tr>
542
+ <tr>
543
+ <td class="col-md-4">
544
+ <div class="io-description"><p>Adds a data attribute to the host element when at least one <code>EclRangeDirective</code>
545
+ is found within the form group. This allows conditional styling via CSS.</p>
546
+ </div>
547
+
548
+ <div>
549
+ </div>
550
+ <div class="io-description">
551
+ <b>Returns : </b> <code>boolean | null</code>
552
+
553
+ </div>
554
+ </td>
555
+ </tr>
500
556
 
501
557
  </tbody>
502
558
  </table>
@@ -109,6 +109,15 @@
109
109
  </p>
110
110
 
111
111
 
112
+ <p class="comment">
113
+ <h3>Description</h3>
114
+ </p>
115
+ <p class="comment">
116
+ <p>The <code>EclFormLabelComponent</code> is used to render a form label with optional or required state.</p>
117
+ <p>It supports ECL design system styling and applies relevant classes or attributes
118
+ based on the input flags.</p>
119
+
120
+ </p>
112
121
 
113
122
  <p class="comment">
114
123
  <h3>Extends</h3>
@@ -270,6 +279,14 @@
270
279
  <i>Default value : </i><code>false</code>
271
280
  </td>
272
281
  </tr>
282
+ <tr>
283
+ <td class="col-md-4">
284
+ <div class="io-description"><p>Marks the form label as optional.
285
+ When <code>true</code>, the label can display additional styling or indicators for optional fields.</p>
286
+ <p>Defaults to <code>false</code>.</p>
287
+ </div>
288
+ </td>
289
+ </tr>
273
290
  </tbody>
274
291
  </table>
275
292
  <table class="table table-sm table-bordered">
@@ -291,6 +308,14 @@
291
308
  <i>Default value : </i><code>false</code>
292
309
  </td>
293
310
  </tr>
311
+ <tr>
312
+ <td class="col-md-4">
313
+ <div class="io-description"><p>Marks the form label as required.
314
+ When <code>true</code>, the label can display styling or indicators for required fields.</p>
315
+ <p>Defaults to <code>false</code>.</p>
316
+ </div>
317
+ </td>
318
+ </tr>
294
319
  </tbody>
295
320
  </table>
296
321
  <table class="table table-sm table-bordered">
@@ -367,6 +392,12 @@
367
392
  </td>
368
393
  </tr>
369
394
 
395
+ <tr>
396
+ <td class="col-md-4">
397
+ <div class="io-description"><p>Applies the base ECL class for form labels to the host element.</p>
398
+ </div>
399
+ </td>
400
+ </tr>
370
401
 
371
402
  </tbody>
372
403
  </table>
@@ -472,6 +503,12 @@
472
503
  </td>
473
504
  </tr>
474
505
 
506
+ <tr>
507
+ <td class="col-md-4">
508
+ <div class="io-description"><p>Applies the base ECL class for form labels to the host element.</p>
509
+ </div>
510
+ </td>
511
+ </tr>
475
512
 
476
513
  </tbody>
477
514
  </table>
@@ -268,9 +268,9 @@
268
268
  <li>
269
269
  <b>@stackblitz/sdk</b> : 1.11.0</li>
270
270
  <li>
271
- <b>@eui/styles</b> : 19.3.1-snapshot-1749804823673</li>
271
+ <b>@eui/styles</b> : 19.3.1-snapshot-1750681705601</li>
272
272
  <li>
273
- <b>@eui/ecl</b> : 19.3.1-snapshot-1749804823673</li>
273
+ <b>@eui/ecl</b> : 19.3.1-snapshot-1750681705601</li>
274
274
  <li>
275
275
  <b>@eui/tools</b> : ^6.0.0</li>
276
276
  </ul>
@@ -113,6 +113,14 @@
113
113
  </p>
114
114
 
115
115
 
116
+ <p class="comment">
117
+ <h3>Description</h3>
118
+ </p>
119
+ <p class="comment">
120
+ <p>The <code>ECLFormLabelOptionalDirective</code> adds the <code>ecl-form-label__optional</code> CSS class
121
+ to an element to indicate that a form field is optional.</p>
122
+
123
+ </p>
116
124
 
117
125
 
118
126
 
@@ -204,6 +212,12 @@
204
212
  </td>
205
213
  </tr>
206
214
 
215
+ <tr>
216
+ <td class="col-md-4">
217
+ <div class="io-description"><p>Adds the ECL optional label class to the host element.</p>
218
+ </div>
219
+ </td>
220
+ </tr>
207
221
 
208
222
  </tbody>
209
223
  </table>
@@ -243,6 +257,12 @@
243
257
  </td>
244
258
  </tr>
245
259
 
260
+ <tr>
261
+ <td class="col-md-4">
262
+ <div class="io-description"><p>Adds the ECL optional label class to the host element.</p>
263
+ </div>
264
+ </td>
265
+ </tr>
246
266
 
247
267
  </tbody>
248
268
  </table>