@websolutespa/bom-mixer-ui 0.0.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.
Files changed (110) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +11 -0
  3. package/dist/carousel-1-DVCEK6QW.mjs +13 -0
  4. package/dist/carousel-1-DXYGMXKJ.mjs +14 -0
  5. package/dist/chunk-2NOCZCBX.mjs +494 -0
  6. package/dist/chunk-2QPVBWSO.mjs +27 -0
  7. package/dist/chunk-3O6XPTXR.mjs +54 -0
  8. package/dist/chunk-4G2V76JL.mjs +87 -0
  9. package/dist/chunk-4GP5DTTM.mjs +1101 -0
  10. package/dist/chunk-56QPQUHL.mjs +87 -0
  11. package/dist/chunk-5HED55DH.mjs +89 -0
  12. package/dist/chunk-5JVP5WNM.mjs +109 -0
  13. package/dist/chunk-5OIM36YU.mjs +43 -0
  14. package/dist/chunk-6HX6MNJA.mjs +808 -0
  15. package/dist/chunk-6RQBZFNK.mjs +13 -0
  16. package/dist/chunk-74GX2GU5.mjs +84 -0
  17. package/dist/chunk-A5PJ35ED.mjs +30 -0
  18. package/dist/chunk-A7SAZJPB.mjs +54 -0
  19. package/dist/chunk-AWRVGAMB.mjs +34 -0
  20. package/dist/chunk-B5WDQW62.mjs +469 -0
  21. package/dist/chunk-CCBJBAAA.mjs +47 -0
  22. package/dist/chunk-DANHURV6.mjs +84 -0
  23. package/dist/chunk-DBOW5IIN.mjs +5138 -0
  24. package/dist/chunk-DC3AZYXP.mjs +48 -0
  25. package/dist/chunk-DV6WR2TC.mjs +51 -0
  26. package/dist/chunk-G4IKIC5S.mjs +36 -0
  27. package/dist/chunk-GDCL5WRV.mjs +47 -0
  28. package/dist/chunk-GGXSEAD2.mjs +494 -0
  29. package/dist/chunk-GNG6WR62.mjs +220 -0
  30. package/dist/chunk-GZ4XU7KO.mjs +84 -0
  31. package/dist/chunk-HCSER4UQ.mjs +31 -0
  32. package/dist/chunk-IF5CE4SD.mjs +89 -0
  33. package/dist/chunk-IG66RP7S.mjs +54 -0
  34. package/dist/chunk-IK736OHT.mjs +31 -0
  35. package/dist/chunk-IZQZVLFR.mjs +84 -0
  36. package/dist/chunk-J7LSTFGB.mjs +51 -0
  37. package/dist/chunk-JQPC4MHB.mjs +40 -0
  38. package/dist/chunk-JTGZNI2A.mjs +92 -0
  39. package/dist/chunk-JYFB4EY7.mjs +26 -0
  40. package/dist/chunk-KJAR4KTH.mjs +114 -0
  41. package/dist/chunk-LEHIZSHR.mjs +122 -0
  42. package/dist/chunk-LSXKWZBB.mjs +808 -0
  43. package/dist/chunk-LV3AK64L.mjs +37 -0
  44. package/dist/chunk-MU4CJBV7.mjs +82 -0
  45. package/dist/chunk-MW5M3AIG.mjs +29 -0
  46. package/dist/chunk-MZ764V34.mjs +33 -0
  47. package/dist/chunk-N5J24WJE.mjs +22 -0
  48. package/dist/chunk-NLXIPXSN.mjs +44 -0
  49. package/dist/chunk-NM3CSEJ3.mjs +33 -0
  50. package/dist/chunk-NWHJ5ZAA.mjs +27 -0
  51. package/dist/chunk-OAAW3SV6.mjs +199 -0
  52. package/dist/chunk-OAVF6LFH.mjs +58 -0
  53. package/dist/chunk-PFPUP4FL.mjs +807 -0
  54. package/dist/chunk-QSN3F243.mjs +33 -0
  55. package/dist/chunk-QXUK3J2W.mjs +199 -0
  56. package/dist/chunk-RU2KB7XM.mjs +51 -0
  57. package/dist/chunk-SBQY6FWU.mjs +77 -0
  58. package/dist/chunk-TNJCCH5V.mjs +220 -0
  59. package/dist/chunk-U4CLZOPI.mjs +232 -0
  60. package/dist/chunk-UGZQFVRQ.mjs +29 -0
  61. package/dist/chunk-VTNTTQXM.mjs +54 -0
  62. package/dist/chunk-W346ZVLC.mjs +13 -0
  63. package/dist/chunk-XAXJC3FV.mjs +36 -0
  64. package/dist/chunk-Y2QTR7KM.mjs +55 -0
  65. package/dist/chunk-ZBPDMEV4.mjs +122 -0
  66. package/dist/chunk-ZFNJUDPN.mjs +43 -0
  67. package/dist/download-1-FRTTCFSC.mjs +14 -0
  68. package/dist/download-1-HFDPW6PG.mjs +13 -0
  69. package/dist/index.d.ts +2548 -0
  70. package/dist/index.js +15611 -0
  71. package/dist/index.mjs +11555 -0
  72. package/dist/magazine-related-D3WTHTLF.mjs +14 -0
  73. package/dist/magazine-related-JCGUUCUP.mjs +15 -0
  74. package/dist/media-full-1-BDODTFLB.mjs +10 -0
  75. package/dist/media-full-1-EBZLR4NY.mjs +10 -0
  76. package/dist/media-full-2-2PO7MSS6.mjs +11 -0
  77. package/dist/media-full-2-M4O7HRCV.mjs +11 -0
  78. package/dist/media-media-1-ET3G2SWF.mjs +12 -0
  79. package/dist/media-media-1-HIJUPGM7.mjs +12 -0
  80. package/dist/media-media-1-V6ZQ6RZG.mjs +12 -0
  81. package/dist/not-found-JWIKAAPV.mjs +10 -0
  82. package/dist/not-found-YT633IOF.mjs +10 -0
  83. package/dist/products-detail-download-4FB5IJ3Q.mjs +13 -0
  84. package/dist/products-detail-download-7G2TYM3Q.mjs +14 -0
  85. package/dist/products-detail-related-2PVSOSDY.mjs +16 -0
  86. package/dist/products-detail-related-EVYW6HQA.mjs +15 -0
  87. package/dist/products-detail-related-YIFMTUCQ.mjs +15 -0
  88. package/dist/products-detail-size-color-AKSUWV6K.mjs +15 -0
  89. package/dist/products-detail-size-color-DN3E6KET.mjs +15 -0
  90. package/dist/products-detail-size-color-YLQ352FR.mjs +15 -0
  91. package/dist/related-1-27HY3JEE.mjs +16 -0
  92. package/dist/related-1-RW2MS6XN.mjs +15 -0
  93. package/dist/related-1-XXICN6PY.mjs +15 -0
  94. package/dist/shop-detail-related-AW5RTFOH.mjs +15 -0
  95. package/dist/shop-detail-related-OS5YUH6Y.mjs +15 -0
  96. package/dist/shop-detail-related-SQ5MBIA2.mjs +16 -0
  97. package/dist/sizes-colors-1-IPWE45PQ.mjs +15 -0
  98. package/dist/sizes-colors-1-JSJSGDQB.mjs +15 -0
  99. package/dist/sizes-colors-1-R36L2GI3.mjs +15 -0
  100. package/dist/text-1-265D6JDN.mjs +11 -0
  101. package/dist/text-1-4LCCLSTO.mjs +11 -0
  102. package/dist/text-aside-1-5COCRCVM.mjs +12 -0
  103. package/dist/text-aside-1-H56SUGSM.mjs +12 -0
  104. package/dist/text-aside-1-YIXPMUBS.mjs +12 -0
  105. package/dist/text-media-1-FTVDNKGV.mjs +13 -0
  106. package/dist/text-media-1-QQY7WNS2.mjs +13 -0
  107. package/dist/text-media-1-ZGI6ITM6.mjs +13 -0
  108. package/dist/text-text-1-KCRMHXGX.mjs +11 -0
  109. package/dist/text-text-1-NOFPMB5T.mjs +11 -0
  110. package/package.json +79 -0
