@atelier-ui/angular 0.4.5 → 0.4.7

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.
@@ -1484,6 +1484,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
1484
1484
  }, styles: [".atl-toggle,.atl-toggle *{box-sizing:border-box}.atl-toggle{display:block;font-family:var(--ui-font-family);font-size:var(--ui-font-size-md);line-height:var(--ui-line-height-tight)}.atl-toggle>label{display:inline-flex;align-items:center;gap:var(--ui-spacing-3);cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--ui-color-text);min-height:var(--ui-row-height-sm);padding-block:0;line-height:var(--ui-line-height-tight)}.atl-toggle>label>input[type=checkbox]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.atl-toggle>label>.track{position:relative;display:inline-flex;align-items:center;flex-shrink:0;width:2.75rem;height:1.5rem;border-radius:var(--ui-radius-full);border:var(--ui-border-width) solid var(--ui-color-border-strong);background-color:var(--ui-color-input-bg);transition:background-color var(--ui-transition-fast),border-color var(--ui-transition-fast),box-shadow var(--ui-transition-fast);cursor:pointer}.atl-toggle>label>.track>.thumb{position:absolute;left:.125rem;width:1.125rem;height:1.125rem;border-radius:var(--ui-radius-full);background-color:var(--ui-color-border-strong);box-shadow:var(--ui-shadow-xs);transition:transform var(--ui-transition-normal) var(--ui-ease-out),background-color var(--ui-transition-fast)}.atl-toggle>label:hover:not(:has(>input:disabled))>.track{border-color:var(--ui-color-primary)}.atl-toggle>label>input[type=checkbox]:focus-visible+.track{box-shadow:var(--ui-focus-ring);border-color:var(--ui-color-primary)}.atl-toggle.is-checked>label>.track{background-color:var(--ui-color-primary);border-color:var(--ui-color-primary)}.atl-toggle.is-checked>label>.track>.thumb{transform:translate(1.25rem);background-color:var(--ui-color-text-on-primary)}.atl-toggle.is-invalid>label>.track{border-color:var(--ui-color-input-border-invalid)}.atl-toggle.is-invalid>label>input[type=checkbox]:focus-visible+.track{border-color:var(--ui-color-input-border-invalid);box-shadow:var(--ui-focus-ring-danger)}.atl-toggle.is-disabled{opacity:var(--ui-opacity-disabled);cursor:not-allowed}.atl-toggle.is-disabled>label{cursor:not-allowed}.atl-toggle.is-disabled>label>.track{cursor:not-allowed}.atl-toggle>.errors{margin-top:var(--ui-spacing-2)}.atl-toggle>.errors>.error-message{margin:0;font-size:var(--ui-font-size-sm);color:var(--ui-color-error-text);line-height:var(--ui-line-height-normal)}\n"] }]
1485
1485
  }], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }, { type: i0.Output, args: ["touchedChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
1486
1486
 
1487
+ // Which AtlIcon each variant carries. Names, not glyphs: a glyph in a string map
1488
+ // was the fifth way this library drew an icon, and the one check:icon-duplication
1489
+ // missed (ADR-0050).
1490
+ const VARIANT_ICON_NAMES = {
1491
+ info: 'info',
1492
+ success: 'success',
1493
+ warning: 'warning',
1494
+ danger: 'danger',
1495
+ };
1487
1496
  /**
1488
1497
  * Inline notification banner with semantic color variants and optional dismiss button.
1489
1498
  *
@@ -1495,15 +1504,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
1495
1504
  * </atl-alert>
1496
1505
  * ```
1497
1506
  */
1498
- // Which AtlIcon each variant carries. Names, not glyphs: a glyph in a string map
1499
- // was the fifth way this library drew an icon, and the one check:icon-duplication
1500
- // missed (ADR-0050).
1501
- const VARIANT_ICON_NAMES = {
1502
- info: 'info',
1503
- success: 'success',
1504
- warning: 'warning',
1505
- danger: 'danger',
1506
- };
1507
1507
  class AtlAlert {
1508
1508
  /** Semantic color variant of the alert. */
1509
1509
  variant = input('info', /* @ts-ignore */