@stackshift-ui/logo-cloud 6.0.5 → 6.0.6
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/chunk-6GBAK755.mjs +50 -0
- package/dist/chunk-FLDL755C.mjs +47 -0
- package/dist/chunk-O6AXZYU7.mjs +1 -0
- package/dist/chunk-PNGHENXC.mjs +27 -0
- package/dist/chunk-YP376ODG.mjs +36 -0
- package/dist/chunk-ZFA2DQJY.mjs +84 -0
- package/dist/index.js +329 -1
- package/dist/index.mjs +23 -1
- package/dist/logo-cloud.js +313 -1
- package/dist/logo-cloud.mjs +6 -1
- package/dist/logo-cloud_a.js +82 -1
- package/dist/logo-cloud_a.mjs +7 -1
- package/dist/logo-cloud_b.js +85 -1
- package/dist/logo-cloud_b.mjs +7 -1
- package/dist/logo-cloud_c.js +109 -1
- package/dist/logo-cloud_c.mjs +7 -1
- package/dist/logo-cloud_d.js +61 -1
- package/dist/logo-cloud_d.mjs +7 -1
- package/dist/types.js +18 -1
- package/package.json +7 -7
- package/src/logo-cloud_a.tsx +3 -3
- package/dist/chunk-6KNV7HMT.mjs +0 -1
- /package/dist/{chunk-MNRO5IYZ.mjs → chunk-IAIT346V.mjs} +0 -0
package/dist/logo-cloud_c.mjs
CHANGED
package/dist/logo-cloud_d.js
CHANGED
|
@@ -1 +1,61 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/logo-cloud_d.tsx
|
|
21
|
+
var logo_cloud_d_exports = {};
|
|
22
|
+
__export(logo_cloud_d_exports, {
|
|
23
|
+
LogoCloud_D: () => LogoCloud_D,
|
|
24
|
+
default: () => LogoCloud_D
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(logo_cloud_d_exports);
|
|
27
|
+
var import_container = require("@stackshift-ui/container");
|
|
28
|
+
var import_flex = require("@stackshift-ui/flex");
|
|
29
|
+
var import_image = require("@stackshift-ui/image");
|
|
30
|
+
var import_section = require("@stackshift-ui/section");
|
|
31
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
|
+
function LogoCloud_D({ images }) {
|
|
33
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_section.Section, { className: "py-20 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_container.Container, { maxWidth: 1280, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_flex.Flex, { wrap: true, justify: "center", align: "center", children: images && (images == null ? void 0 : images.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoItem, { image }))) }) }) });
|
|
34
|
+
}
|
|
35
|
+
function LogoItem({ image }) {
|
|
36
|
+
var _a;
|
|
37
|
+
if (!image) return null;
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0", children: (image == null ? void 0 : image.image) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
import_flex.Flex,
|
|
40
|
+
{
|
|
41
|
+
align: "center",
|
|
42
|
+
justify: "center",
|
|
43
|
+
className: "mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",
|
|
44
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
45
|
+
import_image.Image,
|
|
46
|
+
{
|
|
47
|
+
className: "object-scale-down w-full h-full",
|
|
48
|
+
src: `${image == null ? void 0 : image.image}`,
|
|
49
|
+
sizes: "192px",
|
|
50
|
+
width: 192,
|
|
51
|
+
height: 192,
|
|
52
|
+
alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image`
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
}
|
|
58
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
59
|
+
0 && (module.exports = {
|
|
60
|
+
LogoCloud_D
|
|
61
|
+
});
|
package/dist/logo-cloud_d.mjs
CHANGED
package/dist/types.js
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/types.ts
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/logo-cloud",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"typescript": "^5.6.2",
|
|
30
30
|
"vite-tsconfig-paths": "^5.0.1",
|
|
31
31
|
"vitest": "^2.1.1",
|
|
32
|
-
"@stackshift-ui/
|
|
33
|
-
"@stackshift-ui/
|
|
32
|
+
"@stackshift-ui/typescript-config": "6.0.2",
|
|
33
|
+
"@stackshift-ui/eslint-config": "6.0.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@stackshift-ui/
|
|
36
|
+
"@stackshift-ui/heading": "6.0.3",
|
|
37
37
|
"@stackshift-ui/system": "6.0.3",
|
|
38
|
+
"@stackshift-ui/section": "6.0.3",
|
|
39
|
+
"@stackshift-ui/scripts": "6.0.2",
|
|
38
40
|
"@stackshift-ui/button": "6.0.3",
|
|
39
|
-
"@stackshift-ui/heading": "6.0.3",
|
|
40
41
|
"@stackshift-ui/text": "6.0.3",
|
|
41
|
-
"@stackshift-ui/image": "6.0.3",
|
|
42
|
-
"@stackshift-ui/section": "6.0.3",
|
|
43
42
|
"@stackshift-ui/container": "6.0.3",
|
|
43
|
+
"@stackshift-ui/image": "6.0.3",
|
|
44
44
|
"@stackshift-ui/flex": "6.0.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
package/src/logo-cloud_a.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export default function LogoCloud_A({ title, images }: LogoCloudProps) {
|
|
|
12
12
|
<Section className="py-20 bg-background">
|
|
13
13
|
<Container maxWidth={1280}>
|
|
14
14
|
<Title title={title} />
|
|
15
|
-
<Flex wrap justify="center" align="center">
|
|
15
|
+
<Flex wrap justify="center" align="center" gap={3}>
|
|
16
16
|
<LogoCloudImages images={images} />
|
|
17
17
|
</Flex>
|
|
18
18
|
</Container>
|
|
@@ -36,12 +36,12 @@ function LogoCloudImages({ images }: { images?: Images[] }) {
|
|
|
36
36
|
return (
|
|
37
37
|
<React.Fragment>
|
|
38
38
|
{images?.map((image, index) => (
|
|
39
|
-
<div
|
|
39
|
+
<div key={index}>
|
|
40
40
|
{image?.image ? (
|
|
41
41
|
<Flex
|
|
42
42
|
align="center"
|
|
43
43
|
justify="center"
|
|
44
|
-
className="
|
|
44
|
+
className="h-[192px] w-[192px] rounded-global bg-gray-50">
|
|
45
45
|
<Image
|
|
46
46
|
className="object-scale-down"
|
|
47
47
|
src={`${image?.image}`}
|
package/dist/chunk-6KNV7HMT.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as u}from"@stackshift-ui/container";import{Flex as e}from"@stackshift-ui/flex";import{Heading as a}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as m}from"@stackshift-ui/section";import p from"react";import{jsx as r,jsxs as d}from"react/jsx-runtime";function f({title:t,images:o}){return r(m,{className:"py-20 bg-background",children:d(u,{maxWidth:1280,children:[r(s,{title:t}),r(e,{wrap:!0,justify:"center",align:"center",children:r(i,{images:o})})]})})}function s({title:t}){return t?r(a,{className:"mb-12 text-center",fontSize:"2xl",children:t}):null}function i({images:t}){return t?r(p.Fragment,{children:t==null?void 0:t.map((o,l)=>{var n;return r("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:o!=null&&o.image?r(e,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:r(c,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(n=o==null?void 0:o.alt)!=null?n:`logoCloud-image${l}`})}):null},l)})}):null}export{f as a};
|
|
File without changes
|