@shopito/design-system-fe 0.1.11 → 0.1.13
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/Footer/Footer.d.ts.map +1 -1
- package/dist/common/Main/Main.d.ts.map +1 -1
- package/dist/common/Stack/Stack.d.ts +2 -1
- package/dist/common/Stack/Stack.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -7
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
|
|
|
16
16
|
children: e
|
|
17
17
|
}), b = ({ children: e }) => /* @__PURE__ */ s("main", {
|
|
18
18
|
className: "main",
|
|
19
|
-
children: e
|
|
19
|
+
children: /* @__PURE__ */ s(y, { children: e })
|
|
20
20
|
}), x = /* @__PURE__ */ v((/* @__PURE__ */ g(((e, t) => {
|
|
21
21
|
(function() {
|
|
22
22
|
var e = {}.hasOwnProperty;
|
|
@@ -527,7 +527,7 @@ function ce({ src: e, alt: t, name: n, size: r = "md", className: i, ...a }) {
|
|
|
527
527
|
}
|
|
528
528
|
//#endregion
|
|
529
529
|
//#region src/components/common/Stack/Stack.tsx
|
|
530
|
-
var le = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems: r = "start",
|
|
530
|
+
var le = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems: r = "start", justifyContent: i = "normal", children: a }) => /* @__PURE__ */ s("div", {
|
|
531
531
|
className: (0, x.default)("stack", `stack-${e}`, t && `gap-${t}`, {
|
|
532
532
|
start: "items-start",
|
|
533
533
|
end: "items-end",
|
|
@@ -539,8 +539,17 @@ var le = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems:
|
|
|
539
539
|
end: "justify-items-end",
|
|
540
540
|
center: "justify-items-center",
|
|
541
541
|
stretch: "justify-items-stretch"
|
|
542
|
-
}[r]
|
|
543
|
-
|
|
542
|
+
}[r], {
|
|
543
|
+
normal: "justify-normal",
|
|
544
|
+
start: "justify-start",
|
|
545
|
+
end: "justify-end",
|
|
546
|
+
center: "justify-center",
|
|
547
|
+
between: "justify-between",
|
|
548
|
+
around: "justify-around",
|
|
549
|
+
evenly: "justify-evenly",
|
|
550
|
+
stretch: "justify-stretch"
|
|
551
|
+
}[i]),
|
|
552
|
+
children: a
|
|
544
553
|
}), ue = {
|
|
545
554
|
1: "grid-cols-1",
|
|
546
555
|
2: "grid-cols-2",
|
|
@@ -2106,9 +2115,9 @@ function et(e) {
|
|
|
2106
2115
|
}
|
|
2107
2116
|
function tt({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r = [], linkGroups: i = [], socialLinks: a = [], copyright: o, bottomLinks: l = [], className: u = "" }) {
|
|
2108
2117
|
let d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
2109
|
-
return /* @__PURE__ */
|
|
2118
|
+
return /* @__PURE__ */ s("footer", {
|
|
2110
2119
|
className: ["bg-gray-900 text-gray-300", u].filter(Boolean).join(" "),
|
|
2111
|
-
children: [/* @__PURE__ */ c("div", {
|
|
2120
|
+
children: /* @__PURE__ */ c(y, { children: [/* @__PURE__ */ c("div", {
|
|
2112
2121
|
className: "max-w-7xl mx-auto px-4 py-12 grid grid-cols-1 md:grid-cols-2 gap-10 lg:gap-16",
|
|
2113
2122
|
children: [/* @__PURE__ */ c("div", {
|
|
2114
2123
|
className: "flex flex-col gap-6",
|
|
@@ -2196,7 +2205,7 @@ function tt({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r =
|
|
|
2196
2205
|
}, t))
|
|
2197
2206
|
})]
|
|
2198
2207
|
})
|
|
2199
|
-
})]
|
|
2208
|
+
})] })
|
|
2200
2209
|
});
|
|
2201
2210
|
}
|
|
2202
2211
|
//#endregion
|