@alfalab/core-components-side-panel 2.2.0 → 2.4.0

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.
Files changed (138) hide show
  1. package/Component.desktop.d.ts +3 -3
  2. package/Component.desktop.js +10 -10
  3. package/Component.mobile.js +8 -9
  4. package/Component.responsive.d.ts +2 -2
  5. package/Component.responsive.js +10 -9
  6. package/components/closer/Component.d.ts +1 -1
  7. package/components/closer/Component.js +3 -4
  8. package/components/closer/index.css +4 -4
  9. package/components/content/Component.desktop.js +2 -2
  10. package/components/content/Component.js +1 -1
  11. package/components/content/Component.mobile.js +2 -2
  12. package/components/content/desktop.css +3 -3
  13. package/components/content/index.css +3 -3
  14. package/components/content/mobile.css +3 -3
  15. package/components/footer/Component.desktop.js +2 -2
  16. package/components/footer/Component.js +2 -2
  17. package/components/footer/Component.mobile.js +2 -2
  18. package/components/footer/desktop.css +3 -3
  19. package/components/footer/index.css +4 -4
  20. package/components/footer/layout.css +25 -25
  21. package/components/footer/mobile.css +3 -3
  22. package/components/header/Component.desktop.d.ts +5 -1
  23. package/components/header/Component.desktop.js +6 -6
  24. package/components/header/Component.js +2 -2
  25. package/components/header/Component.mobile.d.ts +5 -1
  26. package/components/header/Component.mobile.js +5 -6
  27. package/components/header/desktop.css +6 -6
  28. package/components/header/index.css +16 -16
  29. package/components/header/mobile.css +3 -3
  30. package/cssm/Component.desktop.d.ts +3 -3
  31. package/cssm/Component.desktop.js +11 -11
  32. package/cssm/Component.mobile.js +9 -10
  33. package/cssm/Component.responsive.d.ts +2 -2
  34. package/cssm/Component.responsive.js +14 -13
  35. package/cssm/components/closer/Component.d.ts +1 -1
  36. package/cssm/components/closer/Component.js +2 -3
  37. package/cssm/components/content/Component.desktop.js +1 -1
  38. package/cssm/components/content/Component.mobile.js +1 -1
  39. package/cssm/components/footer/Component.desktop.js +1 -1
  40. package/cssm/components/footer/Component.mobile.js +1 -1
  41. package/cssm/components/header/Component.desktop.d.ts +5 -1
  42. package/cssm/components/header/Component.desktop.js +6 -6
  43. package/cssm/components/header/Component.js +1 -1
  44. package/cssm/components/header/Component.mobile.d.ts +5 -1
  45. package/cssm/components/header/Component.mobile.js +5 -6
  46. package/cssm/desktop.js +10 -10
  47. package/cssm/index.js +13 -13
  48. package/cssm/mobile.js +9 -10
  49. package/cssm/responsive.js +13 -13
  50. package/cssm/{tslib.es6-ce870b46.d.ts → tslib.es6-9682e485.d.ts} +8 -4
  51. package/{tslib.es6-946fd0e1.js → cssm/tslib.es6-9682e485.js} +1 -1
  52. package/desktop.css +3 -3
  53. package/desktop.js +7 -7
  54. package/esm/Component.desktop.d.ts +3 -3
  55. package/esm/Component.desktop.js +9 -9
  56. package/esm/Component.mobile.js +8 -9
  57. package/esm/Component.responsive.d.ts +2 -2
  58. package/esm/Component.responsive.js +10 -9
  59. package/esm/components/closer/Component.d.ts +1 -1
  60. package/esm/components/closer/Component.js +3 -4
  61. package/esm/components/closer/index.css +4 -4
  62. package/esm/components/content/Component.desktop.js +2 -2
  63. package/esm/components/content/Component.js +1 -1
  64. package/esm/components/content/Component.mobile.js +2 -2
  65. package/esm/components/content/desktop.css +3 -3
  66. package/esm/components/content/index.css +3 -3
  67. package/esm/components/content/mobile.css +3 -3
  68. package/esm/components/footer/Component.desktop.js +2 -2
  69. package/esm/components/footer/Component.js +2 -2
  70. package/esm/components/footer/Component.mobile.js +2 -2
  71. package/esm/components/footer/desktop.css +3 -3
  72. package/esm/components/footer/index.css +4 -4
  73. package/esm/components/footer/layout.css +25 -25
  74. package/esm/components/footer/mobile.css +3 -3
  75. package/esm/components/header/Component.desktop.d.ts +5 -1
  76. package/esm/components/header/Component.desktop.js +6 -6
  77. package/esm/components/header/Component.js +2 -2
  78. package/esm/components/header/Component.mobile.d.ts +5 -1
  79. package/esm/components/header/Component.mobile.js +5 -6
  80. package/esm/components/header/desktop.css +6 -6
  81. package/esm/components/header/index.css +16 -16
  82. package/esm/components/header/mobile.css +3 -3
  83. package/esm/desktop.css +3 -3
  84. package/esm/desktop.js +7 -7
  85. package/esm/index.js +9 -9
  86. package/esm/mobile.css +2 -2
  87. package/esm/mobile.js +6 -7
  88. package/esm/responsive.js +9 -9
  89. package/esm/transitions.desktop.css +7 -7
  90. package/esm/transitions.mobile.css +8 -8
  91. package/{tslib.es6-946fd0e1.d.ts → esm/tslib.es6-7dfa8139.d.ts} +8 -4
  92. package/esm/{tslib.es6-3fdec2ab.js → tslib.es6-7dfa8139.js} +1 -1
  93. package/index.js +9 -9
  94. package/mobile.css +2 -2
  95. package/mobile.js +6 -7
  96. package/modern/Component.desktop.d.ts +3 -3
  97. package/modern/Component.desktop.js +10 -10
  98. package/modern/Component.mobile.js +11 -14
  99. package/modern/Component.responsive.d.ts +2 -2
  100. package/modern/Component.responsive.js +11 -10
  101. package/modern/components/closer/Component.d.ts +1 -1
  102. package/modern/components/closer/Component.js +3 -4
  103. package/modern/components/closer/index.css +4 -4
  104. package/modern/components/content/Component.desktop.js +2 -2
  105. package/modern/components/content/Component.js +1 -1
  106. package/modern/components/content/Component.mobile.js +2 -2
  107. package/modern/components/content/desktop.css +3 -3
  108. package/modern/components/content/index.css +3 -3
  109. package/modern/components/content/mobile.css +3 -3
  110. package/modern/components/footer/Component.desktop.js +3 -3
  111. package/modern/components/footer/Component.js +2 -2
  112. package/modern/components/footer/Component.mobile.js +3 -3
  113. package/modern/components/footer/desktop.css +3 -3
  114. package/modern/components/footer/index.css +4 -4
  115. package/modern/components/footer/layout.css +25 -25
  116. package/modern/components/footer/mobile.css +3 -3
  117. package/modern/components/header/Component.desktop.d.ts +5 -1
  118. package/modern/components/header/Component.desktop.js +6 -6
  119. package/modern/components/header/Component.js +1 -1
  120. package/modern/components/header/Component.mobile.d.ts +5 -1
  121. package/modern/components/header/Component.mobile.js +4 -5
  122. package/modern/components/header/desktop.css +6 -6
  123. package/modern/components/header/index.css +16 -16
  124. package/modern/components/header/mobile.css +3 -3
  125. package/modern/desktop.css +3 -3
  126. package/modern/desktop.js +6 -6
  127. package/modern/index.js +8 -8
  128. package/modern/mobile.css +2 -2
  129. package/modern/mobile.js +5 -6
  130. package/modern/responsive.js +8 -8
  131. package/modern/transitions.desktop.css +7 -7
  132. package/modern/transitions.mobile.css +8 -8
  133. package/package.json +5 -5
  134. package/responsive.js +9 -9
  135. package/transitions.desktop.css +7 -7
  136. package/transitions.mobile.css +8 -8
  137. package/{esm/tslib.es6-3fdec2ab.d.ts → tslib.es6-bd97d91e.d.ts} +8 -4
  138. package/{cssm/tslib.es6-ce870b46.js → tslib.es6-bd97d91e.js} +1 -1
