@hh.ru/magritte-ui-tabs 7.2.73 → 7.2.75

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/index.css CHANGED
@@ -1,60 +1,60 @@
1
1
  :root{
2
- --magritte-color-component-tabs-stroke-state-focused-accessible-v26-0-0:#0070ff7a;
3
- --magritte-color-component-tabs-background-selected-v26-0-0:#000000;
4
- --magritte-color-component-tabs-background-unselected-v26-0-0:#F1F4F9;
5
- --magritte-color-component-tabs-background-state-unselected-pressed-v26-0-0:#F1F4F9;
6
- --magritte-color-component-tabs-background-state-unselected-focused-v26-0-0:#F1F4F9;
7
- --magritte-color-component-tabs-background-state-selected-focused-v26-0-0:#000000;
8
- --magritte-color-component-tabs-background-state-unselected-hovered-v26-0-0:#DCE3EB;
9
- --magritte-color-component-tabs-text-selected-v26-0-0:#ffffff;
10
- --magritte-color-component-tabs-text-unselected-v26-0-0:#6a7885;
11
- --magritte-color-component-tabs-postfix-text-selected-v26-0-0:#BBC8D4;
12
- --magritte-color-component-tabs-postfix-text-unselected-v26-0-0:#AABBCA;
13
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v26-0-0:#0070ff7a;
14
- --magritte-color-component-secondary-tabs-text-selected-v26-0-0:#000000;
15
- --magritte-color-component-secondary-tabs-text-unselected-v26-0-0:#768694;
16
- --magritte-color-component-secondary-tabs-indicator-selected-v26-0-0:#000000;
17
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-0:#000000;
18
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-0:#000000;
19
- --magritte-color-component-secondary-tabs-postfix-text-selected-v26-0-0:#AABBCA;
20
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v26-0-0:#AABBCA;
2
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v26-0-2:#0070ff7a;
3
+ --magritte-color-component-tabs-background-selected-v26-0-2:#000000;
4
+ --magritte-color-component-tabs-background-unselected-v26-0-2:#F1F4F9;
5
+ --magritte-color-component-tabs-background-state-unselected-pressed-v26-0-2:#F1F4F9;
6
+ --magritte-color-component-tabs-background-state-unselected-focused-v26-0-2:#F1F4F9;
7
+ --magritte-color-component-tabs-background-state-selected-focused-v26-0-2:#000000;
8
+ --magritte-color-component-tabs-background-state-unselected-hovered-v26-0-2:#DCE3EB;
9
+ --magritte-color-component-tabs-text-selected-v26-0-2:#ffffff;
10
+ --magritte-color-component-tabs-text-unselected-v26-0-2:#6a7885;
11
+ --magritte-color-component-tabs-postfix-text-selected-v26-0-2:#BBC8D4;
12
+ --magritte-color-component-tabs-postfix-text-unselected-v26-0-2:#AABBCA;
13
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v26-0-2:#0070ff7a;
14
+ --magritte-color-component-secondary-tabs-text-selected-v26-0-2:#000000;
15
+ --magritte-color-component-secondary-tabs-text-unselected-v26-0-2:#768694;
16
+ --magritte-color-component-secondary-tabs-indicator-selected-v26-0-2:#000000;
17
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-2:#000000;
18
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-2:#000000;
19
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v26-0-2:#AABBCA;
20
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v26-0-2:#AABBCA;
21
21
  }
22
22
 
23
23
  :root{
24
- --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v26-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
25
- --magritte-semantic-animation-ease-in-out-tiger-100-duration-v26-0-0:100ms;
26
- --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v26-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
27
- --magritte-semantic-animation-ease-in-out-tiger-200-duration-v26-0-0:200ms;
24
+ --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v26-0-2:cubic-bezier(0.25, 0.1, 0.25, 1);
25
+ --magritte-semantic-animation-ease-in-out-tiger-100-duration-v26-0-2:100ms;
26
+ --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v26-0-2:cubic-bezier(0.25, 0.1, 0.25, 1);
27
+ --magritte-semantic-animation-ease-in-out-tiger-200-duration-v26-0-2:200ms;
28
28
  }
29
29
 
