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

msc-ai-assistant

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

msc-ai-assistant - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

17

mjs/wc-msc-ai-assistant.js

@@ -140,5 +140,12 @@ import { _wcl } from './common-lib.js';

opacity: 1;
inset-block-start: var(--assistant-inset-block-start);
@starting-style {
opacity: 0;
inset-block-start: calc(var(--assistant-inset-block-start) + 20px);
}
}
opacity: 0;
inset-block-start: calc(var(--assistant-inset-block-start) - 50px);

@@ -155,8 +162,2 @@ will-change: inline-size,inset-inline-start,inset-block-start,opacity,display;

@starting-style {
&:popover-open {
opacity: 0;
}
}
.ai-assistant__head {

@@ -1036,2 +1037,6 @@ display: flex;

get open() {
return this.#nodes.assistant.matches(':popover-open');
}
get available() {

@@ -1038,0 +1043,0 @@ return available;

{
"name": "msc-ai-assistant",
"version": "1.0.7",
"version": "1.0.8",
"description": "<msc-ai-assistant /> is a web component based on Chrome Built-in AI Prompt API. Web developers could use <msc-ai-assistant /> to help user consult anything they like to know.",

@@ -5,0 +5,0 @@ "main": "index.html",

@@ -178,2 +178,3 @@ # msc-ai-assistant

| l10n | Object | Getter / Setter localization for title or or form information. Developers could set `subject`、`placeholder` and `error` here. |
| open | Boolean | Getter <msc-ai-assistant /> open or not. |
| available | String | Getter available. Web developers will get "`no`" if current browser doesn't support Build-in AI. |

@@ -196,4 +197,3 @@

- [AI on Chrome > Built-in AI](https://developer.chrome.com/docs/ai/built-in)
- [Join the early preview program
](https://docs.google.com/forms/d/e/1FAIpQLSfZXeiwj9KO9jMctffHPym88ln12xNWCrVkMY_u06WfSTulQg/viewform)
- [Join the early preview program](https://docs.google.com/forms/d/e/1FAIpQLSfZXeiwj9KO9jMctffHPym88ln12xNWCrVkMY_u06WfSTulQg/viewform)
- [Built-in AI > Prompt API](https://docs.google.com/document/d/1VG8HIyz361zGduWgNG7R_R8Xkv0OOJ8b5C9QKeCjU0c/edit?tab=t.0)

@@ -200,0 +200,0 @@ - [&lt;msc-ai-assistant /> demo](https://blog.lalacube.com/mei/webComponent_msc-ai-assistant.html)

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