@@ -1,4 +1,4 @@
1
- /* hash: 192fw */
1
+ /* hash: 1yqfc */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .side-panel__column_ekipw {
28
+ .side-panel__column_szrzt {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .side-panel__column_ekipw > * {
32
+ .side-panel__column_szrzt > * {
33
33
  margin-bottom: var(--side-panel-footer-default-gap);
34
34
  }
35
- .side-panel__column_ekipw > *:last-child,
36
- .side-panel__column_ekipw > *:only-child {
35
+ .side-panel__column_szrzt > *:last-child,
36
+ .side-panel__column_szrzt > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .side-panel__column_ekipw.side-panel__gap-16_ekipw > * {
39
+ .side-panel__column_szrzt.side-panel__gap-16_szrzt > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .side-panel__column_ekipw.side-panel__gap-24_ekipw > * {
42
+ .side-panel__column_szrzt.side-panel__gap-24_szrzt > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .side-panel__column_ekipw.side-panel__gap-32_ekipw > * {
45
+ .side-panel__column_szrzt.side-panel__gap-32_szrzt > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .side-panel__start_ekipw {
48
+ .side-panel__start_szrzt {
49
49
  justify-content: flex-start;
50
50
  }
51
- .side-panel__center_ekipw {
51
+ .side-panel__center_szrzt {
52
52
  justify-content: center;
53
53
  }
54
- .side-panel__space-between_ekipw {
54
+ .side-panel__space-between_szrzt {
55
55
  justify-content: space-between
56
56
  }
57
- .side-panel__space-between_ekipw > * {
57
+ .side-panel__space-between_szrzt > * {
58
58
  flex: 1;
59
59
  }
60
- .side-panel__start_ekipw,
61
- .side-panel__center_ekipw,
62
- .side-panel__space-between_ekipw {
60
+ .side-panel__start_szrzt,
61
+ .side-panel__center_szrzt,
62
+ .side-panel__space-between_szrzt {
63
63
  display: flex
64
64
  }
65
- .side-panel__start_ekipw > *, .side-panel__center_ekipw > *, .side-panel__space-between_ekipw > * {
65
+ .side-panel__start_szrzt > *, .side-panel__center_szrzt > *, .side-panel__space-between_szrzt > * {
66
66
  margin-right: var(--side-panel-footer-default-gap);
67
67
  }
68
- .side-panel__start_ekipw > *:last-child,
69
- .side-panel__start_ekipw > *:only-child,
70
- .side-panel__center_ekipw > *:last-child,
71
- .side-panel__center_ekipw > *:only-child,
72
- .side-panel__space-between_ekipw > *:last-child,
73
- .side-panel__space-between_ekipw > *:only-child {
68
+ .side-panel__start_szrzt > *:last-child,
69
+ .side-panel__start_szrzt > *:only-child,
70
+ .side-panel__center_szrzt > *:last-child,
71
+ .side-panel__center_szrzt > *:only-child,
72
+ .side-panel__space-between_szrzt > *:last-child,
73
+ .side-panel__space-between_szrzt > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .side-panel__start_ekipw.side-panel__gap-16_ekipw > *, .side-panel__center_ekipw.side-panel__gap-16_ekipw > *, .side-panel__space-between_ekipw.side-panel__gap-16_ekipw > * {
76
+ .side-panel__start_szrzt.side-panel__gap-16_szrzt > *, .side-panel__center_szrzt.side-panel__gap-16_szrzt > *, .side-panel__space-between_szrzt.side-panel__gap-16_szrzt > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .side-panel__start_ekipw.side-panel__gap-24_ekipw > *, .side-panel__center_ekipw.side-panel__gap-24_ekipw > *, .side-panel__space-between_ekipw.side-panel__gap-24_ekipw > * {
79
+ .side-panel__start_szrzt.side-panel__gap-24_szrzt > *, .side-panel__center_szrzt.side-panel__gap-24_szrzt > *, .side-panel__space-between_szrzt.side-panel__gap-24_szrzt > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .side-panel__start_ekipw.side-panel__gap-32_ekipw > *, .side-panel__center_ekipw.side-panel__gap-32_ekipw > *, .side-panel__space-between_ekipw.side-panel__gap-32_ekipw > * {
82
+ .side-panel__start_szrzt.side-panel__gap-32_szrzt > *, .side-panel__center_szrzt.side-panel__gap-32_szrzt > *, .side-panel__space-between_szrzt.side-panel__gap-32_szrzt > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: dcpd2 */
1
+ /* hash: 3l1rh */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .side-panel__footer_1f8cd {
25
+ .side-panel__footer_4yeuw {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .side-panel__sticky_1f8cd {
28
+ .side-panel__sticky_4yeuw {
29
29
  bottom: 0;
30
30
  }
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { ElementType, FC } from 'react';
2
2
  import { HeaderProps } from "./Component";
3
3
  type HeaderDesktopProps = Omit<HeaderProps, 'closer'> & {
4
4
  /**
@@ -9,6 +9,10 @@ type HeaderDesktopProps = Omit<HeaderProps, 'closer'> & {
9
9
  * Наличие крестика
10
10
  */
11
11
  hasCloser?: boolean;
12
+ /**
13
+ * Иконка closer.
14
+ */
15
+ closerIcon?: ElementType;
12
16
  };
13
17
  declare const HeaderDesktop: FC<HeaderDesktopProps>;
14
18
  export { HeaderDesktopProps, HeaderDesktop };
@@ -1,24 +1,24 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-3fdec2ab.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-7dfa8139.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '../../Context.js';
6
- import { Header } from './Component.js';
6
+ import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
7
7
  import '@alfalab/core-components-icon-button/esm';
8
- import '@alfalab/icons-glyph/CrossHeavyMIcon';
9
8
  import { Closer } from '../closer/Component.js';
9
+ import { Header } from './Component.js';
10
10
 
11
- var styles = {"content":"side-panel__content_c199h","s":"side-panel__s_c199h","hasContent":"side-panel__hasContent_c199h","sticky":"side-panel__sticky_c199h"};
11
+ var styles = {"content":"side-panel__content_10sfs","s":"side-panel__s_10sfs","hasContent":"side-panel__hasContent_10sfs","sticky":"side-panel__sticky_10sfs"};
12
12
  require('./desktop.css')
13
13
 
14
14
  var HeaderDesktop = function (_a) {
15
15
  var _b;
16
- var _c = _a.size, size = _c === void 0 ? 's' : _c, className = _a.className, contentClassName = _a.contentClassName, _d = _a.hasCloser, hasCloser = _d === void 0 ? true : _d, sticky = _a.sticky, _e = _a.leftAddons, leftAddons = _e === void 0 ? React.createElement("span", null) : _e, title = _a.title, children = _a.children, restProps = __rest(_a, ["size", "className", "contentClassName", "hasCloser", "sticky", "leftAddons", "title", "children"]);
16
+ var _c = _a.size, size = _c === void 0 ? 's' : _c, className = _a.className, contentClassName = _a.contentClassName, _d = _a.hasCloser, hasCloser = _d === void 0 ? true : _d, _e = _a.closerIcon, closerIcon = _e === void 0 ? CrossHeavyMIcon : _e, sticky = _a.sticky, _f = _a.leftAddons, leftAddons = _f === void 0 ? React.createElement("span", null) : _f, title = _a.title, children = _a.children, restProps = __rest(_a, ["size", "className", "contentClassName", "hasCloser", "closerIcon", "sticky", "leftAddons", "title", "children"]);
17
17
  var hasContent = Boolean(title || children);
18
18
  return (React.createElement(Header, __assign({ className: cn(className, size && styles[size], (_b = {},
19
19
  _b[styles.sticky] = sticky,
20
20
  _b[styles.hasContent] = hasContent,
21
- _b)), contentClassName: cn(styles.content, contentClassName), closer: hasCloser ? React.createElement(Closer, null) : null, leftAddons: leftAddons, sticky: sticky, title: title }, restProps), children));
21
+ _b)), contentClassName: cn(styles.content, contentClassName), closer: hasCloser ? React.createElement(Closer, { icon: closerIcon }) : null, leftAddons: leftAddons, sticky: sticky, title: title }, restProps), children));
22
22
  };
23
23
 
24
24
  export { HeaderDesktop };
@@ -1,10 +1,10 @@
1
- import { a as __assign } from '../../tslib.es6-3fdec2ab.js';
1
+ import { a as __assign } from '../../tslib.es6-7dfa8139.js';
2
2
  import React, { useContext, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import { ModalContext } from '../../Context.js';
6
6
 
7
- var styles = {"header":"side-panel__header_1e3es","hasContent":"side-panel__hasContent_1e3es","highlighted":"side-panel__highlighted_1e3es","sticky":"side-panel__sticky_1e3es","backgroundImage":"side-panel__backgroundImage_1e3es","content":"side-panel__content_1e3es","title":"side-panel__title_1e3es","addon":"side-panel__addon_1e3es","closer":"side-panel__closer_1e3es","left":"side-panel__left_1e3es","center":"side-panel__center_1e3es","right":"side-panel__right_1e3es","trim":"side-panel__trim_1e3es"};
7
+ var styles = {"header":"side-panel__header_zo5iv","hasContent":"side-panel__hasContent_zo5iv","highlighted":"side-panel__highlighted_zo5iv","sticky":"side-panel__sticky_zo5iv","backgroundImage":"side-panel__backgroundImage_zo5iv","content":"side-panel__content_zo5iv","title":"side-panel__title_zo5iv","addon":"side-panel__addon_zo5iv","closer":"side-panel__closer_zo5iv","left":"side-panel__left_zo5iv","center":"side-panel__center_zo5iv","right":"side-panel__right_zo5iv","trim":"side-panel__trim_zo5iv"};
8
8
  require('./index.css')
9
9
 
10
10
  var Header = function (_a) {
@@ -1,10 +1,14 @@
1
- import { FC } from 'react';
1
+ import { ElementType, FC } from 'react';
2
2
  import { HeaderProps } from "./Component";
3
3
  type HeaderMobileProps = Omit<HeaderProps, 'closer'> & {
4
4
  /**
5
5
  * Наличие крестика
6
6
  */
7
7
  hasCloser?: boolean;
8
+ /**
9
+ * Иконка closer.
10
+ */
11
+ closerIcon?: ElementType;
8
12
  };
9
13
  declare const HeaderMobile: FC<HeaderMobileProps>;
10
14
  export { HeaderMobileProps, HeaderMobile };
@@ -1,23 +1,22 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-3fdec2ab.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-7dfa8139.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '../../Context.js';
6
- import { Header } from './Component.js';
7
6
  import '@alfalab/core-components-icon-button/esm';
8
- import '@alfalab/icons-glyph/CrossHeavyMIcon';
9
7
  import { Closer } from '../closer/Component.js';
8
+ import { Header } from './Component.js';
10
9
  import CrossMIcon from '@alfalab/icons-glyph/CrossMIcon';
11
10
 
12
- var styles = {"sticky":"side-panel__sticky_1ogyl","content":"side-panel__content_1ogyl"};
11
+ var styles = {"sticky":"side-panel__sticky_3v3t8","content":"side-panel__content_3v3t8"};
13
12
  require('./mobile.css')
14
13
 
15
14
  var HeaderMobile = function (_a) {
16
15
  var _b;
17
- var className = _a.className, contentClassName = _a.contentClassName, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, sticky = _a.sticky, restProps = __rest(_a, ["className", "contentClassName", "hasCloser", "sticky"]);
16
+ var className = _a.className, contentClassName = _a.contentClassName, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, sticky = _a.sticky, _d = _a.closerIcon, closerIcon = _d === void 0 ? CrossMIcon : _d, restProps = __rest(_a, ["className", "contentClassName", "hasCloser", "sticky", "closerIcon"]);
18
17
  return (React.createElement(Header, __assign({ className: cn(className, (_b = {},
19
18
  _b[styles.sticky] = sticky,
20
- _b)), contentClassName: cn(styles.content, contentClassName), closer: hasCloser ? React.createElement(Closer, { icon: CrossMIcon, size: 'xs' }) : null, sticky: sticky }, restProps)));
19
+ _b)), contentClassName: cn(styles.content, contentClassName), closer: hasCloser ? React.createElement(Closer, { icon: closerIcon, size: 'xs' }) : null, sticky: sticky }, restProps)));
21
20
  };
22
21
 
23
22
  export { HeaderMobile };
@@ -1,4 +1,4 @@
1
- /* hash: 1ml9y */
1
+ /* hash: wuvj0 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -34,21 +34,21 @@
34
34
 
35
35
  /* mobile */
36
36
  }
37
- .side-panel__content_c199h {
37
+ .side-panel__content_10sfs {
38
38
  font-weight: var(--side-panel-header-desktop-font-weight);
39
39
  font-family: var(--side-panel-header-desktop-font-family);
40
40
  }
41
- .side-panel__s_c199h .side-panel__content_c199h {
41
+ .side-panel__s_10sfs .side-panel__content_10sfs {
42
42
  padding: var(--side-panel-s-header-desktop-content-paddings);
43
43
  font-size: var(--side-panel-s-header-desktop-font-size);
44
44
  line-height: var(--side-panel-s-header-desktop-line-height);
45
45
  }
46
- .side-panel__s_c199h {
46
+ .side-panel__s_10sfs {
47
47
  padding: var(--side-panel-s-header-paddings)
48
48
  }
49
- .side-panel__s_c199h:not(.side-panel__hasContent_c199h) {
49
+ .side-panel__s_10sfs:not(.side-panel__hasContent_10sfs) {
50
50
  padding-bottom: 0;
51
51
  }
52
- .side-panel__sticky_c199h {
52
+ .side-panel__sticky_10sfs {
53
53
  top: 0;
54
54
  }
@@ -1,4 +1,4 @@
1
- /* hash: 12zaa */
1
+ /* hash: 1qua6 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -25,7 +25,7 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .side-panel__header_1e3es {
28
+ .side-panel__header_zo5iv {
29
29
  width: 100%;
30
30
  box-sizing: border-box;
31
31
  display: flex;
@@ -33,31 +33,31 @@
33
33
  justify-content: space-between;
34
34
  transition: box-shadow 0.2s ease, background 0.2s ease
35
35
  }
36
- .side-panel__header_1e3es:not(.side-panel__hasContent_1e3es) {
36
+ .side-panel__header_zo5iv:not(.side-panel__hasContent_zo5iv) {
37
37
  pointer-events: none;
38
38
  }
39
- .side-panel__highlighted_1e3es {
39
+ .side-panel__highlighted_zo5iv {
40
40
  background: var(--side-panel-header-highlight-background);
41
41
  box-shadow: var(--side-panel-header-highlight-box-shadow);
42
42
  }
43
- .side-panel__sticky_1e3es {
43
+ .side-panel__sticky_zo5iv {
44
44
  position: sticky;
45
45
  z-index: 1
46
46
  }
47
- .side-panel__sticky_1e3es.side-panel__hasContent_1e3es {
47
+ .side-panel__sticky_zo5iv.side-panel__hasContent_zo5iv {
48
48
  background: var(--side-panel-header-background);
49
49
  }
50
- .side-panel__header_1e3es.side-panel__backgroundImage_1e3es {
50
+ .side-panel__header_zo5iv.side-panel__backgroundImage_zo5iv {
51
51
  background: center no-repeat;
52
52
  background-size: cover;
53
53
  }
54
- .side-panel__content_1e3es {
54
+ .side-panel__content_zo5iv {
55
55
  flex-grow: 1;
56
56
  }
57
- .side-panel__title_1e3es {
57
+ .side-panel__title_zo5iv {
58
58
  word-break: break-word;
59
59
  }
60
- .side-panel__addon_1e3es {
60
+ .side-panel__addon_zo5iv {
61
61
  min-width: 48px;
62
62
  height: 48px;
63
63
  display: flex;
@@ -65,25 +65,25 @@
65
65
  align-items: center;
66
66
  pointer-events: all;
67
67
  }
68
- .side-panel__closer_1e3es {
68
+ .side-panel__closer_zo5iv {
69
69
  margin-left: auto;
70
70
  }
71
- .side-panel__left_1e3es {
71
+ .side-panel__left_zo5iv {
72
72
  justify-content: flex-start;
73
73
  text-align: left;
74
74
  }
75
- .side-panel__center_1e3es {
75
+ .side-panel__center_zo5iv {
76
76
  justify-content: center;
77
77
  text-align: center;
78
78
  }
79
- .side-panel__right_1e3es {
79
+ .side-panel__right_zo5iv {
80
80
  justify-content: flex-end;
81
81
  text-align: right;
82
82
  }
83
- .side-panel__trim_1e3es {
83
+ .side-panel__trim_zo5iv {
84
84
  overflow: hidden
85
85
  }
86
- .side-panel__trim_1e3es .side-panel__title_1e3es {
86
+ .side-panel__trim_zo5iv .side-panel__title_zo5iv {
87
87
  overflow: hidden;
88
88
  white-space: nowrap;
89
89
  text-overflow: ellipsis;
@@ -1,4 +1,4 @@
1
- /* hash: 1qm8o */
1
+ /* hash: 5p0hd */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -34,10 +34,10 @@
34
34
  --side-panel-header-mobile-font-family: var(--font-family-system);
35
35
  --side-panel-header-mobile-font-weight: bold;
36
36
  }
37
- .side-panel__sticky_1ogyl {
37
+ .side-panel__sticky_3v3t8 {
38
38
  top: 0;
39
39
  }
40
- .side-panel__content_1ogyl {
40
+ .side-panel__content_3v3t8 {
41
41
  font-size: var(--side-panel-header-mobile-font-size);
42
42
  line-height: var(--side-panel-header-mobile-line-height);
43
43
  font-family: var(--side-panel-header-mobile-font-family);
package/esm/desktop.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1wjy1 */
1
+ /* hash: 1vtap */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -20,9 +20,9 @@
20
20
 
21
21
  /* mobile */
22
22
  }
23
- .side-panel__s_1y7nn {
23
+ .side-panel__s_dlsvk {
24
24
  width: var(--side-panel-s-width);
25
25
  }
26
- .side-panel__hidden_1y7nn {
26
+ .side-panel__hidden_dlsvk {
27
27
  overflow-x: hidden;
28
28
  }
package/esm/desktop.js CHANGED
@@ -1,17 +1,17 @@
1
- import './tslib.es6-3fdec2ab.js';
1
+ import './tslib.es6-7dfa8139.js';
2
2
  import 'react';
3
+ import 'react-merge-refs';
3
4
  import 'classnames';
4
5
  import '@alfalab/core-components-drawer/esm';
5
- import 'react-merge-refs';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
  import './Context.js';
8
- import './components/header/Component.js';
9
- import '@alfalab/core-components-icon-button/esm';
10
- import '@alfalab/icons-glyph/CrossHeavyMIcon';
11
- import './components/closer/Component.js';
12
- import './components/header/Component.desktop.js';
13
8
  import './components/content/Component.js';
14
9
  import './components/content/Component.desktop.js';
15
10
  import './components/footer/Component.js';
16
11
  import './components/footer/Component.desktop.js';
12
+ import '@alfalab/icons-glyph/CrossHeavyMIcon';
13
+ import '@alfalab/core-components-icon-button/esm';
14
+ import './components/closer/Component.js';
15
+ import './components/header/Component.js';
16
+ import './components/header/Component.desktop.js';
17
17
  export { SidePanelDesktop } from './Component.desktop.js';
package/esm/index.js CHANGED
@@ -1,24 +1,24 @@
1
- import './tslib.es6-3fdec2ab.js';
1
+ import './tslib.es6-7dfa8139.js';
2
2
  import 'react';
3
+ import 'react-merge-refs';
3
4
  import 'classnames';
4
5
  import '@alfalab/core-components-drawer/esm';
5
- import 'react-merge-refs';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
  export { ModalContext } from './Context.js';
8
- import './components/header/Component.js';
9
- import '@alfalab/core-components-icon-button/esm';
10
- import '@alfalab/icons-glyph/CrossHeavyMIcon';
11
- import './components/closer/Component.js';
12
- import './components/header/Component.desktop.js';
13
8
  import './components/content/Component.js';
14
9
  import './components/content/Component.desktop.js';
15
10
  import './components/footer/Component.js';
16
11
  import './components/footer/Component.desktop.js';
12
+ import '@alfalab/icons-glyph/CrossHeavyMIcon';
13
+ import '@alfalab/core-components-icon-button/esm';
14
+ import './components/closer/Component.js';
15
+ import './components/header/Component.js';
16
+ import './components/header/Component.desktop.js';
17
17
  import './Component.desktop.js';
18
- import '@alfalab/icons-glyph/CrossMIcon';
19
- import './components/header/Component.mobile.js';
20
18
  import './components/content/Component.mobile.js';
21
19
  import './components/footer/Component.mobile.js';
20
+ import '@alfalab/icons-glyph/CrossMIcon';
21
+ import './components/header/Component.mobile.js';
22
22
  import './Component.mobile.js';
23
23
  import '@alfalab/hooks';
24
24
  export { SidePanelResponsive } from './Component.responsive.js';
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 17fvk */
1
+ /* hash: 1qka3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .side-panel__component_1oybo {
22
+ .side-panel__component_eoe5k {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
package/esm/mobile.js CHANGED
@@ -1,16 +1,15 @@
1
- import './tslib.es6-3fdec2ab.js';
1
+ import './tslib.es6-7dfa8139.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import './Context.js';
6
- import './components/header/Component.js';
7
- import '@alfalab/core-components-icon-button/esm';
8
- import '@alfalab/icons-glyph/CrossHeavyMIcon';
9
- import './components/closer/Component.js';
10
6
  import './components/content/Component.js';
11
7
  import './components/footer/Component.js';
12
- import '@alfalab/icons-glyph/CrossMIcon';
13
- import './components/header/Component.mobile.js';
8
+ import '@alfalab/core-components-icon-button/esm';
9
+ import './components/closer/Component.js';
10
+ import './components/header/Component.js';
14
11
  import './components/content/Component.mobile.js';
15
12
  import './components/footer/Component.mobile.js';
13
+ import '@alfalab/icons-glyph/CrossMIcon';
14
+ import './components/header/Component.mobile.js';
16
15
  export { SidePanelMobile } from './Component.mobile.js';
package/esm/responsive.js CHANGED
@@ -1,24 +1,24 @@
1
- import './tslib.es6-3fdec2ab.js';
1
+ import './tslib.es6-7dfa8139.js';
2
2
  import 'react';
3
+ import 'react-merge-refs';
3
4
  import 'classnames';
4
5
  import '@alfalab/core-components-drawer/esm';
5
- import 'react-merge-refs';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
  import './Context.js';
8
- import './components/header/Component.js';
9
- import '@alfalab/core-components-icon-button/esm';
10
- import '@alfalab/icons-glyph/CrossHeavyMIcon';
11
- import './components/closer/Component.js';
12
- import './components/header/Component.desktop.js';
13
8
  import './components/content/Component.js';
14
9
  import './components/content/Component.desktop.js';
15
10
  import './components/footer/Component.js';
16
11
  import './components/footer/Component.desktop.js';
12
+ import '@alfalab/icons-glyph/CrossHeavyMIcon';
13
+ import '@alfalab/core-components-icon-button/esm';
14
+ import './components/closer/Component.js';
15
+ import './components/header/Component.js';
16
+ import './components/header/Component.desktop.js';
17
17
  import './Component.desktop.js';
18
- import '@alfalab/icons-glyph/CrossMIcon';
19
- import './components/header/Component.mobile.js';
20
18
  import './components/content/Component.mobile.js';
21
19
  import './components/footer/Component.mobile.js';
20
+ import '@alfalab/icons-glyph/CrossMIcon';
21
+ import './components/header/Component.mobile.js';
22
22
  import './Component.mobile.js';
23
23
  import '@alfalab/hooks';
24
24
  export { SidePanelResponsive } from './Component.responsive.js';
@@ -1,32 +1,32 @@
1
- /* hash: e4r8o */
2
- .side-panel__enterRight_12kfp {
1
+ /* hash: 1kdib */
2
+ .side-panel__enterRight_1rbm9 {
3
3
  opacity: 0;
4
4
  transform: translateX(15px);
5
5
  }
6
6
 
7
- .side-panel__enterLeft_12kfp {
7
+ .side-panel__enterLeft_1rbm9 {
8
8
  opacity: 0;
9
9
  transform: translateX(-15px);
10
10
  }
11
11
 
12
- .side-panel__enterActive_12kfp {
12
+ .side-panel__enterActive_1rbm9 {
13
13
  opacity: 1;
14
14
  transform: translateX(0);
15
15
  transition: opacity 200ms ease-in, transform 200ms ease-in;
16
16
  }
17
17
 
18
- .side-panel__exit_12kfp {
18
+ .side-panel__exit_1rbm9 {
19
19
  opacity: 1;
20
20
  transform: translateX(0);
21
21
  }
22
22
 
23
- .side-panel__exitActiveRight_12kfp {
23
+ .side-panel__exitActiveRight_1rbm9 {
24
24
  opacity: 0;
25
25
  transition: opacity 200ms ease-out, transform 200ms ease-out;
26
26
  transform: translateX(15px);
27
27
  }
28
28
 
29
- .side-panel__exitActiveLeft_12kfp {
29
+ .side-panel__exitActiveLeft_1rbm9 {
30
30
  opacity: 0;
31
31
  transition: opacity 200ms ease-out, transform 200ms ease-out;
32
32
  transform: translateX(-15px);
@@ -1,24 +1,24 @@
1
- /* hash: 1vl9w */
2
- .side-panel__appear_xeuxw,
3
- .side-panel__enter_xeuxw {
1
+ /* hash: 17qa0 */
2
+ .side-panel__appear_1bu47,
3
+ .side-panel__enter_1bu47 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .side-panel__appearActive_xeuxw,
9
- .side-panel__enterActive_xeuxw {
8
+ .side-panel__appearActive_1bu47,
9
+ .side-panel__enterActive_1bu47 {
10
10
  opacity: 1;
11
11
  transform: translateY(0);
12
12
  transition: opacity 200ms ease-in, transform 200ms ease-in;
13
13
  }
14
14
 
15
- .side-panel__exit_xeuxw {
15
+ .side-panel__exit_1bu47 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .side-panel__exitActive_xeuxw,
21
- .side-panel__exitDone_xeuxw {
20
+ .side-panel__exitActive_1bu47,
21
+ .side-panel__exitDone_1bu47 {
22
22
  opacity: 0;
23
23
  transform: translateY(15px);
24
24
  transition: opacity 200ms ease-out, transform 200ms ease-out;
@@ -12,9 +12,12 @@ declare function __generator(thisArg: any, body: any): {
12
12
  declare function __exportStar(m: any, o: any): void;
13
13
  declare function __values(o: any): any;
14
14
  declare function __read(o: any, n: any): any;
15
+ /** @deprecated */
15
16
  declare function __spread(...args: any[]): any[];
17
+ /** @deprecated */
16
18
  declare function __spreadArrays(...args: any[]): any[];
17
- declare function __await(v: any): any;
19
+ declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
20
+ declare function __await(v: any): __await;
18
21
  declare class __await {
19
22
  constructor(v: any);
20
23
  v: any;
@@ -25,8 +28,9 @@ declare function __asyncValues(o: any): any;
25
28
  declare function __makeTemplateObject(cooked: any, raw: any): any;
26
29
  declare function __importStar(mod: any): any;
27
30
  declare function __importDefault(mod: any): any;
28
- declare function __classPrivateFieldGet(receiver: any, privateMap: any): any;
29
- declare function __classPrivateFieldSet(receiver: any, privateMap: any, value: any): any;
31
+ declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
32
+ declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
33
+ declare function __classPrivateFieldIn(state: any, receiver: any): any;
30
34
  declare function __assign(...args: any[]): any;
31
35
  declare function __createBinding(o: any, m: any, k: any, k2: any): void;
32
- export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __assign, __createBinding };
36
+ export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
@@ -1,4 +1,4 @@
1
- /*! *****************************************************************************
1
+ /******************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any