@gmana/marquee
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,41 +0,8 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
Marquee: () => Marquee, | ||
MarqueeItems: () => MarqueeItems | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// src/marquee.tsx | ||
var import_utils = require("@gmana/utils"); | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Marquee({ children, speed = "slow" }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_utils.cn)("inline-block whitespace-nowrap overflow-hidden", speed === "slow" ? "animate-[slide_80s_linear_infinite]" : "animate-[slide_100s_linear_infinite]"), children }) }); | ||
} | ||
function MarqueeItems({ children }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap [&>*]:inline-block [&>*]:cursor-default [&>*]:px-[2.2rem] [&>*]:py-0 [&>*]:align-middle [&>*]:outline-none", children }) }); | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
import { | ||
Marquee, | ||
MarqueeItems | ||
}); | ||
} from "./chunk-VF2VZGDH.js"; | ||
export { | ||
Marquee, | ||
MarqueeItems | ||
}; |
@@ -1,39 +0,8 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/marquee.tsx | ||
var marquee_exports = {}; | ||
__export(marquee_exports, { | ||
Marquee: () => Marquee, | ||
MarqueeItems: () => MarqueeItems | ||
}); | ||
module.exports = __toCommonJS(marquee_exports); | ||
var import_utils = require("@gmana/utils"); | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Marquee({ children, speed = "slow" }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_utils.cn)("inline-block whitespace-nowrap overflow-hidden", speed === "slow" ? "animate-[slide_80s_linear_infinite]" : "animate-[slide_100s_linear_infinite]"), children }) }); | ||
} | ||
function MarqueeItems({ children }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap [&>*]:inline-block [&>*]:cursor-default [&>*]:px-[2.2rem] [&>*]:py-0 [&>*]:align-middle [&>*]:outline-none", children }) }); | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
import { | ||
Marquee, | ||
MarqueeItems | ||
}); | ||
} from "./chunk-VF2VZGDH.js"; | ||
export { | ||
Marquee, | ||
MarqueeItems | ||
}; |
@@ -1,41 +0,8 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
Marquee: () => Marquee, | ||
MarqueeItems: () => MarqueeItems | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
// src/marquee.tsx | ||
var import_utils = require("@gmana/utils"); | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Marquee({ children, speed = "slow" }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_utils.cn)("inline-block whitespace-nowrap overflow-hidden", speed === "slow" ? "animate-[slide_80s_linear_infinite]" : "animate-[slide_100s_linear_infinite]"), children }) }); | ||
} | ||
function MarqueeItems({ children }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap [&>*]:inline-block [&>*]:cursor-default [&>*]:px-[2.2rem] [&>*]:py-0 [&>*]:align-middle [&>*]:outline-none", children }) }); | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
import { | ||
Marquee, | ||
MarqueeItems | ||
}); | ||
} from "./chunk-VF2VZGDH.js"; | ||
export { | ||
Marquee, | ||
MarqueeItems | ||
}; |
@@ -1,39 +0,8 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/marquee.tsx | ||
var marquee_exports = {}; | ||
__export(marquee_exports, { | ||
Marquee: () => Marquee, | ||
MarqueeItems: () => MarqueeItems | ||
}); | ||
module.exports = __toCommonJS(marquee_exports); | ||
var import_utils = require("@gmana/utils"); | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Marquee({ children, speed = "slow" }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_utils.cn)("inline-block whitespace-nowrap overflow-hidden", speed === "slow" ? "animate-[slide_80s_linear_infinite]" : "animate-[slide_100s_linear_infinite]"), children }) }); | ||
} | ||
function MarqueeItems({ children }) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "overflow-hidden whitespace-nowrap [&>*]:inline-block [&>*]:cursor-default [&>*]:px-[2.2rem] [&>*]:py-0 [&>*]:align-middle [&>*]:outline-none", children }) }); | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
import { | ||
Marquee, | ||
MarqueeItems | ||
}); | ||
} from "./chunk-VF2VZGDH.js"; | ||
export { | ||
Marquee, | ||
MarqueeItems | ||
}; |
{ | ||
"name": "@gmana/marquee", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "marquee components", | ||
@@ -15,2 +15,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "build/legacy/index.cjs", | ||
@@ -35,3 +36,3 @@ "sideEffects": false, | ||
"@gmana/core": "1.3.14", | ||
"@gmana/utils": "1.3.10" | ||
"@gmana/utils": "1.3.11" | ||
}, | ||
@@ -38,0 +39,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13581
Yes
+ Added@gmana/utils@1.3.11(transitive)
- Removed@gmana/utils@1.3.10(transitive)
Updated@gmana/utils@1.3.11