🐛 (calCom) Fix weekly and column layouts restrained from max-width prop
This commit is contained in:
@ -12055,9 +12055,6 @@
|
|||||||
"url": {
|
"url": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"maxBubbleWidth": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"waitForEventFunction": {
|
"waitForEventFunction": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -29,7 +29,7 @@ You can find the full license [here](https://raw.githubusercontent.com/baptisteA
|
|||||||
|
|
||||||
Here is a summary of the license:
|
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:
|
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:
|
||||||
|
|
||||||
|
@ -153,7 +153,6 @@ export const executeForgedBlock = async (
|
|||||||
url: action.run.web.displayEmbedBubble.parseUrl({
|
url: action.run.web.displayEmbedBubble.parseUrl({
|
||||||
options: parsedOptions,
|
options: parsedOptions,
|
||||||
}),
|
}),
|
||||||
maxBubbleWidth: action.run.web.displayEmbedBubble.maxBubbleWidth,
|
|
||||||
initFunction: action.run.web.displayEmbedBubble.parseInitFunction({
|
initFunction: action.run.web.displayEmbedBubble.parseInitFunction({
|
||||||
options: parsedOptions,
|
options: parsedOptions,
|
||||||
}),
|
}),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/js",
|
"name": "@typebot.io/js",
|
||||||
"version": "0.2.83",
|
"version": "0.2.84",
|
||||||
"description": "Javascript library to display typebots on your website",
|
"description": "Javascript library to display typebots on your website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -60,14 +60,7 @@ export const CustomEmbedBubble = (props: Props) => {
|
|||||||
ref={ref}
|
ref={ref}
|
||||||
>
|
>
|
||||||
<div class="flex w-full items-center">
|
<div class="flex w-full items-center">
|
||||||
<div
|
<div class="flex relative z-10 items-start typebot-host-bubble w-full max-w-full">
|
||||||
class="flex relative z-10 items-start typebot-host-bubble w-full"
|
|
||||||
style={{
|
|
||||||
'max-width': props.content.maxBubbleWidth
|
|
||||||
? `${props.content.maxBubbleWidth}px`
|
|
||||||
: '100%',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
class="flex items-center absolute px-4 py-2 bubble-typing z-10 "
|
class="flex items-center absolute px-4 py-2 bubble-typing z-10 "
|
||||||
style={{
|
style={{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/nextjs",
|
"name": "@typebot.io/nextjs",
|
||||||
"version": "0.2.83",
|
"version": "0.2.84",
|
||||||
"description": "Convenient library to display typebots on your Next.js website",
|
"description": "Convenient library to display typebots on your Next.js website",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/react",
|
"name": "@typebot.io/react",
|
||||||
"version": "0.2.83",
|
"version": "0.2.84",
|
||||||
"description": "Convenient library to display typebots on your React app",
|
"description": "Convenient library to display typebots on your React app",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
@ -43,7 +43,6 @@ export const bookEvent = createAction({
|
|||||||
web: {
|
web: {
|
||||||
displayEmbedBubble: {
|
displayEmbedBubble: {
|
||||||
parseUrl: ({ options }) => options.link,
|
parseUrl: ({ options }) => options.link,
|
||||||
maxBubbleWidth: 780,
|
|
||||||
waitForEvent: {
|
waitForEvent: {
|
||||||
getSaveVariableId: ({ saveBookedDateInVariableId }) =>
|
getSaveVariableId: ({ saveBookedDateInVariableId }) =>
|
||||||
saveBookedDateInVariableId,
|
saveBookedDateInVariableId,
|
||||||
|
@ -85,7 +85,6 @@ export type ActionDefinition<
|
|||||||
parseInitFunction: (params: {
|
parseInitFunction: (params: {
|
||||||
options: z.infer<BaseOptions> & z.infer<Options>
|
options: z.infer<BaseOptions> & z.infer<Options>
|
||||||
}) => FunctionToExecute
|
}) => FunctionToExecute
|
||||||
maxBubbleWidth?: number
|
|
||||||
}
|
}
|
||||||
parseFunction?: (params: {
|
parseFunction?: (params: {
|
||||||
options: z.infer<BaseOptions> & z.infer<Options>
|
options: z.infer<BaseOptions> & z.infer<Options>
|
||||||
|
@ -100,7 +100,6 @@ const embedMessageSchema = z
|
|||||||
|
|
||||||
const displayEmbedBubbleSchema = z.object({
|
const displayEmbedBubbleSchema = z.object({
|
||||||
url: z.string().optional(),
|
url: z.string().optional(),
|
||||||
maxBubbleWidth: z.number().optional(),
|
|
||||||
waitForEventFunction: z
|
waitForEventFunction: z
|
||||||
.object({
|
.object({
|
||||||
args: z.record(z.string(), z.unknown()),
|
args: z.record(z.string(), z.unknown()),
|
||||||
|
Reference in New Issue
Block a user