@bikdotai/bik-component-library 0.0.5583-tooltip-beta → 0.0.5584-tooltip-beta
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.
- package/dist/cjs/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/cjs/components/template-preview/WhatsApp/ChatUI.style.js +1 -1
- package/dist/esm/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/esm/components/template-preview/WhatsApp/ChatUI.style.js +13 -13
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
border: 2px
|
|
17
17
|
${e=>e.isPreview?"unset":e.isWhatsappCarousel?e.hasError?"dashed":e.showBorder?"solid":"dashed":"solid"}
|
|
18
18
|
${r.COLORS.stroke.brand};
|
|
19
|
-
box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25);
|
|
19
|
+
box-shadow: ${e=>!e.isPreview&&"4px 4px 12px rgba(0, 0, 0, 0.25)"};
|
|
20
20
|
}
|
|
21
21
|
`,a=i.default(t.Caption)`
|
|
22
22
|
color: ${r.COLORS.content.secondary};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"styled-components";import{Caption as r}from"../../TypographyStyle.js";import{COLORS as o}from"../../../constants/Theme.js";const t=e.div`
|
|
2
2
|
background: ${o.surface.standard};
|
|
3
|
-
border-top-left-radius: ${
|
|
3
|
+
border-top-left-radius: ${e=>e.isCarouselCard?"12px":"0px"};
|
|
4
4
|
border-top-right-radius: 12px;
|
|
5
5
|
border-bottom-right-radius: 12px;
|
|
6
6
|
border-bottom-left-radius: 12px;
|
|
7
7
|
position: relative;
|
|
8
8
|
padding: 8px 0px;
|
|
9
9
|
border: 2px solid
|
|
10
|
-
${
|
|
11
|
-
border: ${
|
|
10
|
+
${e=>e.hasError?`${o.content.negative}`:e.showBorder?`${o.stroke.brand}`:`${o.stroke.primary}`};
|
|
11
|
+
border: ${e=>e.showDashedBorder&&`2px dashed ${o.content.brand}`};
|
|
12
12
|
height: 100%;
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
:hover {
|
|
16
16
|
border: 2px
|
|
17
|
-
${
|
|
17
|
+
${e=>e.isPreview?"unset":e.isWhatsappCarousel?e.hasError?"dashed":e.showBorder?"solid":"dashed":"solid"}
|
|
18
18
|
${o.stroke.brand};
|
|
19
|
-
box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25);
|
|
19
|
+
box-shadow: ${e=>!e.isPreview&&"4px 4px 12px rgba(0, 0, 0, 0.25)"};
|
|
20
20
|
}
|
|
21
|
-
`,i=r
|
|
21
|
+
`,i=e(r)`
|
|
22
22
|
color: ${o.content.secondary};
|
|
23
23
|
max-width: 80px;
|
|
24
24
|
text-overflow: ellipsis;
|
|
25
25
|
white-space: nowrap;
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
text-wrap: wrap;
|
|
28
|
-
`,d=
|
|
28
|
+
`,d=e(i)`
|
|
29
29
|
max-width: 200px;
|
|
30
|
-
`,s=
|
|
30
|
+
`,s=e.div`
|
|
31
31
|
border-radius: 8px;
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
@@ -36,19 +36,19 @@ import r from"styled-components";import{Caption as e}from"../../TypographyStyle.
|
|
|
36
36
|
min-height: 152px;
|
|
37
37
|
margin-bottom: 4px;
|
|
38
38
|
margin: 0px 8px;
|
|
39
|
-
`,p=
|
|
39
|
+
`,p=e.div`
|
|
40
40
|
padding: 12px;
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: row;
|
|
43
43
|
justify-content: center;
|
|
44
44
|
align-items: center;
|
|
45
45
|
border-top: 1px solid ${o.stroke.primary};
|
|
46
|
-
`,a=
|
|
46
|
+
`,a=e.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: row;
|
|
49
49
|
justify-content: space-between;
|
|
50
50
|
margin: 8px 12px;
|
|
51
|
-
`;
|
|
51
|
+
`;e.div`
|
|
52
52
|
position: absolute;
|
|
53
53
|
bottom: -1px;
|
|
54
54
|
left: 0;
|
|
@@ -62,7 +62,7 @@ import r from"styled-components";import{Caption as e}from"../../TypographyStyle.
|
|
|
62
62
|
background: ${o.surface.hovered};
|
|
63
63
|
border-bottom-right-radius: 8px;
|
|
64
64
|
border-bottom-left-radius: 8px;
|
|
65
|
-
`,
|
|
65
|
+
`,e.div`
|
|
66
66
|
position: absolute;
|
|
67
67
|
top: 16px;
|
|
68
68
|
right: 16px;
|