@a4ui/core 0.10.0 → 0.10.1

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/dist/commerce.js CHANGED
@@ -60,11 +60,11 @@ function D(e) {
60
60
  })();
61
61
  }
62
62
  C(["click"]);
63
- var z = /* @__PURE__ */ s('<div class="relative aspect-square overflow-hidden rounded-lg bg-muted"><img loading=lazy class="h-full w-full object-cover">', !0, !1, !1), B = /* @__PURE__ */ s('<div class="mt-3 space-y-2"><p class="line-clamp-1 font-medium text-foreground">');
63
+ var z = /* @__PURE__ */ s('<div class="relative aspect-square overflow-hidden rounded-lg bg-muted"><img loading=lazy class="h-full w-full object-cover">', !0, !1, !1), B = /* @__PURE__ */ s('<div class="mt-3 flex flex-1 flex-col gap-2"><p class="line-clamp-1 font-medium text-foreground">');
64
64
  function te(e) {
65
65
  return u(E, {
66
66
  get class() {
67
- return h("overflow-hidden p-4", e.class);
67
+ return h("flex h-full flex-col overflow-hidden p-4", e.class);
68
68
  },
69
69
  get children() {
70
70
  return [(() => {
@@ -122,7 +122,7 @@ function te(e) {
122
122
  },
123
123
  get children() {
124
124
  return u(k, {
125
- class: "w-full",
125
+ class: "mt-auto w-full",
126
126
  onClick: () => {
127
127
  var t;
128
128
  return (t = e.onAddToCart) == null ? void 0 : t.call(e);
package/dist/elements.css CHANGED
@@ -1542,6 +1542,9 @@ html.calm .tile-glass {
1542
1542
  .mt-6 {
1543
1543
  margin-top: 1.5rem;
1544
1544
  }
1545
+ .mt-auto {
1546
+ margin-top: auto;
1547
+ }
1545
1548
  .line-clamp-1 {
1546
1549
  overflow: hidden;
1547
1550
  display: -webkit-box;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const A4UI_VERSION = "0.10.0";
1
+ export declare const A4UI_VERSION = "0.10.1";
2
2
  export { cn } from './lib/cn';
3
3
  export { useTheme, toggleTheme, setTheme, storedTheme, applyTheme, toggled, type Theme } from './lib/theme';
4
4
  export { useEffects, isCalm, setEffects } from './lib/effects';