30
30
  .magritte-night-theme{
31
- --magritte-color-component-tabs-background-selected-v26-0-0:#ffffff;
32
- --magritte-color-component-tabs-background-unselected-v26-0-0:#303030;
33
- --magritte-color-component-tabs-background-state-unselected-pressed-v26-0-0:#303030;
34
- --magritte-color-component-tabs-background-state-unselected-focused-v26-0-0:#303030;
35
- --magritte-color-component-tabs-background-state-selected-focused-v26-0-0:#ffffff;
36
- --magritte-color-component-tabs-background-state-unselected-hovered-v26-0-0:#3B3B3B;
37
- --magritte-color-component-tabs-text-selected-v26-0-0:#000000;
38
- --magritte-color-component-tabs-text-unselected-v26-0-0:#B9B9B9;
39
- --magritte-color-component-tabs-postfix-text-selected-v26-0-0:#919191;
40
- --magritte-color-component-tabs-postfix-text-unselected-v26-0-0:#919191;
41
- --magritte-color-component-secondary-tabs-text-selected-v26-0-0:#ffffff;
42
- --magritte-color-component-secondary-tabs-text-unselected-v26-0-0:#ABABAB;
43
- --magritte-color-component-secondary-tabs-indicator-selected-v26-0-0:#ffffff;
44
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-0:#ABABAB;
45
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-0:#ABABAB;
46
- --magritte-color-component-secondary-tabs-postfix-text-selected-v26-0-0:#919191;
47
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v26-0-0:#919191;
48
- }
49
- .magritte-tabs___VcV8C_7-2-73{
31
+ --magritte-color-component-tabs-background-selected-v26-0-2:#ffffff;
32
+ --magritte-color-component-tabs-background-unselected-v26-0-2:#303030;
33
+ --magritte-color-component-tabs-background-state-unselected-pressed-v26-0-2:#303030;
34
+ --magritte-color-component-tabs-background-state-unselected-focused-v26-0-2:#303030;
35
+ --magritte-color-component-tabs-background-state-selected-focused-v26-0-2:#ffffff;
36
+ --magritte-color-component-tabs-background-state-unselected-hovered-v26-0-2:#3B3B3B;
37
+ --magritte-color-component-tabs-text-selected-v26-0-2:#000000;
38
+ --magritte-color-component-tabs-text-unselected-v26-0-2:#B9B9B9;
39
+ --magritte-color-component-tabs-postfix-text-selected-v26-0-2:#919191;
40
+ --magritte-color-component-tabs-postfix-text-unselected-v26-0-2:#919191;
41
+ --magritte-color-component-secondary-tabs-text-selected-v26-0-2:#ffffff;
42
+ --magritte-color-component-secondary-tabs-text-unselected-v26-0-2:#ABABAB;
43
+ --magritte-color-component-secondary-tabs-indicator-selected-v26-0-2:#ffffff;
44
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-2:#ABABAB;
45
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-2:#ABABAB;
46
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v26-0-2:#919191;
47
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v26-0-2:#919191;
48
+ }
49
+ .magritte-tabs___VcV8C_7-2-75{
50
50
  display:flex;
51
51
  align-items:center;
52
52
  outline:none;
53
53
  }
54
- .magritte-tab-wrapper___9j9qk_7-2-73:last-of-type{
54
+ .magritte-tab-wrapper___9j9qk_7-2-75:last-of-type{
55
55
  margin-right:0px;
56
56
  }
57
- .magritte-tab___B0BeU_7-2-73{
57
+ .magritte-tab___B0BeU_7-2-75{
58
58
  box-sizing:border-box;
59
59
  flex-shrink:0;
60
60
  display:block;
@@ -62,168 +62,168 @@
62
62
  border:0;
63
63
  outline:none;
64
64
  min-height:40px;
65
- transition:transform var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v26-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v26-0-0);
65
+ transition:transform var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v26-0-2) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v26-0-2);
66
66
  }
67
- .magritte-tab___B0BeU_7-2-73:active{
67
+ .magritte-tab___B0BeU_7-2-75:active{
68
68
  transform:scale(0.96);
69
- transition:transform var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v26-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v26-0-0);
69
+ transition:transform var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v26-0-2) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v26-0-2);
70
70
  }
