callix-dialer-widget 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53416,15 +53416,7 @@ function FloatingDialer({
|
|
|
53416
53416
|
}
|
|
53417
53417
|
);
|
|
53418
53418
|
if (isMiniMode) {
|
|
53419
|
-
return
|
|
53420
|
-
"div",
|
|
53421
|
-
{
|
|
53422
|
-
className: ["callix", "mode", "min", tw`w-full`].join(" "),
|
|
53423
|
-
"data-callix-variant": "min",
|
|
53424
|
-
style: { width: "100%", height: "100%" },
|
|
53425
|
-
children: dialerContent
|
|
53426
|
-
}
|
|
53427
|
-
);
|
|
53419
|
+
return dialerContent;
|
|
53428
53420
|
}
|
|
53429
53421
|
const scale = Number.isFinite(contentScale) && contentScale > 0 ? contentScale : 1;
|
|
53430
53422
|
const scaledWidth = DEFAULT_DIALER_DIMENSIONS.width / scale;
|
|
@@ -55177,49 +55169,12 @@ function ActiveCallSummary({
|
|
|
55177
55169
|
] }) });
|
|
55178
55170
|
}
|
|
55179
55171
|
function InlineDialer({ variant = "default", ...props }) {
|
|
55180
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
55172
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
55181
55173
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55182
55174
|
"style",
|
|
55183
55175
|
{
|
|
55184
55176
|
dangerouslySetInnerHTML: {
|
|
55185
55177
|
__html: `
|
|
55186
|
-
/* Wrapper base */
|
|
55187
|
-
.callix-inline-wrapper {
|
|
55188
|
-
position: relative;
|
|
55189
|
-
display: flex;
|
|
55190
|
-
width: 100%;
|
|
55191
|
-
height: 100%;
|
|
55192
|
-
}
|
|
55193
|
-
.callix-inline-wrapper > div {
|
|
55194
|
-
position: static !important;
|
|
55195
|
-
inset: auto !important;
|
|
55196
|
-
transform: none !important;
|
|
55197
|
-
width: 100% !important;
|
|
55198
|
-
height: 100% !important;
|
|
55199
|
-
}
|
|
55200
|
-
.callix-inline-wrapper [data-floating-dialer-card] {
|
|
55201
|
-
position: relative !important;
|
|
55202
|
-
inset: auto !important;
|
|
55203
|
-
transform: none !important;
|
|
55204
|
-
width: 100% !important;
|
|
55205
|
-
height: 100% !important;
|
|
55206
|
-
box-shadow: none !important;
|
|
55207
|
-
backdrop-filter: none !important;
|
|
55208
|
-
}
|
|
55209
|
-
.callix-inline-wrapper [data-floating-dialer-card] > div:first-child {
|
|
55210
|
-
width: 100% !important;
|
|
55211
|
-
height: 100% !important;
|
|
55212
|
-
transform-origin: top left !important;
|
|
55213
|
-
}
|
|
55214
|
-
.callix-inline-wrapper [data-floating-dialer-card] [data-floating-dialer-content] {
|
|
55215
|
-
width: auto !important;
|
|
55216
|
-
min-width: 448px !important;
|
|
55217
|
-
min-height: 640px !important;
|
|
55218
|
-
}
|
|
55219
|
-
.callix-inline-wrapper [data-floating-dialer-resize] {
|
|
55220
|
-
display: none !important;
|
|
55221
|
-
}
|
|
55222
|
-
|
|
55223
55178
|
/* Estilos para modo mini quando Tailwind CDN não processa classes */
|
|
55224
55179
|
.callix.mode.min {
|
|
55225
55180
|
display: flex !important;
|
|
@@ -55314,7 +55269,7 @@ function InlineDialer({ variant = "default", ...props }) {
|
|
|
55314
55269
|
}
|
|
55315
55270
|
}
|
|
55316
55271
|
),
|
|
55317
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55272
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(FloatingDialer, { ...props, variant })
|
|
55318
55273
|
] });
|
|
55319
55274
|
}
|
|
55320
55275
|
function deriveOptionsFromElement(element) {
|