@ajuarezso/sui-design-system 0.1.0 → 0.2.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ajuarezso/sui-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "SUI Design System — librería de componentes Angular (SUI 2.0).",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -904,7 +904,7 @@ declare class SuiAlert {
904
904
  * `small` (12/16) en los compactos (small/xsmall). Mapea el tipo del action al
905
905
  * tamaño del alert.
906
906
  */
907
- readonly actionLinkSize: _angular_core.Signal<"medium" | "small">;
907
+ readonly actionLinkSize: _angular_core.Signal<"small" | "medium">;
908
908
  /**
909
909
  * Tamaño del `sui-compact-button` del cierre, mapeado del size del alert para
910
910
  * conservar el footprint del icono: xsmall (icon 16) → compact `medium`;
@@ -1640,7 +1640,7 @@ type SuiButtonSize = '2xsmall' | 'xsmall' | 'small' | 'medium';
1640
1640
  *
1641
1641
  * Color mappings (semantic → project token):
1642
1642
  * - primary → brand accent (orange: --sui-primary-* = #fa7319). NOTA: el Figma
1643
- * SUI base resuelve primary a #335cff (azul), pero este proyecto lo
1643
+ * base resuelve primary a #335cff (azul), pero este proyecto lo
1644
1644
  * sobreescribe a naranja en sui-tokens.scss — decisión de marca (ver CLAUDE.md).
1645
1645
  * - neutral → faded (gray: --sui-state-faded-* / bg-strong-950)
1646
1646
  * - error → error (red: --sui-state-error-*)
@@ -1898,7 +1898,7 @@ declare class SuiCheckboxCard implements ControlValueAccessor {
1898
1898
  /** RemixIcon name (sin prefijo "ri-") para type='left-icon'. */
1899
1899
  readonly icon: _angular_core.InputSignal<string | null>;
1900
1900
  /** Emoji del catálogo SUI_EMOJI_MAP — alternativa a icon para type='left-icon'. */
1901
- readonly emoji: _angular_core.InputSignal<"warning" | "label" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
1901
+ readonly emoji: _angular_core.InputSignal<"label" | "warning" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
1902
1902
  /** URL directa al emoji para type='left-icon'. Precedencia: icon > emoji > iconSrc. */
1903
1903
  readonly iconSrc: _angular_core.InputSignal<string | null>;
1904
1904
  /** URL de imagen para type='avatar'. Si falla, fallback a iniciales del label. */
@@ -4446,7 +4446,7 @@ type SuiEmojiName = keyof typeof SUI_EMOJI_MAP;
4446
4446
  type SuiEmojiSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
4447
4447
  declare class SuiEmoji {
4448
4448
  /** Nombre del emoji del catálogo. Si se proveé `src`, este se ignora. */
4449
- readonly name: _angular_core.InputSignal<"warning" | "label" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
4449
+ readonly name: _angular_core.InputSignal<"label" | "warning" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
4450
4450
  /** URL directa al emoji (override del catálogo). Útil para usar emojis fuera del map. */
4451
4451
  readonly src: _angular_core.InputSignal<string | null>;
4452
4452
  /** Tamaño del emoji. */
@@ -4927,7 +4927,7 @@ declare class SuiFileUpload {
4927
4927
  protected readonly inputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
4928
4928
  protected readonly dragging: _angular_core.WritableSignal<boolean>;
4929
4929
  protected readonly internalError: _angular_core.WritableSignal<string | null>;
4930
- protected readonly state: _angular_core.Signal<"default" | "error" | "disabled" | "dragover">;
4930
+ protected readonly state: _angular_core.Signal<"error" | "default" | "disabled" | "dragover">;
4931
4931
  protected readonly resolvedTitle: _angular_core.Signal<string>;
4932
4932
  protected readonly resolvedSubtitle: _angular_core.Signal<string>;
4933
4933
  protected readonly resolvedErrorMessage: _angular_core.Signal<string | null>;
@@ -5155,7 +5155,7 @@ declare class SuiFilterPanelFooter {
5155
5155
  readonly clearDisabled: _angular_core.InputSignal<boolean>;
5156
5156
  readonly applyDisabled: _angular_core.InputSignal<boolean>;
5157
5157
  /** Tamaño de los botones. Default 'small' (Figma: p-8px/radius-8 = size small). */
5158
- readonly size: _angular_core.InputSignal<"medium" | "small">;
5158
+ readonly size: _angular_core.InputSignal<"small" | "medium">;
5159
5159
  readonly clear: _angular_core.OutputEmitterRef<void>;
5160
5160
  readonly apply: _angular_core.OutputEmitterRef<void>;
5161
5161
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SuiFilterPanelFooter, never>;
@@ -6979,7 +6979,7 @@ declare class SuiNotification {
6979
6979
  readonly dismissible: _angular_core.InputSignal<boolean>;
6980
6980
  readonly unread: _angular_core.InputSignal<boolean>;
6981
6981
  /** Item body type. 'basic' keeps the legacy/alert layout (no body slot). */
6982
- readonly type: _angular_core.InputSignal<"file" | "button" | "basic" | "message">;
6982
+ readonly type: _angular_core.InputSignal<"button" | "file" | "basic" | "message">;
6983
6983
  /** When true, item paints the Figma hover bg + reveals the more-2-line button. */
6984
6984
  readonly showMore: _angular_core.InputSignal<boolean>;
6985
6985
  /** Forces the hover affordance visible (e.g. keyboard-focused row). */
@@ -7650,7 +7650,7 @@ declare class SuiRadioCard implements ControlValueAccessor {
7650
7650
  * Emoji del catálogo SUI_EMOJI_MAP — alternativa a icon para type='left-icon'.
7651
7651
  * Si ambos están, icon tiene precedencia.
7652
7652
  */
7653
- readonly emoji: _angular_core.InputSignal<"warning" | "label" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
7653
+ readonly emoji: _angular_core.InputSignal<"label" | "warning" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
7654
7654
  /**
7655
7655
  * URL directa al emoji para type='left-icon'. Útil cuando el consumer ya tiene
7656
7656
  * la URL (ej. FLUENT_EMOJI map del proyecto) y no quiere registrar el emoji
@@ -8456,9 +8456,9 @@ declare class SuiSlider implements ControlValueAccessor {
8456
8456
  private readonly _cvaValue;
8457
8457
  private readonly _useCvaValue;
8458
8458
  /** Handle siendo arrastrado: null | 'single' | 'min' | 'max'. */
8459
- readonly dragging: _angular_core.WritableSignal<"single" | "min" | "max" | null>;
8459
+ readonly dragging: _angular_core.WritableSignal<"min" | "max" | "single" | null>;
8460
8460
  /** Handle bajo hover (para tooltip): igual dominio que dragging. */
8461
- readonly hovering: _angular_core.WritableSignal<"single" | "min" | "max" | null>;
8461
+ readonly hovering: _angular_core.WritableSignal<"min" | "max" | "single" | null>;
8462
8462
  private clamp;
8463
8463
  readonly effectiveValue: _angular_core.Signal<number>;
8464
8464
  readonly effectiveMin: _angular_core.Signal<number>;
@@ -8981,7 +8981,7 @@ declare class SuiSwitchCard implements ControlValueAccessor {
8981
8981
  * `<sui-icon>` proyectado vía `[sui-switch-card-leading]` y se renderiza
8982
8982
  * con las MISMAS dimensiones (20×20 dentro del círculo de 40px).
8983
8983
  */
8984
- readonly emoji: _angular_core.InputSignal<"warning" | "label" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
8984
+ readonly emoji: _angular_core.InputSignal<"label" | "warning" | "thinking-face" | "grinning-face" | "smiling-face-hearts" | "face-with-rolling-eyes" | "face-screaming" | "partying-face" | "star-struck" | "sleeping-face" | "pensive-face" | "confused-face" | "neutral-face" | "slightly-smiling-face" | "grinning-face-smiling-eyes" | "package" | "receipt" | "money-bag" | "money-with-wings" | "shopping-cart" | "shopping-bags" | "card-index-dividers" | "bell" | "bell-with-slash" | "pushpin" | "mobile-phone" | "gear" | "locked" | "unlocked" | "wrench" | "hammer" | "magnifying-glass-tilted-left" | "spiral-calendar" | "bar-chart" | "delivery-truck" | "motorcycle" | "rocket" | "house" | "office-building" | "shop" | "dollar-banknote" | "glowing-star" | "kick-scooter" | "check-mark" | "check-mark-button" | "cross-mark" | "no-entry" | "sparkles" | "party-popper" | "waving-hand" | "thumbs-up" | "clapping-hands" | "handshake" | "busts-in-silhouette" | "pizza" | "hamburger" | "taco" | "birthday-cake" | null>;
8985
8985
  /**
8986
8986
  * URL de imagen para type='avatar' — se renderiza con sui-avatar size=lg
8987
8987
  * (40×40 redonda). Si la imagen falla, fallback automático a iniciales del
@@ -10292,7 +10292,7 @@ declare class SuiTimePicker implements ControlValueAccessor {
10292
10292
  readonly error: _angular_core.InputSignal<boolean>;
10293
10293
  readonly placeholder: _angular_core.InputSignal<string>;
10294
10294
  readonly disabled: _angular_core.InputSignal<boolean>;
10295
- readonly size: _angular_core.InputSignal<"medium" | "small">;
10295
+ readonly size: _angular_core.InputSignal<"small" | "medium">;
10296
10296
  /** Formato de display: '12h' (AM/PM) o '24h'. */
10297
10297
  readonly format: _angular_core.InputSignal<SuiTimeFormat>;
10298
10298
  /** Incremento de minutos de la lista (1, 5, 15, ...). Default 5. */