71
- .magritte-tab___B0BeU_7-2-73.magritte-tab_selected___w9PT2_7-2-73{
71
+ .magritte-tab___B0BeU_7-2-75.magritte-tab_selected___w9PT2_7-2-75{
72
72
  cursor:default;
73
73
  }
74
- .magritte-tab___B0BeU_7-2-73.magritte-tab_selected___w9PT2_7-2-73:active{
74
+ .magritte-tab___B0BeU_7-2-75.magritte-tab_selected___w9PT2_7-2-75:active{
75
75
  transform:none;
76
76
  }
77
- .magritte-tab-wrapper_primary___yt3sT_7-2-73{
77
+ .magritte-tab-wrapper_primary___yt3sT_7-2-75{
78
78
  margin-right:12px;
79
79
  }
80
- .magritte-tab_primary___3Of2H_7-2-73{
80
+ .magritte-tab_primary___3Of2H_7-2-75{
81
81
  border-radius:100px;
82
- background-color:var(--magritte-color-component-tabs-background-unselected-v26-0-0);
83
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v26-0-0);
82
+ background-color:var(--magritte-color-component-tabs-background-unselected-v26-0-2);
83
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v26-0-2);
84
84
  }
85
- .magritte-tab_primary___3Of2H_7-2-73:active{
86
- background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v26-0-0);
85
+ .magritte-tab_primary___3Of2H_7-2-75:active{
86
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v26-0-2);
87
87
  }
88
- .magritte-tab_primary___3Of2H_7-2-73.focus-visible{
89
- background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v26-0-0);
90
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v26-0-0);
88
+ .magritte-tab_primary___3Of2H_7-2-75.focus-visible{
89
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v26-0-2);
90
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v26-0-2);
91
91
  }
92
- .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73{
93
- background-color:var(--magritte-color-component-tabs-background-selected-v26-0-0);
94
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v26-0-0);
92
+ .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75{
93
+ background-color:var(--magritte-color-component-tabs-background-selected-v26-0-2);
94
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v26-0-2);
95
95
  }
96
- .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73 .magritte-tab-label___nFmge_7-2-73{
97
- color:var(--magritte-color-component-tabs-text-selected-v26-0-0);
96
+ .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75 .magritte-tab-label___nFmge_7-2-75{
97
+ color:var(--magritte-color-component-tabs-text-selected-v26-0-2);
98
98
  }
99
- .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73 .magritte-postfix___30ZxD_7-2-73{
100
- color:var(--magritte-color-component-tabs-postfix-text-selected-v26-0-0);
99
+ .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75 .magritte-postfix___30ZxD_7-2-75{
100
+ color:var(--magritte-color-component-tabs-postfix-text-selected-v26-0-2);
101
101
  }
102
- .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73:active{
103
- background-color:var(--magritte-color-component-tabs-background-selected-v26-0-0);
102
+ .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75:active{
103
+ background-color:var(--magritte-color-component-tabs-background-selected-v26-0-2);
104
104
  }
105
- .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73.focus-visible{
106
- background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v26-0-0);
107
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v26-0-0);
105
+ .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75.focus-visible{
106
+ background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v26-0-2);
107
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v26-0-2);
108
108
  }
