2
0

🐛 (calCom) Fix weekly and column layouts restrained from max-width prop

This commit is contained in:
Baptiste Arnaud
2024-05-23 12:08:22 +02:00
parent bb4bbd8f0e
commit 10cbf4dfbc
10 changed files with 5 additions and 19 deletions

View File

@ -12055,9 +12055,6 @@
"url": {
"type": "string"
},
"maxBubbleWidth": {
"type": "number"
},
"waitForEventFunction": {
"type": "object",
"properties": {

View File

@ -29,7 +29,7 @@ You can find the full license [here](https://raw.githubusercontent.com/baptisteA
Here is a summary of the license:
All content that resides under the [ee](https://github.com/baptisteArno/typebot.io/tree/main/ee) directory of this repository is licensed under the license defined in [ee/LICENSE](./ee/LICENSE). The [ee](https://github.com/baptisteArno/typebot.io/tree/main/ee) folder contains the code for the [landing page](https://typebot.io) and the billing feature. We restrict these to a Commercial License to make sure other companies can't simply clone Typebot's homepage and billing system and offer the same service without contributing to the open-source project.
All content that resides under the [ee](https://github.com/baptisteArno/typebot.io/tree/main/ee) directory of this repository is licensed under the license defined in [ee/LICENSE](https://raw.githubusercontent.com/baptisteArno/typebot.io/main/ee/LICENSE). The [ee](https://github.com/baptisteArno/typebot.io/tree/main/ee) folder contains the code for the [landing page](https://typebot.io) and the billing feature. We restrict these to a Commercial License to make sure other companies can't simply clone Typebot's homepage and billing system and offer the same service without contributing to the open-source project.
Content outside of this directory is available under the GNU Affero General Public License Version 3 (AGPLv3). The goal of the AGPLv3 license is to:

View File

@ -153,7 +153,6 @@ export const executeForgedBlock = async (
url: action.run.web.displayEmbedBubble.parseUrl({
options: parsedOptions,
}),
maxBubbleWidth: action.run.web.displayEmbedBubble.maxBubbleWidth,
initFunction: action.run.web.displayEmbedBubble.parseInitFunction({
options: parsedOptions,
}),

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/js",
"version": "0.2.83",
"version": "0.2.84",
"description": "Javascript library to display typebots on your website",
"type": "module",
"main": "dist/index.js",

View File

@ -60,14 +60,7 @@ export const CustomEmbedBubble = (props: Props) => {
ref={ref}
>
<div class="flex w-full items-center">
<div
class="flex relative z-10 items-start typebot-host-bubble w-full"
style={{
'max-width': props.content.maxBubbleWidth
? `${props.content.maxBubbleWidth}px`
: '100%',
}}
>
<div class="flex relative z-10 items-start typebot-host-bubble w-full max-w-full">
<div
class="flex items-center absolute px-4 py-2 bubble-typing z-10 "
style={{

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/nextjs",
"version": "0.2.83",
"version": "0.2.84",
"description": "Convenient library to display typebots on your Next.js website",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/react",
"version": "0.2.83",
"version": "0.2.84",
"description": "Convenient library to display typebots on your React app",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -43,7 +43,6 @@ export const bookEvent = createAction({
web: {
displayEmbedBubble: {
parseUrl: ({ options }) => options.link,
maxBubbleWidth: 780,
waitForEvent: {
getSaveVariableId: ({ saveBookedDateInVariableId }) =>
saveBookedDateInVariableId,

View File

@ -85,7 +85,6 @@ export type ActionDefinition<
parseInitFunction: (params: {
options: z.infer<BaseOptions> & z.infer<Options>
}) => FunctionToExecute
maxBubbleWidth?: number
}
parseFunction?: (params: {
options: z.infer<BaseOptions> & z.infer<Options>

View File

@ -100,7 +100,6 @@ const embedMessageSchema = z
const displayEmbedBubbleSchema = z.object({
url: z.string().optional(),
maxBubbleWidth: z.number().optional(),
waitForEventFunction: z
.object({
args: z.record(z.string(), z.unknown()),