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

@meetelise/chat

Package Overview
Dependencies
Maintainers
3
Versions
376
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meetelise/chat - npm Package Compare versions

Comparing version 1.0.0-rc.21 to 1.0.0

.github/workflows/release.yml

12

CONTRIBUTING.md

@@ -10,2 +10,3 @@ # Chat UI

3. Run `npm install`
4. (Optional) Install VSCode.

@@ -22,9 +23,6 @@ ## Development

To deploy a new version:
New versions are generated and deployed to npm every time commits are pushed or merged to the `main` branch.
1. Increment the `version` field in **package.json**.
2. Run `npm install`.
3. Commit **package.json** and **package-lock.json**.
4. Make sure you're a member of the MeetElise organization on npm.
5. Run `npm publish`.
6. Think about how you can find the time to automate this process and close out [REX-589](https://meetelise.atlassian.net/browse/REX-589).
**Commit messages** have an impact in which versions get released. Make sure to commit using the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format, or your commits will be rejected. The only _scope_ is `chat`, so a commit message will look like e.g. `feat(chat): animate window opening and closing`.
This is necessary because CI needs to know whether to bump the major, minor, or patch semver number. The easiest way to commit your staged files with the correct format is by running `npx cz`;

@@ -10,2 +10,3 @@ /**

bannerColor: string | null;
bannerTextColor: string | null;
chatSubtitle: string | null;

@@ -18,2 +19,3 @@ chatTitle: string | null;

messageColor: string | null;
messageTextColor: string | null;
name: string;

@@ -20,0 +22,0 @@ primaryColor: string | null;

export default function resolveTheme(building, theme) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
return {

@@ -7,12 +7,12 @@ avatarInitials: (_b = (_a = theme.avatarInitials) !== null && _a !== void 0 ? _a : building.avatarInitials) !== null && _b !== void 0 ? _b : building.userFirstName[0],

bannerColor: (_e = (_d = theme.bannerColor) !== null && _d !== void 0 ? _d : building.bannerColor) !== null && _e !== void 0 ? _e : "#e7ecee",
bannerTextColor: (_f = theme.bannerTextColor) !== null && _f !== void 0 ? _f : "#000",
chatSubtitle: (_g = theme.chatSubtitle) !== null && _g !== void 0 ? _g : building.chatSubtitle,
chatTitle: (_j = (_h = theme.chatTitle) !== null && _h !== void 0 ? _h : building.chatTitle) !== null && _j !== void 0 ? _j : building.userFirstName,
launchButtonColor: (_l = (_k = theme.launchButtonColor) !== null && _k !== void 0 ? _k : building.launchButtonColor) !== null && _l !== void 0 ? _l : "#0785f2",
launchButtonIconColor: (_o = (_m = theme.launchButtonIconColor) !== null && _m !== void 0 ? _m : building.launchButtonIconColor) !== null && _o !== void 0 ? _o : "#ffffff",
launchButtonSize: (_q = (_p = theme.launchButtonSize) !== null && _p !== void 0 ? _p : building.launchButtonSize) !== null && _q !== void 0 ? _q : "60px",
messageColor: (_s = (_r = theme.messageColor) !== null && _r !== void 0 ? _r : building.messageColor) !== null && _s !== void 0 ? _s : "#0785f2",
messageTextColor: (_t = theme.messageTextColor) !== null && _t !== void 0 ? _t : "#fff",
bannerTextColor: (_g = (_f = theme.bannerTextColor) !== null && _f !== void 0 ? _f : building.bannerTextColor) !== null && _g !== void 0 ? _g : "#000",
chatSubtitle: (_h = theme.chatSubtitle) !== null && _h !== void 0 ? _h : building.chatSubtitle,
chatTitle: (_k = (_j = theme.chatTitle) !== null && _j !== void 0 ? _j : building.chatTitle) !== null && _k !== void 0 ? _k : building.userFirstName,
launchButtonColor: (_m = (_l = theme.launchButtonColor) !== null && _l !== void 0 ? _l : building.launchButtonColor) !== null && _m !== void 0 ? _m : "#0785f2",
launchButtonIconColor: (_p = (_o = theme.launchButtonIconColor) !== null && _o !== void 0 ? _o : building.launchButtonIconColor) !== null && _p !== void 0 ? _p : "#ffffff",
launchButtonSize: (_r = (_q = theme.launchButtonSize) !== null && _q !== void 0 ? _q : building.launchButtonSize) !== null && _r !== void 0 ? _r : "60px",
messageColor: (_t = (_s = theme.messageColor) !== null && _s !== void 0 ? _s : building.messageColor) !== null && _t !== void 0 ? _t : "#0785f2",
messageTextColor: (_v = (_u = theme.messageTextColor) !== null && _u !== void 0 ? _u : building.messageTextColor) !== null && _v !== void 0 ? _v : "#fff",
};
}
//# sourceMappingURL=resolveTheme.js.map
{
"name": "@meetelise/chat",
"version": "1.0.0-rc.21",
"version": "1.0.0",
"description": "",

@@ -20,3 +20,3 @@ "type": "module",

"type": "git",
"url": "git+https://github.com/MeetElise/chat-ui.git"
"url": "https://github.com/MeetElise/chat-ui.git"
},

@@ -31,2 +31,4 @@ "keywords": [],

"devDependencies": {
"@commitlint/cli": "^13.2.0",
"@commitlint/config-conventional": "^13.2.0",
"@esm-bundle/chai": "^4.3.4-fix.0",

@@ -39,2 +41,4 @@ "@types/uuid": "^8.3.1",

"@web/test-runner": "^0.13.17",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",

@@ -45,2 +49,3 @@ "eslint-config-prettier": "^8.3.0",

"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"sinon": "^11.1.2",

@@ -56,3 +61,19 @@ "typescript": "^4.3.5"

"**/*": "prettier --write --ignore-unknown"
},
"release": {
"branches": [
"main"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"defaultScope": "chat"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}

@@ -11,2 +11,3 @@ /**

bannerColor: string | null;
bannerTextColor: string | null;
chatSubtitle: string | null;

@@ -19,2 +20,3 @@ chatTitle: string | null;

messageColor: string | null;
messageTextColor: string | null;
name: string;

@@ -21,0 +23,0 @@ primaryColor: string | null;

@@ -28,3 +28,4 @@ import { Building } from "./fetchBuildingInfo";

bannerColor: theme.bannerColor ?? building.bannerColor ?? "#e7ecee",
bannerTextColor: theme.bannerTextColor ?? "#000",
bannerTextColor:
theme.bannerTextColor ?? building.bannerTextColor ?? "#000",
chatSubtitle: theme.chatSubtitle ?? building.chatSubtitle,

@@ -41,4 +42,5 @@ chatTitle: theme.chatTitle ?? building.chatTitle ?? building.userFirstName,

messageColor: theme.messageColor ?? building.messageColor ?? "#0785f2",
messageTextColor: theme.messageTextColor ?? "#fff",
messageTextColor:
theme.messageTextColor ?? building.messageTextColor ?? "#fff",
};
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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