drizzle-cube 0.1.29 → 0.1.31

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.
@@ -1584,6 +1584,7 @@ const zt = (e, t, n) => {
1584
1584
  const p = t[f];
1585
1585
  if (p !== void 0)
1586
1586
  switch (f) {
1587
+ // Properties to ignore
1587
1588
  case "icon":
1588
1589
  case "style":
1589
1590
  case "children":
@@ -1591,30 +1592,38 @@ const zt = (e, t, n) => {
1591
1592
  case "mode":
1592
1593
  case "ssr":
1593
1594
  break;
1595
+ // Forward ref
1594
1596
  case "_ref":
1595
1597
  c.ref = p;
1596
1598
  break;
1599
+ // Merge class names
1597
1600
  case "className":
1598
1601
  c[f] = (c[f] ? c[f] + " " : "") + p;
1599
1602
  break;
1603
+ // Boolean attributes
1600
1604
  case "inline":
1601
1605
  case "hFlip":
1602
1606
  case "vFlip":
1603
1607
  o[f] = p === !0 || p === "true" || p === 1;
1604
1608
  break;
1609
+ // Flip as string: 'horizontal,vertical'
1605
1610
  case "flip":
1606
1611
  typeof p == "string" && At(o, p);
1607
1612
  break;
1613
+ // Color: copy to style
1608
1614
  case "color":
1609
1615
  s.color = p;
1610
1616
  break;
1617
+ // Rotation as string
1611
1618
  case "rotate":
1612
1619
  typeof p == "string" ? o[f] = $t(p) : typeof p == "number" && (o[f] = p);
1613
1620
  break;
1621
+ // Remove aria-hidden
1614
1622
  case "ariaHidden":
1615
1623
  case "aria-hidden":
1616
1624
  p !== !0 && p !== "true" && delete c["aria-hidden"];
1617
1625
  break;
1626
+ // Copy missing property if it does not exist in customisations
1618
1627
  default:
1619
1628
  r[f] === void 0 && (c[f] = p);
1620
1629
  }
@@ -2009,4 +2018,4 @@ export {
2009
2018
  xn as y,
2010
2019
  mn as z
2011
2020
  };
2012
- //# sourceMappingURL=icons-B_0yoGjv.js.map
2021
+ //# sourceMappingURL=icons-C_McHd9z.js.map