@ajuarezso/sui-design-system 0.15.3 → 0.15.5

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.15.3",
3
+ "version": "0.15.5",
4
4
  "description": "SUI Design System — librería de componentes Angular (SUI 2.0).",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -1587,7 +1587,7 @@ declare class SuiButtonGroupItem {
1587
1587
  /** aria-label para icon-only buttons */
1588
1588
  readonly ariaLabel: _angular_core.InputSignal<string>;
1589
1589
  /** Estado del data-attribute para CSS scoping */
1590
- readonly state: _angular_core.Signal<"disabled" | "default" | "active">;
1590
+ readonly state: _angular_core.Signal<"default" | "active" | "disabled">;
1591
1591
  /** True cuando solo tiene icon (left o right) sin label */
1592
1592
  readonly onlyIcon: _angular_core.Signal<boolean>;
1593
1593
  /**
@@ -1598,7 +1598,7 @@ declare class SuiButtonGroupItem {
1598
1598
  * - 'both' → ambos iconos: padding cuadrado (p)
1599
1599
  * - 'only' → icon-only: padding cuadrado (p) → square box
1600
1600
  */
1601
- readonly iconLayout: _angular_core.Signal<"left" | "right" | "none" | "both" | "only">;
1601
+ readonly iconLayout: _angular_core.Signal<"none" | "left" | "right" | "both" | "only">;
1602
1602
  /** Tamaño del icono en px según size del item (small/xsmall=20, 2xsmall=16) */
1603
1603
  readonly iconSize: _angular_core.Signal<number>;
1604
1604
  readonly clicked: _angular_core.OutputEmitterRef<void>;
@@ -2584,7 +2584,7 @@ declare class SuiColorDot {
2584
2584
  * - `selected` → dot 12×12 + ring 2px.
2585
2585
  * - `disabled` → dot gris pálido, sin pointer events.
2586
2586
  */
2587
- readonly state: _angular_core.InputSignal<"disabled" | "default" | "hover" | "selected">;
2587
+ readonly state: _angular_core.InputSignal<"default" | "disabled" | "hover" | "selected">;
2588
2588
  /** aria-label override. */
2589
2589
  readonly ariaLabel: _angular_core.InputSignal<string>;
2590
2590
  readonly clicked: _angular_core.OutputEmitterRef<void>;
@@ -3266,7 +3266,7 @@ declare class SuiCompactSelectForInput<T = string> implements ControlValueAccess
3266
3266
  readonly arrowIcon: _angular_core.Signal<"arrow-up-s-line" | "arrow-down-s-line">;
3267
3267
  readonly displayValue: _angular_core.Signal<string>;
3268
3268
  readonly displayFlag: _angular_core.Signal<"abkhazia" | "afghanistan" | "aland-islands" | "albania" | "algeria" | "american-samoa" | "andorra" | "angola" | "anguilla" | "antigua-and-barbuda" | "argentina" | "armenia" | "aruba" | "australia" | "austria" | "azerbaijan" | "azores-islands" | "bahamas" | "bahrain" | "balearic-islands" | "bangladesh" | "barbados" | "basque-country" | "belarus" | "belgium" | "belize" | "benin" | "bermuda" | "bhutan" | "bolivia" | "bonaire" | "bosnia-and-herzegovina" | "botswana" | "brazil" | "british-columbia" | "british-indian-ocean-territory" | "british-virgin-islands" | "brunei" | "bulgaria" | "burkina-faso" | "burundi" | "cambodia" | "cameroon" | "canada" | "canary-islands" | "cape-verde" | "cayman-islands" | "central-african-republic" | "ceuta" | "chad" | "chile" | "china" | "christmas-island" | "cocos-island" | "colombia" | "comoros" | "cook-islands" | "corsica" | "costa-rica" | "croatia" | "cuba" | "curacao" | "cyprus" | "czech-republic" | "democratic-republic-of-congo" | "denmark" | "djibouti" | "dominica" | "dominican-republic" | "east-timor" | "ecuador" | "egypt" | "el-salvador" | "england" | "equatorial-guinea" | "eritrea" | "estonia" | "ethiopia" | "european-union" | "falkland-islands" | "faroe-islands" | "fiji" | "finland" | "france" | "french-polynesia" | "gabon" | "galapagos-islands" | "gambia" | "georgia" | "germany" | "ghana" | "gibraltar" | "greece" | "greenland" | "grenada" | "guam" | "guatemala" | "guernsey" | "guinea-bissau" | "guinea" | "guyana" | "haiti" | "hawaii" | "honduras" | "hong-kong" | "hungary" | "iceland" | "india" | "indonesia" | "iran" | "iraq" | "ireland" | "isle-of-man" | "israel" | "italy" | "ivory-coast" | "jamaica" | "japan" | "jersey" | "jordan" | "kazakhstan" | "kenya" | "kiribati" | "kosovo" | "kuwait" | "kyrgyzstan" | "laos" | "latvia" | "lebanon" | "lesotho" | "liberia" | "libya" | "liechtenstein" | "lithuania" | "luxembourg" | "macao" | "madagascar" | "madeira" | "malawi" | "malaysia" | "maldives" | "mali" | "malta" | "marshall-island" | "martinique" | "mauritania" | "mauritus" | "melilla" | "mexico" | "micronesia" | "moldova" | "monaco" | "mongolia" | "montenegro" | "montserrat" | "morocco" | "mozambique" | "myanmar" | "namibia" | "nato" | "nauru" | "nepal" | "netherlands" | "new-zealand" | "nicaragua" | "niger" | "nigeria" | "niue" | "norfolk-island" | "north-korea" | "northern-cyprus" | "northern-marianas-islands" | "norway" | "oman" | "orkney-islands" | "ossetia" | "pakistan" | "palau" | "palestine" | "panama" | "papua-new-guinea" | "paraguay" | "peru" | "philippines" | "pitcairn-islands" | "poland" | "portugal" | "puerto-rico" | "qatar" | "rapa-nui" | "republic-of-macedonia" | "republic-of-the-congo" | "romania" | "russia" | "rwanda" | "saba-island" | "sahrawi-arab-democratic-republic" | "saint-kitts-and-nevis" | "samoa" | "san-marino" | "sao-tome-and-prince" | "sardinia" | "saudi-arabia" | "scotland" | "senegal" | "serbia" | "seychelles" | "sierra-leone" | "singapore" | "sint-eustatius" | "sint-maarten" | "slovakia" | "slovania" | "solomon-islands" | "somalia" | "somaliland" | "south-africa" | "south-korea" | "south-sudan" | "spain" | "sri-lanka" | "st-barts" | "st-lucia" | "st-vincent-and-the-grenadines" | "sudan" | "suriname" | "swaziland" | "sweden" | "switzerland" | "syria" | "taijikistan" | "taiwan" | "tanzania" | "thailand" | "tibet" | "togo" | "tokelau" | "tonga" | "transnistria" | "trinidad-and-tobago" | "tunisia" | "turkey" | "turkmenistan" | "turks-and-caicos" | "tuvalu" | "uganda" | "ukraine" | "united-arab-emirates" | "united-kingdom" | "united-nations" | "united-states" | "uruguay" | "uzbekistan" | "vanuatu" | "vatican-city" | "venezuela" | "vietnam" | "virgin-islands" | "wales" | "yemen" | "zambia" | "zimbabwe" | null>;
3269
- readonly flagSizePx: _angular_core.Signal<16 | 20>;
3269
+ readonly flagSizePx: _angular_core.Signal<20 | 16>;
3270
3270
  onHostClick(event: Event): void;
3271
3271
  protected onMenuOpenedChange(open: boolean): void;
3272
3272
  protected selectItem(item: SuiCompactSelectForInputItem<T>): void;
@@ -5543,7 +5543,7 @@ declare class SuiFileUpload {
5543
5543
  protected readonly inputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
5544
5544
  protected readonly dragging: _angular_core.WritableSignal<boolean>;
5545
5545
  protected readonly internalError: _angular_core.WritableSignal<string | null>;
5546
- protected readonly state: _angular_core.Signal<"error" | "disabled" | "default" | "dragover">;
5546
+ protected readonly state: _angular_core.Signal<"default" | "error" | "disabled" | "dragover">;
5547
5547
  protected readonly resolvedTitle: _angular_core.Signal<string>;
5548
5548
  protected readonly resolvedSubtitle: _angular_core.Signal<string>;
5549
5549
  protected readonly resolvedErrorMessage: _angular_core.Signal<string | null>;
@@ -6191,9 +6191,9 @@ declare class SuiImageUpload {
6191
6191
  protected readonly sizePx: _angular_core.Signal<number>;
6192
6192
  /** Camera icon px en el empty state. xl escala a 20, resto 16
6193
6193
  * (matchea el escalado del contenedor 32→40 en SCSS). */
6194
- protected readonly iconSize: _angular_core.Signal<16 | 20>;
6194
+ protected readonly iconSize: _angular_core.Signal<20 | 16>;
6195
6195
  protected readonly hasSrc: _angular_core.Signal<boolean>;
6196
- protected readonly state: _angular_core.Signal<"disabled" | "filled" | "dragover" | "empty">;
6196
+ protected readonly state: _angular_core.Signal<"filled" | "disabled" | "dragover" | "empty">;
6197
6197
  protected readonly resolvedTitle: _angular_core.Signal<string>;
6198
6198
  protected readonly resolvedSubtitle: _angular_core.Signal<string>;
6199
6199
  onHostClick(): void;
@@ -7647,7 +7647,7 @@ declare class SuiNotification {
7647
7647
  readonly dismissible: _angular_core.InputSignal<boolean>;
7648
7648
  readonly unread: _angular_core.InputSignal<boolean>;
7649
7649
  /** Item body type. 'basic' keeps the legacy/alert layout (no body slot). */
7650
- readonly type: _angular_core.InputSignal<"button" | "basic" | "file" | "message">;
7650
+ readonly type: _angular_core.InputSignal<"basic" | "file" | "button" | "message">;
7651
7651
  /** When true, item paints the Figma hover bg + reveals the more-2-line button. */
7652
7652
  readonly showMore: _angular_core.InputSignal<boolean>;
7653
7653
  /** Forces the hover affordance visible (e.g. keyboard-focused row). */
@@ -9786,6 +9786,9 @@ interface SuiStoreCardData {
9786
9786
  businessType?: string;
9787
9787
  district?: string;
9788
9788
  rating?: number | null;
9789
+ /** Cuántas calificaciones sostienen ese promedio. Sin esto, un 5,0 de una
9790
+ * sola opinión se ve igual que uno de cien. */
9791
+ reviewCount?: number | null;
9789
9792
  distanceKm?: number | null;
9790
9793
  deliveryFee?: number;
9791
9794
  deliveryType?: 'free' | 'pickup' | 'courier' | 'auto' | string;
@@ -9829,6 +9832,19 @@ declare class SuiStoreCard {
9829
9832
  }>;
9830
9833
  readonly link: _angular_core.Signal<string[] | null>;
9831
9834
  readonly initial: _angular_core.Signal<string>;
9835
+ /**
9836
+ * El puntaje con cuántas opiniones lo sostienen: «4,5 (12)».
9837
+ *
9838
+ * Sin la cuenta, un 5,0 de una sola opinión se ve igual que uno de cien, y
9839
+ * el cliente decide con el número grande creyendo que dice más de lo que
9840
+ * dice.
9841
+ *
9842
+ * Sin ninguna opinión dice «5,0 (nuevo)» y no un conteo: la palabra en el
9843
+ * paréntesis ocupa el lugar del número justamente para avisar que el 5,0 es
9844
+ * el puntaje de arranque y no lo puso nadie todavía. Hace falta: en la base
9845
+ * hay locales con `rating: 5` guardado y cero reseñas, y sin el «(nuevo)»
9846
+ * ese cinco se lee como reputación ganada.
9847
+ */
9832
9848
  readonly ratingLabel: _angular_core.Signal<string>;
9833
9849
  readonly distanceLabel: _angular_core.Signal<string>;
9834
9850
  /** En owner-preview hay un badge custom (Borrador/En revisión/Rechazado).