109
109
  @media (min-width: 1020px){
110
- body.magritte-old-layout .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73:hover:not(:active){
111
- background-color:var(--magritte-color-component-tabs-background-selected-v26-0-0);
110
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75:hover:not(:active){
111
+ background-color:var(--magritte-color-component-tabs-background-selected-v26-0-2);
112
112
  }
113
113
  }
114
114
  @media (min-width: 1024px){
115
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-2-73.magritte-tab_selected___w9PT2_7-2-73:hover:not(:active){
116
- background-color:var(--magritte-color-component-tabs-background-selected-v26-0-0);
115
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-2-75.magritte-tab_selected___w9PT2_7-2-75:hover:not(:active){
116
+ background-color:var(--magritte-color-component-tabs-background-selected-v26-0-2);
117
117
  }
118
118
  }
119
- .magritte-tab_primary___3Of2H_7-2-73 .magritte-tab-content___onvTJ_7-2-73{
119
+ .magritte-tab_primary___3Of2H_7-2-75 .magritte-tab-content___onvTJ_7-2-75{
120
120
  padding:8px 16px;
121
121
  }
122
- .magritte-tab_primary___3Of2H_7-2-73 .magritte-tab-label___nFmge_7-2-73{
123
- color:var(--magritte-color-component-tabs-text-unselected-v26-0-0);
122
+ .magritte-tab_primary___3Of2H_7-2-75 .magritte-tab-label___nFmge_7-2-75{
123
+ color:var(--magritte-color-component-tabs-text-unselected-v26-0-2);
124
124
  }
125
- .magritte-tab_primary___3Of2H_7-2-73 .magritte-postfix___30ZxD_7-2-73{
126
- color:var(--magritte-color-component-tabs-postfix-text-unselected-v26-0-0);
125
+ .magritte-tab_primary___3Of2H_7-2-75 .magritte-postfix___30ZxD_7-2-75{
126
+ color:var(--magritte-color-component-tabs-postfix-text-unselected-v26-0-2);
127
127
  }
128
128
  @media (min-width: 1020px){
129
- body.magritte-old-layout .magritte-tab_primary___3Of2H_7-2-73:hover:not(:active){
130
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v26-0-0);
129
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-2-75:hover:not(:active){
130
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v26-0-2);
131
131
  }
132
132
  }
133
133
  @media (min-width: 1024px){
134
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-2-73:hover:not(:active){
135
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v26-0-0);
134
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-2-75:hover:not(:active){
135
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v26-0-2);
136
136
  }
137
137
  }
138
- .magritte-tab-wrapper_secondary___avLln_7-2-73{
138
+ .magritte-tab-wrapper_secondary___avLln_7-2-75{
139
139
  margin-right:24px;
140
140
  }
141
- .magritte-tab_secondary___-00LL_7-2-73{
141
+ .magritte-tab_secondary___-00LL_7-2-75{
142
142
  border-radius:12px;
143
143
  max-width:288px;
144
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v26-0-0);
144
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v26-0-2);
145
145
  }
146
- .magritte-tab_secondary___-00LL_7-2-73:active{
147
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-0);
146
+ .magritte-tab_secondary___-00LL_7-2-75:active{
147
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-2);
148
148
  }
149
- .magritte-tab_secondary___-00LL_7-2-73:active .magritte-tab-label___nFmge_7-2-73{
150
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-0);
149
+ .magritte-tab_secondary___-00LL_7-2-75:active .magritte-tab-label___nFmge_7-2-75{
150
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v26-0-2);
151
151
  }
152
- .magritte-tab_secondary___-00LL_7-2-73.focus-visible{
153
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v26-0-0);
152
+ .magritte-tab_secondary___-00LL_7-2-75.focus-visible{
153
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v26-0-2);
154
154
  }
