@hh.ru/magritte-ui-chat-marker 1.0.4 → 1.0.6
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/ChatMarker.js +1 -1
- package/index.css +20 -20
- package/package.json +10 -10
package/ChatMarker.js
CHANGED
|
@@ -8,7 +8,7 @@ import { IconDefaultPropsContext } from '@hh.ru/magritte-ui-icon';
|
|
|
8
8
|
import { LoaderDefaultPropsContext } from '@hh.ru/magritte-ui-loader';
|
|
9
9
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
10
10
|
|
|
11
|
-
var styles = {"chat-marker":"magritte-chat-marker___ya9dO_1-0-
|
|
11
|
+
var styles = {"chat-marker":"magritte-chat-marker___ya9dO_1-0-6","chatMarker":"magritte-chat-marker___ya9dO_1-0-6","line":"magritte-line___0zxh4_1-0-6","icon":"magritte-icon___RUogw_1-0-6","label":"magritte-label___RKh8J_1-0-6","label-outgoing":"magritte-label-outgoing___gqTn0_1-0-6","labelOutgoing":"magritte-label-outgoing___gqTn0_1-0-6","fade-out":"magritte-fade-out___Mog0k_1-0-6","fadeOut":"magritte-fade-out___Mog0k_1-0-6","label-outgoing-centered":"magritte-label-outgoing-centered___GikqE_1-0-6","labelOutgoingCentered":"magritte-label-outgoing-centered___GikqE_1-0-6","label-incoming":"magritte-label-incoming___cq-7a_1-0-6","labelIncoming":"magritte-label-incoming___cq-7a_1-0-6","fade-in":"magritte-fade-in___gDnCc_1-0-6","fadeIn":"magritte-fade-in___gDnCc_1-0-6"};
|
|
12
12
|
|
|
13
13
|
const LABEL_ID = 'label';
|
|
14
14
|
const ChatMarker = forwardRef(({ className, 'data-qa': dataQa = 'chat-marker', divider = false, icon, label, mode = 'secondary', ...props }, ref) => {
|
package/index.css
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-semantic-animation-time-s-duration-
|
|
3
|
-
--magritte-semantic-animation-ease-base-timing-function-
|
|
2
|
+
--magritte-semantic-animation-time-s-duration-v26-0-0:200ms;
|
|
3
|
+
--magritte-semantic-animation-ease-base-timing-function-v26-0-0:cubic-bezier(0.4, 0.24, 0, 1);
|
|
4
4
|
}
|
|
5
|
-
.magritte-chat-marker___ya9dO_1-0-
|
|
5
|
+
.magritte-chat-marker___ya9dO_1-0-6{
|
|
6
6
|
--label-animation-duration:0ms;
|
|
7
7
|
display:flex;
|
|
8
8
|
align-items:flex-start;
|
|
9
9
|
gap:12px;
|
|
10
10
|
}
|
|
11
11
|
@media (prefers-reduced-motion: no-preference){
|
|
12
|
-
.magritte-chat-marker___ya9dO_1-0-
|
|
13
|
-
--label-animation-duration:var(--magritte-semantic-animation-time-s-duration-
|
|
12
|
+
.magritte-chat-marker___ya9dO_1-0-6{
|
|
13
|
+
--label-animation-duration:var(--magritte-semantic-animation-time-s-duration-v26-0-0);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
.magritte-line___0zxh4_1-0-
|
|
17
|
-
.magritte-icon___RUogw_1-0-
|
|
16
|
+
.magritte-line___0zxh4_1-0-6,
|
|
17
|
+
.magritte-icon___RUogw_1-0-6{
|
|
18
18
|
display:flex;
|
|
19
19
|
align-items:center;
|
|
20
20
|
height:20px;
|
|
21
21
|
}
|
|
22
|
-
.magritte-line___0zxh4_1-0-
|
|
22
|
+
.magritte-line___0zxh4_1-0-6{
|
|
23
23
|
flex:1 1 0;
|
|
24
24
|
}
|
|
25
|
-
.magritte-icon___RUogw_1-0-
|
|
25
|
+
.magritte-icon___RUogw_1-0-6{
|
|
26
26
|
flex-shrink:0;
|
|
27
27
|
}
|
|
28
|
-
.magritte-label___RKh8J_1-0-
|
|
28
|
+
.magritte-label___RKh8J_1-0-6{
|
|
29
29
|
position:relative;
|
|
30
30
|
flex:0 1 auto;
|
|
31
31
|
min-width:0;
|
|
32
32
|
}
|
|
33
|
-
.magritte-label-outgoing___gqTn0_1-0-
|
|
33
|
+
.magritte-label-outgoing___gqTn0_1-0-6{
|
|
34
34
|
position:absolute;
|
|
35
35
|
top:0;
|
|
36
36
|
left:0;
|
|
37
|
-
animation-name:magritte-fade-out___Mog0k_1-0-
|
|
37
|
+
animation-name:magritte-fade-out___Mog0k_1-0-6;
|
|
38
38
|
}
|
|
39
|
-
.magritte-label-outgoing-centered___GikqE_1-0-
|
|
39
|
+
.magritte-label-outgoing-centered___GikqE_1-0-6{
|
|
40
40
|
left:50%;
|
|
41
41
|
transform:translateX(-50%);
|
|
42
42
|
}
|
|
43
|
-
.magritte-label-incoming___cq-7a_1-0-
|
|
44
|
-
.magritte-label-outgoing___gqTn0_1-0-
|
|
43
|
+
.magritte-label-incoming___cq-7a_1-0-6,
|
|
44
|
+
.magritte-label-outgoing___gqTn0_1-0-6{
|
|
45
45
|
animation-duration:var(--label-animation-duration);
|
|
46
|
-
animation-timing-function:var(--magritte-semantic-animation-ease-base-timing-function-
|
|
46
|
+
animation-timing-function:var(--magritte-semantic-animation-ease-base-timing-function-v26-0-0);
|
|
47
47
|
animation-fill-mode:forwards;
|
|
48
48
|
}
|
|
49
|
-
.magritte-label-incoming___cq-7a_1-0-
|
|
50
|
-
animation-name:magritte-fade-in___gDnCc_1-0-
|
|
49
|
+
.magritte-label-incoming___cq-7a_1-0-6{
|
|
50
|
+
animation-name:magritte-fade-in___gDnCc_1-0-6;
|
|
51
51
|
}
|
|
52
|
-
@keyframes magritte-fade-in___gDnCc_1-0-
|
|
52
|
+
@keyframes magritte-fade-in___gDnCc_1-0-6{
|
|
53
53
|
from{
|
|
54
54
|
opacity:0;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
opacity:1;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
@keyframes magritte-fade-out___Mog0k_1-0-
|
|
60
|
+
@keyframes magritte-fade-out___Mog0k_1-0-6{
|
|
61
61
|
from{
|
|
62
62
|
opacity:1;
|
|
63
63
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-chat-marker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"prepack": "yarn root:prepack $(pwd)",
|
|
13
13
|
"postpublish": "yarn root:postpublish $(pwd)",
|
|
14
14
|
"stylelint-check": "yarn root:stylelint-check $(pwd)",
|
|
15
|
-
"
|
|
15
|
+
"lint-check": "yarn root:lint-check $(pwd)",
|
|
16
16
|
"ts-config": "yarn root:ts-config $(pwd)",
|
|
17
17
|
"ts-check": "yarn root:ts-check $(pwd)",
|
|
18
18
|
"test": "yarn root:test $(pwd)",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@hh.ru/magritte-common-resize": "0.2.
|
|
26
|
-
"@hh.ru/magritte-design-tokens": "
|
|
27
|
-
"@hh.ru/magritte-ui-divider": "3.2.
|
|
28
|
-
"@hh.ru/magritte-ui-icon": "15.1.
|
|
29
|
-
"@hh.ru/magritte-ui-loader": "4.1.
|
|
30
|
-
"@hh.ru/magritte-ui-mock-component": "1.1.
|
|
31
|
-
"@hh.ru/magritte-ui-typography": "5.3.
|
|
25
|
+
"@hh.ru/magritte-common-resize": "0.2.3",
|
|
26
|
+
"@hh.ru/magritte-design-tokens": "26.0.0",
|
|
27
|
+
"@hh.ru/magritte-ui-divider": "3.2.11",
|
|
28
|
+
"@hh.ru/magritte-ui-icon": "15.1.4",
|
|
29
|
+
"@hh.ru/magritte-ui-loader": "4.1.5",
|
|
30
|
+
"@hh.ru/magritte-ui-mock-component": "1.1.8",
|
|
31
|
+
"@hh.ru/magritte-ui-typography": "5.3.15"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"classnames": ">=2.3.2",
|
|
35
35
|
"react": ">=18.2.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b0ff5da48fb29d516c8289082560ee1882d16986"
|
|
38
38
|
}
|