@axzydev/axzy_ui_system 1.8.10 → 1.8.11

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
@@ -4,7 +4,7 @@
4
4
  "packageManager": "pnpm@10.34.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
- "version": "1.8.10",
7
+ "version": "1.8.11",
8
8
  "type": "module",
9
9
  "sideEffects": [
10
10
  "*.css"
@@ -446,7 +446,7 @@ export function ITBentoStatStrip({ items, activeId, onSelect, stack = false, sta
446
446
 
447
447
  return (
448
448
  <div className={clsx("it-bento-statstrip", className)}>
449
- <div className="it-bento-statstrip__grid" style={{ ["--it-bento-cols" as string]: Math.min(items.length, 4) }}>
449
+ <div className="it-bento-statstrip__grid" style={{ ["--it-bento-cols" as string]: Math.min(items.length, 6) }}>
450
450
  {items.map((item) => {
451
451
  const on = item.id === activeId;
452
452
  const Tag = clickable ? "button" : "div";
package/src/index.css CHANGED
@@ -1058,6 +1058,14 @@
1058
1058
  opacity: 1;
1059
1059
  }
1060
1060
 
1061
+ /* Cinco o seis cifras caben en una fila en escritorio; en pantallas medianas se
1062
+ acomodan de tres y de dos, para que nunca quede una sola tarjeta colgando. */
1063
+ @media (max-width: 1400px) {
1064
+ .it-bento-statstrip__grid {
1065
+ grid-template-columns: repeat(min(var(--it-bento-cols, 4), 3), minmax(0, 1fr));
1066
+ }
1067
+ }
1068
+
1061
1069
  @media (max-width: 760px) {
1062
1070
  .it-bento-statstrip__grid {
1063
1071
  grid-template-columns: repeat(2, minmax(0, 1fr));