155
- .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73{
156
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
155
+ .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75{
156
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
157
157
  }
158
- .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73 .magritte-tab-label___nFmge_7-2-73{
159
- color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
158
+ .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75 .magritte-tab-label___nFmge_7-2-75{
159
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
160
160
  }
161
- .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73 .magritte-postfix___30ZxD_7-2-73{
162
- color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v26-0-0);
161
+ .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75 .magritte-postfix___30ZxD_7-2-75{
162
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v26-0-2);
163
163
  }
164
- .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73:active{
165
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
164
+ .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75:active{
165
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
166
166
  }
167
- .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73:active .magritte-tab-label___nFmge_7-2-73{
168
- color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
167
+ .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75:active .magritte-tab-label___nFmge_7-2-75{
168
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
169
169
  }
170
- .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73.focus-visible{
171
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v26-0-0);
170
+ .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75.focus-visible{
171
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v26-0-2);
172
172
  }
173
173
  @media (min-width: 1020px){
174
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73:hover:not(:active){
175
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
174
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75:hover:not(:active){
175
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
176
176
  }
177
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73:hover:not(:active) .magritte-tab-label___nFmge_7-2-73{
178
- color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
177
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75:hover:not(:active) .magritte-tab-label___nFmge_7-2-75{
178
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
179
179
  }
180
180
  }
181
181
  @media (min-width: 1024px){
182
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73:hover:not(:active){
183
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
182
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75:hover:not(:active){
183
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
184
184
  }
185
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-73.magritte-tab_selected___w9PT2_7-2-73:hover:not(:active) .magritte-tab-label___nFmge_7-2-73{
186
- color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-0);
185
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-75.magritte-tab_selected___w9PT2_7-2-75:hover:not(:active) .magritte-tab-label___nFmge_7-2-75{
186
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v26-0-2);
187
187
  }
188
188
  }
189
- .magritte-tab_secondary___-00LL_7-2-73 .magritte-tab-content___onvTJ_7-2-73{
189
+ .magritte-tab_secondary___-00LL_7-2-75 .magritte-tab-content___onvTJ_7-2-75{
190
190
  padding:16px 0;
191
191
  }
192
- .magritte-tab_secondary___-00LL_7-2-73 .magritte-tab-label___nFmge_7-2-73{
193
- color:var(--magritte-color-component-secondary-tabs-text-unselected-v26-0-0);
192
+ .magritte-tab_secondary___-00LL_7-2-75 .magritte-tab-label___nFmge_7-2-75{
193
+ color:var(--magritte-color-component-secondary-tabs-text-unselected-v26-0-2);
194
194
  }
195
- .magritte-tab_secondary___-00LL_7-2-73 .magritte-postfix___30ZxD_7-2-73{
196
- color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v26-0-0);
195
+ .magritte-tab_secondary___-00LL_7-2-75 .magritte-postfix___30ZxD_7-2-75{
196
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v26-0-2);
197
197
  }
198
198
  @media (min-width: 1020px){
199
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-73:hover:not(:active){
200
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-0);
199
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-75:hover:not(:active){
200
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-2);
201
201
  }
202
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-73:hover:not(:active) .magritte-tab-label___nFmge_7-2-73{
203
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-0);
202
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-2-75:hover:not(:active) .magritte-tab-label___nFmge_7-2-75{
203
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-2);
204
204
  }
205
205
  }
206
206
  @media (min-width: 1024px){
207
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-73:hover:not(:active){
208
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-0);
207
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-75:hover:not(:active){
208
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-2);
209
209
  }
210
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-73:hover:not(:active) .magritte-tab-label___nFmge_7-2-73{
211
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-0);
210
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-2-75:hover:not(:active) .magritte-tab-label___nFmge_7-2-75{
211
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v26-0-2);
212
212
  }
213
213
  }
214
- .magritte-tab-content___onvTJ_7-2-73{
214
+ .magritte-tab-content___onvTJ_7-2-75{
215
215
  display:flex;
216
216
  align-items:center;
217
217
  height:24px;
218
218
  }
219
- .magritte-tab-label___nFmge_7-2-73{
219
+ .magritte-tab-label___nFmge_7-2-75{
220
220
  flex:0 1 auto;
221
221
  min-width:0;
222
222
  overflow:hidden;
223
223
  text-overflow:ellipsis;
224
224
  white-space:pre;
225
225
  }
226
- .magritte-postfix-wrapper___1dORq_7-2-73{
226
+ .magritte-postfix-wrapper___1dORq_7-2-75{
227
227
  flex:0 0 auto;
228
228
  min-width:0;
229
229
  max-width:100%;
@@ -232,16 +232,16 @@
232
232
  text-overflow:ellipsis;
233
233
  white-space:pre;
234
234
  }
235
- .magritte-indicator-wrapper___Q68i7_7-2-73{
235
+ .magritte-indicator-wrapper___Q68i7_7-2-75{
236
236
  margin-top:-4px;
237
237
  }
238
- .magritte-indicator___irp4W_7-2-73{
238
+ .magritte-indicator___irp4W_7-2-75{
239
239
  position:relative;
240
- background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v26-0-0);
240
+ background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v26-0-2);
241
241
  border-radius:4px 4px 0 0;
242
242
  height:4px;
243
243
  width:0;
244
244
  }
245
- .magritte-animate___5GxTP_7-2-73{
246
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v26-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v26-0-0);
245
+ .magritte-animate___5GxTP_7-2-75{
246
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v26-0-2) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v26-0-2);
247
247
  }
package/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from '@hh.ru/magritte-ui-tabs/Tabs';
2
- export * from '@hh.ru/magritte-ui-tabs/Tab';
3
- export { type TabProps, type TabsProps, type TabId } from '@hh.ru/magritte-ui-tabs/types';
1
+ export * from './Tabs';
2
+ export * from './Tab';
3
+ export { type TabProps, type TabsProps, type TabId } from './types';
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
  export { Tabs } from './Tabs.js';
3
- export { T as Tab } from './Tab-BHRzY5Wg.js';
3
+ export { T as Tab } from './Tab-r9lujIel.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react';
6
6
  import '@hh.ru/magritte-ui-scrollable-container';
package/index.mock.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { FC } from 'react';
2
- export { type TabProps, type TabsProps, type TabId } from '@hh.ru/magritte-ui-tabs/types';
2
+ export { type TabProps, type TabsProps, type TabId } from './types';
3
3
  export declare const Tabs: FC<Record<string, unknown>>;
4
4
  export declare const Tab: FC<Record<string, unknown>>;
package/index.mock.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import './index.css';
2
2
  import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
3
3
 
4
- const Tabs = mockComponent('Tabs', undefined, {
5
- withChildren: true,
4
+ const Tabs = mockComponent("Tabs", void 0, {
5
+ withChildren: true
6
6
  });
7
- const Tab = mockComponent('Tab', undefined, {
8
- withChildren: false,
7
+ const Tab = mockComponent("Tab", void 0, {
8
+ withChildren: false
9
9
  });
10
10
 
11
11
  export { Tab, Tabs };
package/index.mock.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mock.js","sources":["src/index.mock.ts"],"sourcesContent":["import { FC } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport { type TabProps, type TabsProps, type TabId } from '@hh.ru/magritte-ui-tabs/types';\n\nexport const Tabs: FC<Record<string, unknown>> = mockComponent('Tabs', undefined, {\n withChildren: true,\n});\n\nexport const Tab: FC<Record<string, unknown>> = mockComponent('Tab', undefined, {\n withChildren: false,\n});\n"],"names":[],"mappings":";;MAMa,IAAI,GAAgC,aAAa,CAAC,MAAM,EAAE,SAAS,EAAE;AAC9E,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EAAE;MAEU,GAAG,GAAgC,aAAa,CAAC,KAAK,EAAE,SAAS,EAAE;AAC5E,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA;;;;"}
1
+ {"version":3,"file":"index.mock.js","sources":["src/index.mock.ts"],"sourcesContent":["import { FC } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport { type TabProps, type TabsProps, type TabId } from '@hh.ru/magritte-ui-tabs/types';\n\nexport const Tabs: FC<Record<string, unknown>> = mockComponent('Tabs', undefined, {\n withChildren: true,\n});\n\nexport const Tab: FC<Record<string, unknown>> = mockComponent('Tab', undefined, {\n withChildren: false,\n});\n"],"names":[],"mappings":";;AAMa,MAAA,IAAA,GAAoC,aAAc,CAAA,MAAA,EAAQ,KAAW,CAAA,EAAA;AAAA,EAC9E,YAAc,EAAA,IAAA;AAClB,CAAC,EAAA;AAEY,MAAA,GAAA,GAAmC,aAAc,CAAA,KAAA,EAAO,KAAW,CAAA,EAAA;AAAA,EAC5E,YAAc,EAAA,KAAA;AAClB,CAAC;;;;"}
package/offsets.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { ComponentWithBadgeProps } from '@hh.ru/magritte-ui-badge/src/types';
2
- import { TabMode } from '@hh.ru/magritte-ui-tabs/types';
2
+ import { TabMode } from './types';
3
3
  export declare const OFFSETS_BY_MODE: Record<TabMode, Pick<ComponentWithBadgeProps, 'offset' | 'offsetRight' | 'offsetTop'>>;
package/offsets.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import './index.css';
2
2
  const OFFSETS_BY_MODE = {
3
- primary: {
4
- offset: 2,
5
- },
6
- secondary: {
7
- offsetTop: 14,
8
- offsetRight: -10,
9
- },
3
+ primary: {
4
+ offset: 2
5
+ },
6
+ secondary: {
7
+ offsetTop: 14,
8
+ offsetRight: -10
9
+ }
10
10
  };
11
11
 
12
12
  export { OFFSETS_BY_MODE };
package/offsets.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"offsets.js","sources":["src/offsets.ts"],"sourcesContent":["import type { ComponentWithBadgeProps } from '@hh.ru/magritte-ui-badge/src/types';\nimport { TabMode } from '@hh.ru/magritte-ui-tabs/types';\n\nexport const OFFSETS_BY_MODE: Record<TabMode, Pick<ComponentWithBadgeProps, 'offset' | 'offsetRight' | 'offsetTop'>> = {\n primary: {\n offset: 2,\n },\n secondary: {\n offsetTop: 14,\n offsetRight: -10,\n },\n};\n"],"names":[],"mappings":"AAGa,MAAA,eAAe,GAA2F;AACnH,IAAA,OAAO,EAAE;AACL,QAAA,MAAM,EAAE,CAAC;AACZ,KAAA;AACD,IAAA,SAAS,EAAE;AACP,QAAA,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,CAAC,EAAE;AACnB,KAAA;;;;;"}
1
+ {"version":3,"file":"offsets.js","sources":["src/offsets.ts"],"sourcesContent":["import type { ComponentWithBadgeProps } from '@hh.ru/magritte-ui-badge/src/types';\nimport { TabMode } from '@hh.ru/magritte-ui-tabs/types';\n\nexport const OFFSETS_BY_MODE: Record<TabMode, Pick<ComponentWithBadgeProps, 'offset' | 'offsetRight' | 'offsetTop'>> = {\n primary: {\n offset: 2,\n },\n secondary: {\n offsetTop: 14,\n offsetRight: -10,\n },\n};\n"],"names":[],"mappings":"AAGO,MAAM,eAA0G,GAAA;AAAA,EACnH,OAAS,EAAA;AAAA,IACL,MAAQ,EAAA,CAAA;AAAA,GACZ;AAAA,EACA,SAAW,EAAA;AAAA,IACP,SAAW,EAAA,EAAA;AAAA,IACX,WAAa,EAAA,CAAA,EAAA;AAAA,GACjB;AACJ;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-tabs",
3
- "version": "7.2.73",
3
+ "version": "7.2.75",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -16,6 +16,7 @@
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)",
19
+ "test:types": "yarn root:test:types $(pwd)",
19
20
  "watch": "yarn root:watch $(pwd)",
20
21
  "figma-publish": "yarn root:figma-publish $(pwd)",
21
22
  "figma-unpublish": "yarn root:figma-unpublish $(pwd)",
@@ -23,18 +24,18 @@
23
24
  "figma-snapshot-update": "yarn root:figma-snapshot $(pwd) --update"
24
25
  },
25
26
  "dependencies": {
26
- "@hh.ru/magritte-common-focus-visible": "0.1.11",
27
- "@hh.ru/magritte-common-keyboard": "4.3.6",
28
- "@hh.ru/magritte-common-use-multiple-refs": "1.1.12",
29
- "@hh.ru/magritte-design-tokens": "26.0.0",
30
- "@hh.ru/magritte-types": "5.0.8",
31
- "@hh.ru/magritte-ui-badge": "4.0.22",
32
- "@hh.ru/magritte-ui-breakpoint": "6.1.2",
33
- "@hh.ru/magritte-ui-button": "7.3.6",
34
- "@hh.ru/magritte-ui-mock-component": "1.1.8",
35
- "@hh.ru/magritte-ui-scrollable-container": "6.5.2",
36
- "@hh.ru/magritte-ui-tooltip": "11.0.50",
37
- "@hh.ru/magritte-ui-typography": "5.3.15"
27
+ "@hh.ru/magritte-common-focus-visible": "0.1.12",
28
+ "@hh.ru/magritte-common-keyboard": "4.3.7",
29
+ "@hh.ru/magritte-common-use-multiple-refs": "1.1.13",
30
+ "@hh.ru/magritte-design-tokens": "26.0.2",
31
+ "@hh.ru/magritte-types": "5.0.9",
32
+ "@hh.ru/magritte-ui-badge": "4.0.24",
33
+ "@hh.ru/magritte-ui-breakpoint": "6.1.3",
34
+ "@hh.ru/magritte-ui-button": "7.3.8",
35
+ "@hh.ru/magritte-ui-mock-component": "1.1.9",
36
+ "@hh.ru/magritte-ui-scrollable-container": "6.5.4",
37
+ "@hh.ru/magritte-ui-tooltip": "11.0.52",
38
+ "@hh.ru/magritte-ui-typography": "5.3.17"
38
39
  },
39
40
  "peerDependencies": {
40
41
  "classnames": ">=2.3.2",
@@ -43,5 +44,5 @@
43
44
  "publishConfig": {
44
45
  "access": "public"
45
46
  },
46
- "gitHead": "b0ff5da48fb29d516c8289082560ee1882d16986"
47
+ "gitHead": "33dbaa1dc9b9705e925ffc9f6fcc7a0dc153bd36"
47
48
  }
package/useTabs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, RefObject } from 'react';
2
- import type { TabId, TabProps } from '@hh.ru/magritte-ui-tabs/types';
2
+ import type { TabId, TabProps } from './types';
3
3
  interface Params {
4
4
  activeItemId?: string;
5
5
  indicatorRef: RefObject<HTMLDivElement>;