@@ -0,0 +1,232 @@
1
+ import {
2
+ require_is_error,
3
+ require_link,
4
+ require_router,
5
+ require_router_context
6
+ } from "./chunk-DBOW5IIN.mjs";
7
+ import {
8
+ __commonJS,
9
+ __objRest,
10
+ __require,
11
+ __spreadProps,
12
+ __spreadValues,
13
+ __toESM,
14
+ require_interop_require_default
15
+ } from "./chunk-4GP5DTTM.mjs";
16
+
17
+ // ../../../../node_modules/next/dist/client/with-router.js
18
+ var require_with_router = __commonJS({
19
+ "../../../../node_modules/next/dist/client/with-router.js"(exports, module) {
20
+ "use strict";
21
+ Object.defineProperty(exports, "__esModule", {
22
+ value: true
23
+ });
24
+ exports.default = withRouter;
25
+ var _interop_require_default = require_interop_require_default().default;
26
+ var _react = _interop_require_default(__require("react"));
27
+ var _router = require_router2();
28
+ function withRouter(ComposedComponent) {
29
+ function WithRouterWrapper(props) {
30
+ return /* @__PURE__ */ _react.default.createElement(ComposedComponent, Object.assign({
31
+ router: (0, _router).useRouter()
32
+ }, props));
33
+ }
34
+ WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps;
35
+ WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;
36
+ if (process.env.NODE_ENV !== "production") {
37
+ const name = ComposedComponent.displayName || ComposedComponent.name || "Unknown";
38
+ WithRouterWrapper.displayName = `withRouter(${name})`;
39
+ }
40
+ return WithRouterWrapper;
41
+ }
42
+ if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
43
+ Object.defineProperty(exports.default, "__esModule", { value: true });
44
+ Object.assign(exports.default, exports);
45
+ module.exports = exports.default;
46
+ }
47
+ }
48
+ });
49
+
50
+ // ../../../../node_modules/next/dist/client/router.js
51
+ var require_router2 = __commonJS({
52
+ "../../../../node_modules/next/dist/client/router.js"(exports, module) {
53
+ "use strict";
54
+ Object.defineProperty(exports, "__esModule", {
55
+ value: true
56
+ });
57
+ Object.defineProperty(exports, "Router", {
58
+ enumerable: true,
59
+ get: function() {
60
+ return _router.default;
61
+ }
62
+ });
63
+ Object.defineProperty(exports, "withRouter", {
64
+ enumerable: true,
65
+ get: function() {
66
+ return _withRouter.default;
67
+ }
68
+ });
69
+ exports.useRouter = useRouter2;
70
+ exports.createRouter = createRouter;
71
+ exports.makePublicRouterInstance = makePublicRouterInstance;
72
+ exports.default = void 0;
73
+ var _interop_require_default = require_interop_require_default().default;
74
+ var _react = _interop_require_default(__require("react"));
75
+ var _router = _interop_require_default(require_router());
76
+ var _routerContext = require_router_context();
77
+ var _isError = _interop_require_default(require_is_error());
78
+ var _withRouter = _interop_require_default(require_with_router());
79
+ var singletonRouter = {
80
+ router: null,
81
+ readyCallbacks: [],
82
+ ready(cb) {
83
+ if (this.router)
84
+ return cb();
85
+ if (typeof window !== "undefined") {
86
+ this.readyCallbacks.push(cb);
87
+ }
88
+ }
89
+ };
90
+ var urlPropertyFields = [
91
+ "pathname",
92
+ "route",
93
+ "query",
94
+ "asPath",
95
+ "components",
96
+ "isFallback",
97
+ "basePath",
98
+ "locale",
99
+ "locales",
100
+ "defaultLocale",
101
+ "isReady",
102
+ "isPreview",
103
+ "isLocaleDomain",
104
+ "domainLocales"
105
+ ];
106
+ var routerEvents = [
107
+ "routeChangeStart",
108
+ "beforeHistoryChange",
109
+ "routeChangeComplete",
110
+ "routeChangeError",
111
+ "hashChangeStart",
112
+ "hashChangeComplete"
113
+ ];
114
+ var coreMethodFields = [
115
+ "push",
116
+ "replace",
117
+ "reload",
118
+ "back",
119
+ "prefetch",
120
+ "beforePopState"
121
+ ];
122
+ Object.defineProperty(singletonRouter, "events", {
123
+ get() {
124
+ return _router.default.events;
125
+ }
126
+ });
127
+ function getRouter() {
128
+ if (!singletonRouter.router) {
129
+ const message = 'No router instance found.\nYou should only use "next/router" on the client side of your app.\n';
130
+ throw new Error(message);
131
+ }
132
+ return singletonRouter.router;
133
+ }
134
+ urlPropertyFields.forEach((field) => {
135
+ Object.defineProperty(singletonRouter, field, {
136
+ get() {
137
+ const router = getRouter();
138
+ return router[field];
139
+ }
140
+ });
141
+ });
142
+ coreMethodFields.forEach((field) => {
143
+ singletonRouter[field] = (...args) => {
144
+ const router = getRouter();
145
+ return router[field](...args);
146
+ };
147
+ });
148
+ routerEvents.forEach((event) => {
149
+ singletonRouter.ready(() => {
150
+ _router.default.events.on(event, (...args) => {
151
+ const eventField = `on${event.charAt(0).toUpperCase()}${event.substring(1)}`;
152
+ const _singletonRouter = singletonRouter;
153
+ if (_singletonRouter[eventField]) {
154
+ try {
155
+ _singletonRouter[eventField](...args);
156
+ } catch (err) {
157
+ console.error(`Error when running the Router event: ${eventField}`);
158
+ console.error((0, _isError).default(err) ? `${err.message}
159
+ ${err.stack}` : err + "");
160
+ }
161
+ }
162
+ });
163
+ });
164
+ });
165
+ var _default = singletonRouter;
166
+ exports.default = _default;
167
+ function useRouter2() {
168
+ return _react.default.useContext(_routerContext.RouterContext);
169
+ }
170
+ function createRouter(...args) {
171
+ singletonRouter.router = new _router.default(...args);
172
+ singletonRouter.readyCallbacks.forEach((cb) => cb());
173
+ singletonRouter.readyCallbacks = [];
174
+ return singletonRouter.router;
175
+ }
176
+ function makePublicRouterInstance(router) {
177
+ const scopedRouter = router;
178
+ const instance = {};
179
+ for (const property of urlPropertyFields) {
180
+ if (typeof scopedRouter[property] === "object") {
181
+ instance[property] = Object.assign(Array.isArray(scopedRouter[property]) ? [] : {}, scopedRouter[property]);
182
+ continue;
183
+ }
184
+ instance[property] = scopedRouter[property];
185
+ }
186
+ instance.events = _router.default.events;
187
+ coreMethodFields.forEach((field) => {
188
+ instance[field] = (...args) => {
189
+ return scopedRouter[field](...args);
190
+ };
191
+ });
192
+ return instance;
193
+ }
194
+ if ((typeof exports.default === "function" || typeof exports.default === "object" && exports.default !== null) && typeof exports.default.__esModule === "undefined") {
195
+ Object.defineProperty(exports.default, "__esModule", { value: true });
196
+ Object.assign(exports.default, exports);
197
+ module.exports = exports.default;
198
+ }
199
+ }
200
+ });
201
+
202
+ // ../../../../node_modules/next/router.js
203
+ var require_router3 = __commonJS({
204
+ "../../../../node_modules/next/router.js"(exports, module) {
205
+ module.exports = require_router2();
206
+ }
207
+ });
208
+
209
+ // src/components/nav-link/nav-link.tsx
210
+ var import_link = __toESM(require_link());
211
+ var import_router = __toESM(require_router3());
212
+ import { usePage } from "@websolutespa/bom-mixer-hooks";
213
+ import React, { Children } from "react";
214
+ import { jsx } from "react/jsx-runtime";
215
+ var NavLink = (_a) => {
216
+ var _b = _a, { children, activeClassName = "active" } = _b, props = __objRest(_b, ["children", "activeClassName"]);
217
+ const child = Children.only(children);
218
+ const childClassName = child.props.className || "";
219
+ const { href } = usePage();
220
+ const router = (0, import_router.useRouter)();
221
+ const pathname = href || router.pathname;
222
+ const isActive = pathname && (pathname === props.href || pathname === props.as);
223
+ const className = isActive ? `${childClassName} ${activeClassName}`.trim() : childClassName;
224
+ return /* @__PURE__ */ jsx(import_link.default, __spreadProps(__spreadValues({}, props), { children: isActive ? React.cloneElement(children, {
225
+ className: className || null
226
+ }) : children }));
227
+ };
228
+
229
+ export {
230
+ require_router3 as require_router,
231
+ NavLink
232
+ };
@@ -0,0 +1,29 @@
1
+ import {
2
+ __objRest,
3
+ __spreadProps,
4
+ __spreadValues
5
+ } from "./chunk-B5WDQW62.mjs";
6
+
7
+ // src/components/nav-link/nav-link.tsx
8
+ import { usePage } from "@websolutespa/bom-mixer-hooks";
9
+ import Link from "next/link";
10
+ import { useRouter } from "next/router";
11
+ import React, { Children } from "react";
12
+ import { jsx } from "react/jsx-runtime";
13
+ var NavLink = (_a) => {
14
+ var _b = _a, { children, activeClassName = "active" } = _b, props = __objRest(_b, ["children", "activeClassName"]);
15
+ const child = Children.only(children);
16
+ const childClassName = child.props.className || "";
17
+ const { href } = usePage();
18
+ const router = useRouter();
19
+ const pathname = href || router.pathname;
20
+ const isActive = pathname && (pathname === props.href || pathname === props.as);
21
+ const className = isActive ? `${childClassName} ${activeClassName}`.trim() : childClassName;
22
+ return /* @__PURE__ */ jsx(Link, __spreadProps(__spreadValues({}, props), { children: isActive ? React.cloneElement(children, {
23
+ className: className || null
24
+ }) : children }));
25
+ };
26
+
27
+ export {
28
+ NavLink
29
+ };
@@ -0,0 +1,54 @@
1
+ import {
2
+ CssButtonCircle,
3
+ CssButtonDefault,
4
+ CssButtonGhost,
5
+ CssButtonLink,
6
+ CssButtonNav,
7
+ CssButtonOutline,
8
+ CssButtonPrimary,
9
+ CssButtonSecondary,
10
+ CssButtonToggle,
11
+ CssButtonUnderline,
12
+ CssDefault
13
+ } from "./chunk-2NOCZCBX.mjs";
14
+ import {
15
+ __objRest,
16
+ __spreadProps,
17
+ __spreadValues,
18
+ getCssResponsive,
19
+ getVariant
20
+ } from "./chunk-4GP5DTTM.mjs";
21
+
22
+ // src/components/button/button.tsx
23
+ import { getClassNames } from "@websolutespa/bom-mixer-core";
24
+ import { forwardRef } from "react";
25
+ import styled, { css } from "styled-components";
26
+ import { jsx } from "react/jsx-runtime";
27
+ var variants = {
28
+ default: CssButtonDefault,
29
+ primary: CssButtonPrimary,
30
+ secondary: CssButtonSecondary,
31
+ outline: CssButtonOutline,
32
+ ghost: CssButtonGhost,
33
+ link: CssButtonLink,
34
+ underline: CssButtonUnderline,
35
+ nav: CssButtonNav,
36
+ circle: CssButtonCircle,
37
+ toggle: CssButtonToggle
38
+ };
39
+ var StyledButton = styled.div`
40
+ ${CssDefault}
41
+ ${(props) => getVariant(variants, props.variant)}
42
+ ${(props) => css`font-size: var(--button-size-${props.size || "md"});`}
43
+ ${(props) => getCssResponsive(props)}
44
+ `;
45
+ var Button = forwardRef((_a, ref) => {
46
+ var _b = _a, { children, className, as = "button", type = "button" } = _b, props = __objRest(_b, ["children", "className", "as", "type"]);
47
+ const classNames = getClassNames("button", className, { disabled: props.disabled });
48
+ return /* @__PURE__ */ jsx(StyledButton, __spreadProps(__spreadValues({ className: classNames, ref, as, type }, props), { children }));
49
+ });
50
+ Button.displayName = "Button";
51
+
52
+ export {
53
+ Button
54
+ };
@@ -0,0 +1,13 @@
1
+ import {
2
+ getCssResponsive
3
+ } from "./chunk-4GP5DTTM.mjs";
4
+
5
+ // src/components/box/box.tsx
6
+ import styled from "styled-components";
7
+ var Box = styled.div`
8
+ ${(props) => getCssResponsive(props)}
9
+ `;
10
+
11
+ export {
12
+ Box
13
+ };
@@ -0,0 +1,36 @@
1
+ import {
2
+ Flex
3
+ } from "./chunk-OAAW3SV6.mjs";
4
+ import {
5
+ Grid
6
+ } from "./chunk-PFPUP4FL.mjs";
7
+ import {
8
+ Container,
9
+ Section,
10
+ Text
11
+ } from "./chunk-GGXSEAD2.mjs";
12
+
13
+ // src/lazy/text-aside-1/text-aside-1.tsx
14
+ import { getClassNames } from "@websolutespa/bom-mixer-core";
15
+ import dynamic from "next/dynamic";
16
+ import { jsx, jsxs } from "react/jsx-runtime";
17
+ var TextAside1 = ({ item }) => {
18
+ const classNames = getClassNames(item.schema);
19
+ return /* @__PURE__ */ jsx(Section, { className: classNames, padding: "6rem 0", children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs(Grid.Row, { rowGap: "3rem", children: [
20
+ /* @__PURE__ */ jsx(Grid, { sm: 8, children: /* @__PURE__ */ jsx(Text, { size: "8", lineHeight: "2", dangerouslySetInnerHTML: { __html: item.description } }) }),
21
+ /* @__PURE__ */ jsx(Grid, { sm: 4, children: /* @__PURE__ */ jsx(Flex.Col, { gap: "3rem", children: item.aside.map((aside, a) => /* @__PURE__ */ jsxs(Flex.Col, { gap: "1rem", children: [
22
+ /* @__PURE__ */ jsx(Text, { size: "6", children: aside.title }),
23
+ /* @__PURE__ */ jsx(Flex.Col, { gap: "0.5rem", children: aside.items.map((text, t) => /* @__PURE__ */ jsx(Text, { size: "8", children: text }, t)) })
24
+ ] }, a)) }) })
25
+ ] }) }) });
26
+ };
27
+ var TextAside1Export = {
28
+ "text-aside-1": dynamic(() => Promise.resolve().then(() => require_text_aside_1()).then(
29
+ (module) => module.TextAside1
30
+ ))
31
+ };
32
+
33
+ export {
34
+ TextAside1,
35
+ TextAside1Export
36
+ };
@@ -0,0 +1,55 @@
1
+ import {
2
+ Box
3
+ } from "./chunk-W346ZVLC.mjs";
4
+ import {
5
+ Flex
6
+ } from "./chunk-QXUK3J2W.mjs";
7
+ import {
8
+ Button
9
+ } from "./chunk-VTNTTQXM.mjs";
10
+ import {
11
+ Grid
12
+ } from "./chunk-LSXKWZBB.mjs";
13
+ import {
14
+ Media
15
+ } from "./chunk-TNJCCH5V.mjs";
16
+ import {
17
+ Container,
18
+ Section,
19
+ Text
20
+ } from "./chunk-2NOCZCBX.mjs";
21
+ import {
22
+ __toESM,
23
+ require_dynamic
24
+ } from "./chunk-4GP5DTTM.mjs";
25
+
26
+ // src/lazy/sizes-colors-1/sizes-colors-1.tsx
27
+ var import_dynamic = __toESM(require_dynamic());
28
+ import { getClassNames } from "@websolutespa/bom-mixer-core";
29
+ import { jsx, jsxs } from "react/jsx-runtime";
30
+ var SizesColors1 = ({ item }) => {
31
+ const classNames = getClassNames(item.schema);
32
+ return /* @__PURE__ */ jsx(Section, { className: classNames, padding: "6rem 0", children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs(Grid.Row, { rowGap: "3rem", children: [
33
+ /* @__PURE__ */ jsx(Grid, { sm: 6, justifyContent: "center", children: /* @__PURE__ */ jsxs(Flex.Col, { children: [
34
+ item.title && /* @__PURE__ */ jsx(Text, { size: "3", marginBottom: "3rem", children: item.title }),
35
+ item.list.map((item2, i) => /* @__PURE__ */ jsxs(Flex.Row, { padding: "2rem 0", borderBottom: "2px solid var(--color-neutral-900)", children: [
36
+ /* @__PURE__ */ jsx(Text, { flexBasis: "20%", dangerouslySetInnerHTML: { __html: item2.title } }),
37
+ /* @__PURE__ */ jsx(Text, { dangerouslySetInnerHTML: { __html: item2.abstract } })
38
+ ] }, i))
39
+ ] }) }),
40
+ /* @__PURE__ */ jsxs(Grid, { sm: 6, alignItems: "center", justifyContent: "center", gap: "2rem", children: [
41
+ /* @__PURE__ */ jsx(Box, { width: "100%", maxWidth: "300px", children: /* @__PURE__ */ jsx(Media, { aspectRatio: 1, item: item.medias }) }),
42
+ /* @__PURE__ */ jsx(Button, { variant: "outline", children: "Vedi tutti i colori" })
43
+ ] })
44
+ ] }) }) });
45
+ };
46
+ var SizesColors1Export = {
47
+ "sizes-colors-1": (0, import_dynamic.default)(() => Promise.resolve().then(() => require_sizes_colors_1()).then(
48
+ (module) => module.SizesColors1
49
+ ))
50
+ };
51
+
52
+ export {
53
+ SizesColors1,
54
+ SizesColors1Export
55
+ };
@@ -0,0 +1,122 @@
1
+ import {
2
+ Background
3
+ } from "./chunk-2NOCZCBX.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadProps,
7
+ __spreadValues,
8
+ getAspectResponsive,
9
+ getCssResponsive,
10
+ getVariant,
11
+ hasChildOfType
12
+ } from "./chunk-4GP5DTTM.mjs";
13
+
14
+ // src/components/card/card-content.tsx
15
+ import styled from "styled-components";
16
+ var CardContent = styled.div`
17
+ position: relative;
18
+ ${(props) => getCssResponsive(props)}
19
+ `;
20
+
21
+ // src/components/card/card-footer.tsx
22
+ import styled2 from "styled-components";
23
+ var CardFooter = styled2.div`
24
+ flex: 0 0 4em;
25
+ position: relative;
26
+ display: flex;
27
+ justify-content: space-between;
28
+ align-items: center;
29
+ border-top: 1px solid var(--color-neutral-100);
30
+ ${(props) => getCssResponsive(props)}
31
+ `;
32
+
33
+ // src/components/card/card.tsx
34
+ import { getClassNames, withSchema } from "@websolutespa/bom-mixer-core";
35
+ import { forwardRef } from "react";
36
+ import styled3, { css } from "styled-components";
37
+ import { jsx } from "react/jsx-runtime";
38
+ var variants = {
39
+ default: css`
40
+ `,
41
+ alfa: css`
42
+ border: 1px solid var(--color-neutral-200);
43
+ border-radius: 0.5em;
44
+ // box-shadow: var(--card-shadow);
45
+ `,
46
+ beta: css`
47
+ background: var(--color-neutral-200);
48
+ // border-radius: 2px;
49
+ `,
50
+ gamma: css`
51
+ border: 1px solid var(--color-neutral-200);
52
+ border-radius: 20px;
53
+ box-shadow: var(--card-shadow);
54
+ `,
55
+ delta: css`
56
+ border: 1px solid var(--color-neutral-200);
57
+ border-radius: 20px;
58
+ box-shadow: var(--card-shadow);
59
+ `
60
+ };
61
+ var StyledCard = styled3.div`
62
+ display: flex;
63
+ flex-direction: column;
64
+ // margin: 0 0 40px 0;
65
+
66
+ ${(props) => getVariant(variants, props.variant)}
67
+ ${(props) => getCssResponsive(props)}
68
+ ${(props) => getAspectResponsive(props)};
69
+ ${(props) => props.hoverable ? css`
70
+ cursor: pointer;
71
+ .media {
72
+ display: flex;
73
+ justify-content: center;
74
+ align-items: center;
75
+ overflow: hidden;
76
+ &>:not(.media-info) {
77
+ transition: ease-in-out 200ms;
78
+ transition-property: transform, opacity;
79
+ }
80
+ }
81
+ &:hover {
82
+ .media {
83
+ &>:not(.media-info) {
84
+ transform: scale(1.05);
85
+ }
86
+ }
87
+ .button {
88
+ &:after {
89
+ transform: scale(1, 1);
90
+ }
91
+ }
92
+ }
93
+ ` : ""}
94
+ ${(props) => hasBackground(props) ? css`
95
+ color: var(--color-neutral-100);
96
+ position: relative;
97
+
98
+ &>:not(.background) {
99
+ position: relative;
100
+ }
101
+ ` : ""}
102
+ `;
103
+ var CardBase = forwardRef((_a, ref) => {
104
+ var _b = _a, { children, className, as = "div" } = _b, props = __objRest(_b, ["children", "className", "as"]);
105
+ const classNames = getClassNames("card", className);
106
+ return /* @__PURE__ */ jsx(StyledCard, __spreadProps(__spreadValues({ className: classNames, ref, as }, props), { children }));
107
+ });
108
+ CardBase.displayName = "Card";
109
+ var Card = withSchema(CardBase, {
110
+ Background,
111
+ Content: CardContent,
112
+ Footer: CardFooter
113
+ });
114
+ function hasBackground(props) {
115
+ return hasChildOfType(props.children, Background);
116
+ }
117
+
118
+ export {
119
+ CardContent,
120
+ CardFooter,
121
+ Card
122
+ };
@@ -0,0 +1,43 @@
1
+ import {
2
+ Flex
3
+ } from "./chunk-OAAW3SV6.mjs";
4
+ import {
5
+ Grid
6
+ } from "./chunk-6HX6MNJA.mjs";
7
+ import {
8
+ Media
9
+ } from "./chunk-GNG6WR62.mjs";
10
+ import {
11
+ Container,
12
+ Section,
13
+ Text
14
+ } from "./chunk-GGXSEAD2.mjs";
15
+
16
+ // src/lazy/text-media-1/text-media-1.tsx
17
+ import { getClassNames } from "@websolutespa/bom-mixer-core";
18
+ import dynamic from "next/dynamic";
19
+ import { jsx, jsxs } from "react/jsx-runtime";
20
+ var TextMedia1 = ({ item }) => {
21
+ const classNames = getClassNames(item.schema);
22
+ return /* @__PURE__ */ jsx(Section, { className: classNames, padding: "6rem 0", children: /* @__PURE__ */ jsx(Container.Fluid, { children: /* @__PURE__ */ jsxs(Grid.Row, { rowGap: "3rem", children: [
23
+ /* @__PURE__ */ jsx(Grid, { sm: 6, justifyContent: "center", children: /* @__PURE__ */ jsxs(Flex.Col, { gap: "3rem", children: [
24
+ item.title && /* @__PURE__ */ jsx(Text, { size: "3", dangerouslySetInnerHTML: { __html: item.title } }),
25
+ item.abstract && /* @__PURE__ */ jsx(Text, { size: "6", dangerouslySetInnerHTML: { __html: item.abstract } }),
26
+ item.description && /* @__PURE__ */ jsx(Text, { size: "7", dangerouslySetInnerHTML: { __html: item.description } })
27
+ ] }) }),
28
+ /* @__PURE__ */ jsxs(Grid, { sm: 6, justifyContent: "center", children: [
29
+ /* @__PURE__ */ jsx(Media, { aspectRatio: 880 / 1120, item: item.media }),
30
+ item.media.alt && /* @__PURE__ */ jsx(Text, { size: "8", marginTop: "1rem", children: item.media.alt })
31
+ ] })
32
+ ] }) }) });
33
+ };
34
+ var TextMedia1Export = {
35
+ "text-media-1": dynamic(() => Promise.resolve().then(() => require_text_media_1()).then(
36
+ (module) => module.TextMedia1
37
+ ))
38
+ };
39
+
40
+ export {
41
+ TextMedia1,
42
+ TextMedia1Export
43
+ };
@@ -0,0 +1,14 @@
1
+ import {
2
+ Download1,
3
+ Download1Export
4
+ } from "./chunk-DC3AZYXP.mjs";
5
+ import "./chunk-U4CLZOPI.mjs";
6
+ import "./chunk-QXUK3J2W.mjs";
7
+ import "./chunk-DBOW5IIN.mjs";
8
+ import "./chunk-VTNTTQXM.mjs";
9
+ import "./chunk-2NOCZCBX.mjs";
10
+ import "./chunk-4GP5DTTM.mjs";
11
+ export {
12
+ Download1,
13
+ Download1Export
14
+ };
@@ -0,0 +1,13 @@
1
+ import {
2
+ Download1,
3
+ Download1Export
4
+ } from "./chunk-NLXIPXSN.mjs";
5
+ import "./chunk-UGZQFVRQ.mjs";
6
+ import "./chunk-OAAW3SV6.mjs";
7
+ import "./chunk-A7SAZJPB.mjs";
8
+ import "./chunk-GGXSEAD2.mjs";
9
+ import "./chunk-B5WDQW62.mjs";
10
+ export {
11
+ Download1,
12
+ Download1Export
13
+ };