Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@collabkit/pro-theme-cashboard

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@collabkit/pro-theme-cashboard - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

103

dist/collabkit-cashboard.js

@@ -1,2 +0,2 @@

import { Comment as d, Profile as w, Thread as l, usePopoverThread as y, Popover as p, Scrollable as b, CommentList as f, useComposer as S, Composer as x, Button as m } from "@collabkit/react";
import { Comment as d, Profile as w, Thread as x, usePopoverThread as y, Popover as p, Scrollable as b, CommentList as f, useComposer as S, Composer as h, Button as m } from "@collabkit/react";
import P from "react";

@@ -167,3 +167,3 @@ const j = {

};
var s = { exports: {} }, c = {};
var l = { exports: {} }, s = {};
/**

@@ -179,22 +179,22 @@ * @license React

var C = P, E = Symbol.for("react.element"), k = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, z = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
function u(o, r, a) {
var t, i = {}, h = null, g = null;
a !== void 0 && (h = "" + a), r.key !== void 0 && (h = "" + r.key), r.ref !== void 0 && (g = r.ref);
for (t in r)
_.call(r, t) && !R.hasOwnProperty(t) && (i[t] = r[t]);
if (o && o.defaultProps)
for (t in r = o.defaultProps, r)
i[t] === void 0 && (i[t] = r[t]);
return { $$typeof: E, type: o, key: h, ref: g, props: i, _owner: z.current };
function u(r, o, a) {
var t, i = {}, c = null, g = null;
a !== void 0 && (c = "" + a), o.key !== void 0 && (c = "" + o.key), o.ref !== void 0 && (g = o.ref);
for (t in o)
_.call(o, t) && !R.hasOwnProperty(t) && (i[t] = o[t]);
if (r && r.defaultProps)
for (t in o = r.defaultProps, o)
i[t] === void 0 && (i[t] = o[t]);
return { $$typeof: E, type: r, key: c, ref: g, props: i, _owner: z.current };
}
c.Fragment = k;
c.jsx = u;
c.jsxs = u;
(function(o) {
o.exports = c;
})(s);
const F = s.exports.Fragment, e = s.exports.jsx, n = s.exports.jsxs;
s.Fragment = k;
s.jsx = u;
s.jsxs = u;
(function(r) {
r.exports = s;
})(l);
const F = l.exports.Fragment, e = l.exports.jsx, n = l.exports.jsxs;
function v({
hideProfile: o,
showResolveThreadButton: r,
hideProfile: r,
showResolveThreadButton: o,
commentId: a

@@ -206,3 +206,3 @@ }) {

className: "flex gap-3 relative",
children: [!o && /* @__PURE__ */ n(F, {
children: [!r && /* @__PURE__ */ n(F, {
children: [/* @__PURE__ */ e(w.Avatar, {}), /* @__PURE__ */ n("div", {

@@ -214,3 +214,3 @@ className: "flex flex-col mb-3",

className: "absolute top-0 right-0 flex",
children: [r && /* @__PURE__ */ e(l.ResolveIconButton, {}), /* @__PURE__ */ e(d.MoreMenu, {})]
children: [o && /* @__PURE__ */ e(x.ResolveIconButton, {}), /* @__PURE__ */ e(d.MoreMenu, {})]
})]

@@ -222,15 +222,10 @@ }), /* @__PURE__ */ e(d.Body, {}), /* @__PURE__ */ e(d.Editor, {

}
function T({
threadId: o
}) {
return /* @__PURE__ */ e(l.Provider, {
threadId: o,
children: /* @__PURE__ */ e("div", {
className: "rounded-lg w-[270px] border border-solid border-cb-bg3 shadow-cb-standard hover:shadow-cb-high",
children: /* @__PURE__ */ e(b, {
autoScroll: "bottom",
children: /* @__PURE__ */ e(f, {
renderComment: (r) => /* @__PURE__ */ e(v, {
...r
})
function T() {
return /* @__PURE__ */ e("div", {
className: "bg-white rounded-lg w-[270px] border border-solid border-cb-bg3 shadow-cb-standard hover:shadow-cb-high",
children: /* @__PURE__ */ e(b, {
autoScroll: "bottom",
children: /* @__PURE__ */ e(f, {
renderComment: (r) => /* @__PURE__ */ e(v, {
...r
})

@@ -242,6 +237,6 @@ })

function B({
hideThread: o
hideThread: r
}) {
const {
canSend: r,
canSend: o,
send: a,

@@ -251,3 +246,3 @@ hasMentions: t

return /* @__PURE__ */ n("div", {
className: "rounded-lg w-[270px] border border-solid border-cb-bg3 shadow-cb-high",
className: "bg-white rounded-lg w-[270px] border border-solid border-cb-bg3 shadow-cb-high",
children: [/* @__PURE__ */ e(b, {

@@ -260,6 +255,6 @@ autoScroll: "bottom",

})
}), /* @__PURE__ */ e(x.Root, {
}), /* @__PURE__ */ e(h.Root, {
className: "border-t border-cb-bg3 pt-4 px-4",
children: /* @__PURE__ */ e(x.Editor, {
placeholder: /* @__PURE__ */ e(x.Placeholder, {
children: /* @__PURE__ */ e(h.Editor, {
placeholder: /* @__PURE__ */ e(h.Placeholder, {
children: "Comment or add others with @"

@@ -276,3 +271,3 @@ })

type: "secondary",
onPointerDown: o
onPointerDown: r
}), /* @__PURE__ */ e(m, {

@@ -282,3 +277,3 @@ text: "Comment",

onPointerDown: a,
disabled: !r
disabled: !o
})]

@@ -288,10 +283,10 @@ })]

}
function D(o) {
const r = y(o), {
function D(r) {
const o = y(r), {
objectId: a,
lockScroll: t,
...i
} = o;
} = r;
return /* @__PURE__ */ n(p.Root, {
...r,
...o,
children: [/* @__PURE__ */ e(p.Trigger, {

@@ -301,14 +296,12 @@ ...i

children: [/* @__PURE__ */ e(p.Preview, {
children: r.hasThread && /* @__PURE__ */ e(l.Provider, {
...r,
children: /* @__PURE__ */ e(T, {
threadId: r.threadId
})
children: o.hasThread && /* @__PURE__ */ e(x.Provider, {
...o,
children: /* @__PURE__ */ e(T, {})
})
}), /* @__PURE__ */ e(p.Content, {
lockScroll: t,
children: /* @__PURE__ */ e(l.Provider, {
...r,
children: /* @__PURE__ */ e(x.Provider, {
...o,
children: /* @__PURE__ */ e(B, {
...r
...o
})

@@ -315,0 +308,0 @@ })

{
"name": "@collabkit/pro-theme-cashboard",
"version": "0.1.2",
"version": "0.1.3",
"type": "module",
"files": [
"dist/collabkit-cashboard.d.ts",
"dist/collabkit-cashboard.js",
"dist/style.css"
"dist/collabkit-cashboard.js"
],

@@ -13,3 +12,2 @@ "types": "./dist/collabkit-cashboard.d.ts",

"exports": {
"./dist/style.css": "./dist/style.css",
".": {

@@ -16,0 +14,0 @@ "types": "./dist/collabkit-cashboard.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc