@hh.ru/magritte-ui-breadcrumbs 7.1.19 → 7.1.21

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/Breadcrumbs.js CHANGED
@@ -10,7 +10,7 @@ import { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';
10
10
  import { Card } from '@hh.ru/magritte-ui-card';
11
11
  import { Drop } from '@hh.ru/magritte-ui-drop';
12
12
  import { Text } from '@hh.ru/magritte-ui-typography';
13
- import { s as styles } from './breadcrumbs-CSgVYoH_.js';
13
+ import { s as styles } from './breadcrumbs-CUtZjmT-.js';
14
14
 
15
15
  const MAX_VISIBLE_ITEMS = 5;
16
16
  const TEXT_TYPOGRAPHY = 'label-3-regular';
@@ -1,7 +1,7 @@
1
1
  import './index.css';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { Text } from '@hh.ru/magritte-ui-typography';
4
- import { s as styles } from './breadcrumbs-CSgVYoH_.js';
4
+ import { s as styles } from './breadcrumbs-CUtZjmT-.js';
5
5
 
6
6
  const BreadcrumbsDivider = () => {
7
7
  return (jsx("span", { className: styles.divider, children: jsx(Text, { Element: "span", typography: "label-3-regular", children: "/" }) }));
@@ -2,7 +2,7 @@ import './index.css';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { Link } from '@hh.ru/magritte-ui-link';
4
4
  import { Text } from '@hh.ru/magritte-ui-typography';
5
- import { s as styles } from './breadcrumbs-CSgVYoH_.js';
5
+ import { s as styles } from './breadcrumbs-CUtZjmT-.js';
6
6
 
7
7
  const BreadcrumbsItem = ({ Element = 'a', children, ...rest }) => {
8
8
  return (jsx(Link, { Element: Element, ...rest, typography: "label-3-regular", inline: true, children: jsx("div", { className: styles.interactiveText, children: jsx(Text, { Element: "span", typography: "label-3-regular", children: children }) }) }));
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ var styles = {"breadcrumbs":"magritte-breadcrumbs___Go2gs_7-1-21","unbreakable-container":"magritte-unbreakable-container___VcQQ2_7-1-21","unbreakableContainer":"magritte-unbreakable-container___VcQQ2_7-1-21","invisible-container":"magritte-invisible-container___V0W27_7-1-21","invisibleContainer":"magritte-invisible-container___V0W27_7-1-21","collapsible-container":"magritte-collapsible-container___85hMp_7-1-21","collapsibleContainer":"magritte-collapsible-container___85hMp_7-1-21","collapsible-content":"magritte-collapsible-content___OoBp3_7-1-21","collapsibleContent":"magritte-collapsible-content___OoBp3_7-1-21","ellipsis":"magritte-ellipsis___-3wI7_7-1-21","item":"magritte-item___oaSMH_7-1-21","first-item":"magritte-first-item___N6MFS_7-1-21","firstItem":"magritte-first-item___N6MFS_7-1-21","first-item-content":"magritte-first-item-content___G98CF_7-1-21","firstItemContent":"magritte-first-item-content___G98CF_7-1-21","item-after-ellipsis":"magritte-item-after-ellipsis___oPDLO_7-1-21","itemAfterEllipsis":"magritte-item-after-ellipsis___oPDLO_7-1-21","divider":"magritte-divider___J8lfR_7-1-21","interactive-text":"magritte-interactive-text___fBwYg_7-1-21","interactiveText":"magritte-interactive-text___fBwYg_7-1-21","static-text":"magritte-static-text___pslMP_7-1-21","staticText":"magritte-static-text___pslMP_7-1-21","text-with-ellipsis":"magritte-text-with-ellipsis___bEJaf_7-1-21","textWithEllipsis":"magritte-text-with-ellipsis___bEJaf_7-1-21","bottom-sheet-item":"magritte-bottom-sheet-item___lc1TO_7-1-21","bottomSheetItem":"magritte-bottom-sheet-item___lc1TO_7-1-21","drop-item":"magritte-drop-item___62c-z_7-1-21","dropItem":"magritte-drop-item___62c-z_7-1-21"};
3
+
4
+ export { styles as s };
5
+ //# sourceMappingURL=breadcrumbs-CUtZjmT-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbs-CUtZjmT-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/index.css CHANGED
@@ -1,102 +1,102 @@
1
1
  :root{
2
- --magritte-color-component-breadcrumbs-text-primary-v24-4-1:#20262b;
3
- --magritte-color-component-breadcrumbs-text-secondary-v24-4-1:#8293a2;
4
- --magritte-color-component-breadcrumbs-text-tertiary-v24-4-1:#DCE3EB;
5
- --magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-4-1:#6a7885;
6
- --magritte-color-component-breadcrumbs-text-state-secondary-pressed-v24-4-1:#8293a2;
2
+ --magritte-color-component-breadcrumbs-text-primary-v24-5-0:#20262b;
3
+ --magritte-color-component-breadcrumbs-text-secondary-v24-5-0:#8293a2;
4
+ --magritte-color-component-breadcrumbs-text-tertiary-v24-5-0:#DCE3EB;
5
+ --magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-5-0:#6a7885;
6
+ --magritte-color-component-breadcrumbs-text-state-secondary-pressed-v24-5-0:#8293a2;
7
7
  }
8
8
 
9
9
  .magritte-night-theme{
10
- --magritte-color-component-breadcrumbs-text-primary-v24-4-1:#D4D4D4;
11
- --magritte-color-component-breadcrumbs-text-secondary-v24-4-1:#5E5E5E;
12
- --magritte-color-component-breadcrumbs-text-tertiary-v24-4-1:#3B3B3B;
13
- --magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-4-1:#767676;
14
- --magritte-color-component-breadcrumbs-text-state-secondary-pressed-v24-4-1:#5E5E5E;
10
+ --magritte-color-component-breadcrumbs-text-primary-v24-5-0:#D4D4D4;
11
+ --magritte-color-component-breadcrumbs-text-secondary-v24-5-0:#5E5E5E;
12
+ --magritte-color-component-breadcrumbs-text-tertiary-v24-5-0:#3B3B3B;
13
+ --magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-5-0:#767676;
14
+ --magritte-color-component-breadcrumbs-text-state-secondary-pressed-v24-5-0:#5E5E5E;
15
15
  }
16
- .magritte-breadcrumbs___Go2gs_7-1-19{
16
+ .magritte-breadcrumbs___Go2gs_7-1-21{
17
17
  padding:12px 0;
18
18
  }
19
- .magritte-unbreakable-container___VcQQ2_7-1-19{
20
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-tertiary-v24-4-1);
19
+ .magritte-unbreakable-container___VcQQ2_7-1-21{
20
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-tertiary-v24-5-0);
21
21
  display:flex;
22
22
  position:relative;
23
23
  white-space:nowrap;
24
24
  max-height:20px;
25
25
  overflow:clip;
26
26
  }
27
- .magritte-invisible-container___V0W27_7-1-19{
27
+ .magritte-invisible-container___V0W27_7-1-21{
28
28
  visibility:hidden;
29
29
  }
30
- .magritte-collapsible-container___85hMp_7-1-19{
30
+ .magritte-collapsible-container___85hMp_7-1-21{
31
31
  flex:1 0 auto;
32
32
  position:relative;
33
33
  }
34
- .magritte-collapsible-content___OoBp3_7-1-19{
34
+ .magritte-collapsible-content___OoBp3_7-1-21{
35
35
  position:absolute;
36
36
  inset:0;
37
37
  display:flex;
38
38
  flex-flow:row-reverse wrap;
39
39
  place-content:flex-start flex-end;
40
40
  }
41
- .magritte-ellipsis___-3wI7_7-1-19{
41
+ .magritte-ellipsis___-3wI7_7-1-21{
42
42
  height:20px;
43
43
  width:20px;
44
44
  }
45
- .magritte-item___oaSMH_7-1-19{
45
+ .magritte-item___oaSMH_7-1-21{
46
46
  display:flex;
47
47
  }
48
- .magritte-first-item___N6MFS_7-1-19{
48
+ .magritte-first-item___N6MFS_7-1-21{
49
49
  min-width:calc(20px + 6px * 2 + 5px);
50
50
  overflow:clip;
51
51
  }
52
- .magritte-first-item-content___G98CF_7-1-19{
52
+ .magritte-first-item-content___G98CF_7-1-21{
53
53
  min-width:0;
54
54
  }
55
- .magritte-item-after-ellipsis___oPDLO_7-1-19{
55
+ .magritte-item-after-ellipsis___oPDLO_7-1-21{
56
56
  margin-left:calc(0px - 20px - 6px * 2 - 5px);
57
57
  }
58
- .magritte-divider___J8lfR_7-1-19{
59
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-tertiary-v24-4-1);
58
+ .magritte-divider___J8lfR_7-1-21{
59
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-tertiary-v24-5-0);
60
60
  position:relative;
61
61
  bottom:1px;
62
62
  padding:0 6px;
63
63
  width:5px;
64
64
  text-align:center;
65
65
  }
66
- .magritte-interactive-text___fBwYg_7-1-19{
67
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-secondary-v24-4-1);
66
+ .magritte-interactive-text___fBwYg_7-1-21{
67
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-secondary-v24-5-0);
68
68
  }
69
69
  @media (min-width: 1020px){
70
- body.magritte-old-layout .magritte-interactive-text___fBwYg_7-1-19:hover{
71
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-4-1);
70
+ body.magritte-old-layout .magritte-interactive-text___fBwYg_7-1-21:hover{
71
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-5-0);
72
72
  }
73
73
  }
74
74
  @media (min-width: 1024px){
75
- body:not(.magritte-old-layout) .magritte-interactive-text___fBwYg_7-1-19:hover{
76
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-4-1);
75
+ body:not(.magritte-old-layout) .magritte-interactive-text___fBwYg_7-1-21:hover{
76
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-state-secondary-hovered-v24-5-0);
77
77
  }
78
78
  }
79
- .magritte-interactive-text___fBwYg_7-1-19:active{
80
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-state-secondary-pressed-v24-4-1);
79
+ .magritte-interactive-text___fBwYg_7-1-21:active{
80
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-state-secondary-pressed-v24-5-0);
81
81
  }
82
- .magritte-static-text___pslMP_7-1-19{
83
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-primary-v24-4-1);
82
+ .magritte-static-text___pslMP_7-1-21{
83
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-primary-v24-5-0);
84
84
  }
85
- .magritte-text-with-ellipsis___bEJaf_7-1-19{
85
+ .magritte-text-with-ellipsis___bEJaf_7-1-21{
86
86
  overflow:hidden;
87
87
  text-overflow:ellipsis;
88
88
  }
89
- .magritte-bottom-sheet-item___lc1TO_7-1-19{
90
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-primary-v24-4-1);
89
+ .magritte-bottom-sheet-item___lc1TO_7-1-21{
90
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-primary-v24-5-0);
91
91
  overflow:hidden;
92
92
  text-overflow:ellipsis;
93
93
  white-space:nowrap;
94
94
  line-height:22px;
95
95
  margin-bottom:8px;
96
96
  }
97
- .magritte-drop-item___62c-z_7-1-19{
98
- --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-primary-v24-4-1);
97
+ .magritte-drop-item___62c-z_7-1-21{
98
+ --magritte-ui-text-color-override:var(--magritte-color-component-breadcrumbs-text-primary-v24-5-0);
99
99
  }
100
- .magritte-drop-item___62c-z_7-1-19:not(:last-child){
100
+ .magritte-drop-item___62c-z_7-1-21:not(:last-child){
101
101
  margin-bottom:4px;
102
102
  }
package/index.js CHANGED
@@ -9,7 +9,7 @@ import '@hh.ru/magritte-common-resize';
9
9
  import '@hh.ru/magritte-ui-bottom-sheet';
10
10
  import './BreadcrumbsDivider.js';
11
11
  import '@hh.ru/magritte-ui-typography';
12
- import './breadcrumbs-CSgVYoH_.js';
12
+ import './breadcrumbs-CUtZjmT-.js';
13
13
  import '@hh.ru/magritte-ui-breakpoint';
14
14
  import '@hh.ru/magritte-ui-card';
15
15
  import '@hh.ru/magritte-ui-drop';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-breadcrumbs",
3
- "version": "7.1.19",
3
+ "version": "7.1.21",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@hh.ru/magritte-common-func-utils": "1.3.15",
23
23
  "@hh.ru/magritte-common-resize": "0.2.2",
24
- "@hh.ru/magritte-design-tokens": "24.4.1",
24
+ "@hh.ru/magritte-design-tokens": "24.5.0",
25
25
  "@hh.ru/magritte-types": "5.0.6",
26
- "@hh.ru/magritte-ui-bottom-sheet": "9.2.14",
26
+ "@hh.ru/magritte-ui-bottom-sheet": "9.2.16",
27
27
  "@hh.ru/magritte-ui-breakpoint": "6.0.8",
28
- "@hh.ru/magritte-ui-card": "8.3.10",
29
- "@hh.ru/magritte-ui-drop": "12.2.5",
30
- "@hh.ru/magritte-ui-link": "7.1.8",
28
+ "@hh.ru/magritte-ui-card": "8.3.12",
29
+ "@hh.ru/magritte-ui-drop": "12.2.7",
30
+ "@hh.ru/magritte-ui-link": "7.1.10",
31
31
  "@hh.ru/magritte-ui-mock-component": "1.1.7",
32
- "@hh.ru/magritte-ui-typography": "4.5.2"
32
+ "@hh.ru/magritte-ui-typography": "4.5.4"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "classnames": ">=2.3.2",
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "9a088ded46caac9429f3e9fadaf055300b36990e"
41
+ "gitHead": "0d147efb00e0803c03ee0ac99525211ce44788e1"
42
42
  }
@@ -1,5 +0,0 @@
1
- import './index.css';
2
- var styles = {"breadcrumbs":"magritte-breadcrumbs___Go2gs_7-1-19","unbreakable-container":"magritte-unbreakable-container___VcQQ2_7-1-19","unbreakableContainer":"magritte-unbreakable-container___VcQQ2_7-1-19","invisible-container":"magritte-invisible-container___V0W27_7-1-19","invisibleContainer":"magritte-invisible-container___V0W27_7-1-19","collapsible-container":"magritte-collapsible-container___85hMp_7-1-19","collapsibleContainer":"magritte-collapsible-container___85hMp_7-1-19","collapsible-content":"magritte-collapsible-content___OoBp3_7-1-19","collapsibleContent":"magritte-collapsible-content___OoBp3_7-1-19","ellipsis":"magritte-ellipsis___-3wI7_7-1-19","item":"magritte-item___oaSMH_7-1-19","first-item":"magritte-first-item___N6MFS_7-1-19","firstItem":"magritte-first-item___N6MFS_7-1-19","first-item-content":"magritte-first-item-content___G98CF_7-1-19","firstItemContent":"magritte-first-item-content___G98CF_7-1-19","item-after-ellipsis":"magritte-item-after-ellipsis___oPDLO_7-1-19","itemAfterEllipsis":"magritte-item-after-ellipsis___oPDLO_7-1-19","divider":"magritte-divider___J8lfR_7-1-19","interactive-text":"magritte-interactive-text___fBwYg_7-1-19","interactiveText":"magritte-interactive-text___fBwYg_7-1-19","static-text":"magritte-static-text___pslMP_7-1-19","staticText":"magritte-static-text___pslMP_7-1-19","text-with-ellipsis":"magritte-text-with-ellipsis___bEJaf_7-1-19","textWithEllipsis":"magritte-text-with-ellipsis___bEJaf_7-1-19","bottom-sheet-item":"magritte-bottom-sheet-item___lc1TO_7-1-19","bottomSheetItem":"magritte-bottom-sheet-item___lc1TO_7-1-19","drop-item":"magritte-drop-item___62c-z_7-1-19","dropItem":"magritte-drop-item___62c-z_7-1-19"};
3
-
4
- export { styles as s };
5
- //# sourceMappingURL=breadcrumbs-CSgVYoH_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"breadcrumbs-CSgVYoH_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}