@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 +3 -3
- package/dist/elements.css +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +852 -852
- package/package.json +1 -1
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
|
|
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
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const A4UI_VERSION = "0.10.
|
|
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';
|