@alfalab/core-components-side-panel 2.5.2 → 2.5.4

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 (120) hide show
  1. package/Component.desktop.js +3 -3
  2. package/Component.mobile.js +3 -3
  3. package/Component.responsive.d.ts +9 -1
  4. package/Component.responsive.js +10 -8
  5. package/components/closer/Component.js +2 -2
  6. package/components/closer/index.css +14 -13
  7. package/components/content/Component.desktop.js +2 -2
  8. package/components/content/Component.js +1 -1
  9. package/components/content/Component.mobile.js +2 -2
  10. package/components/content/desktop.css +12 -9
  11. package/components/content/index.css +12 -7
  12. package/components/content/mobile.css +12 -9
  13. package/components/footer/Component.desktop.js +2 -2
  14. package/components/footer/Component.js +2 -2
  15. package/components/footer/Component.mobile.js +2 -2
  16. package/components/footer/desktop.css +12 -9
  17. package/components/footer/index.css +13 -11
  18. package/components/footer/layout.css +34 -45
  19. package/components/footer/mobile.css +12 -9
  20. package/components/header/Component.desktop.js +2 -2
  21. package/components/header/Component.js +2 -2
  22. package/components/header/Component.mobile.js +2 -2
  23. package/components/header/desktop.css +15 -17
  24. package/components/header/index.css +25 -35
  25. package/components/header/mobile.css +12 -11
  26. package/cssm/Component.responsive.d.ts +8 -0
  27. package/cssm/Component.responsive.js +9 -7
  28. package/cssm/components/closer/index.module.css +13 -12
  29. package/cssm/components/content/desktop.module.css +11 -8
  30. package/cssm/components/content/index.module.css +11 -6
  31. package/cssm/components/content/mobile.module.css +11 -8
  32. package/cssm/components/footer/desktop.module.css +11 -8
  33. package/cssm/components/footer/index.module.css +12 -10
  34. package/cssm/components/footer/layout.module.css +25 -36
  35. package/cssm/components/footer/mobile.module.css +11 -8
  36. package/cssm/components/header/desktop.module.css +14 -16
  37. package/cssm/components/header/index.module.css +24 -34
  38. package/cssm/components/header/mobile.module.css +11 -10
  39. package/cssm/desktop.module.css +11 -6
  40. package/cssm/index.js +1 -1
  41. package/cssm/mobile.module.css +10 -4
  42. package/cssm/responsive.js +1 -1
  43. package/cssm/vars.css +9 -2
  44. package/desktop.css +12 -7
  45. package/desktop.js +1 -1
  46. package/esm/Component.desktop.js +3 -3
  47. package/esm/Component.mobile.js +3 -3
  48. package/esm/Component.responsive.d.ts +8 -0
  49. package/esm/Component.responsive.js +10 -8
  50. package/esm/components/closer/Component.js +2 -2
  51. package/esm/components/closer/index.css +14 -13
  52. package/esm/components/content/Component.desktop.js +2 -2
  53. package/esm/components/content/Component.js +1 -1
  54. package/esm/components/content/Component.mobile.js +2 -2
  55. package/esm/components/content/desktop.css +12 -9
  56. package/esm/components/content/index.css +12 -7
  57. package/esm/components/content/mobile.css +12 -9
  58. package/esm/components/footer/Component.desktop.js +2 -2
  59. package/esm/components/footer/Component.js +2 -2
  60. package/esm/components/footer/Component.mobile.js +2 -2
  61. package/esm/components/footer/desktop.css +12 -9
  62. package/esm/components/footer/index.css +13 -11
  63. package/esm/components/footer/layout.css +34 -45
  64. package/esm/components/footer/mobile.css +12 -9
  65. package/esm/components/header/Component.desktop.js +2 -2
  66. package/esm/components/header/Component.js +2 -2
  67. package/esm/components/header/Component.mobile.js +2 -2
  68. package/esm/components/header/desktop.css +15 -17
  69. package/esm/components/header/index.css +25 -35
  70. package/esm/components/header/mobile.css +12 -11
  71. package/esm/desktop.css +12 -7
  72. package/esm/desktop.js +1 -1
  73. package/esm/index.js +2 -2
  74. package/esm/mobile.css +11 -5
  75. package/esm/mobile.js +1 -1
  76. package/esm/responsive.js +2 -2
  77. package/esm/transitions.desktop.css +7 -7
  78. package/esm/transitions.mobile.css +8 -8
  79. package/esm/{tslib.es6-16bbef32.d.ts → tslib.es6-4ea62d19.d.ts} +0 -0
  80. package/esm/{tslib.es6-16bbef32.js → tslib.es6-4ea62d19.js} +0 -0
  81. package/index.js +2 -2
  82. package/mobile.css +11 -5
  83. package/mobile.js +1 -1
  84. package/modern/Component.desktop.js +2 -2
  85. package/modern/Component.mobile.js +2 -2
  86. package/modern/Component.responsive.d.ts +8 -0
  87. package/modern/Component.responsive.js +9 -7
  88. package/modern/components/closer/Component.js +1 -1
  89. package/modern/components/closer/index.css +14 -13
  90. package/modern/components/content/Component.desktop.js +1 -1
  91. package/modern/components/content/Component.js +1 -1
  92. package/modern/components/content/Component.mobile.js +1 -1
  93. package/modern/components/content/desktop.css +12 -9
  94. package/modern/components/content/index.css +12 -7
  95. package/modern/components/content/mobile.css +12 -9
  96. package/modern/components/footer/Component.desktop.js +1 -1
  97. package/modern/components/footer/Component.js +2 -2
  98. package/modern/components/footer/Component.mobile.js +1 -1
  99. package/modern/components/footer/desktop.css +12 -9
  100. package/modern/components/footer/index.css +13 -11
  101. package/modern/components/footer/layout.css +34 -45
  102. package/modern/components/footer/mobile.css +12 -9
  103. package/modern/components/header/Component.desktop.js +1 -1
  104. package/modern/components/header/Component.js +1 -1
  105. package/modern/components/header/Component.mobile.js +1 -1
  106. package/modern/components/header/desktop.css +15 -17
  107. package/modern/components/header/index.css +25 -35
  108. package/modern/components/header/mobile.css +12 -11
  109. package/modern/desktop.css +12 -7
  110. package/modern/index.js +1 -1
  111. package/modern/mobile.css +11 -5
  112. package/modern/responsive.js +1 -1
  113. package/modern/transitions.desktop.css +7 -7
  114. package/modern/transitions.mobile.css +8 -8
  115. package/package.json +4 -3
  116. package/responsive.js +2 -2
  117. package/transitions.desktop.css +7 -7
  118. package/transitions.mobile.css +8 -8
  119. /package/{tslib.es6-adf6ea2b.d.ts → tslib.es6-cf0bde8a.d.ts} +0 -0
  120. /package/{tslib.es6-adf6ea2b.js → tslib.es6-cf0bde8a.js} +0 -0
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Content } from './Component.js';
5
5
  import '../../Context.js';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
 
8
- var styles = {"s":"side-panel__s_whhmy"};
8
+ var styles = {"s":"side-panel__s_1tics"};
9
9
  require('./desktop.css')
10
10
 
11
11
  var ContentDesktop = function (_a) {
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { ModalContext } from '../../Context.js';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
 
6
- var styles = {"content":"side-panel__content_pud5o","flex":"side-panel__flex_pud5o"};
6
+ var styles = {"content":"side-panel__content_ossq3","flex":"side-panel__flex_ossq3"};
7
7
  require('./index.css')
8
8
 
9
9
  var Content = function (_a) {
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Content } from './Component.js';
5
5
  import '../../Context.js';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
 
8
- var styles = {"content":"side-panel__content_q5a7y"};
8
+ var styles = {"content":"side-panel__content_14zfy"};
9
9
  require('./mobile.css')
10
10
 
11
11
  var ContentMobile = function (_a) {
@@ -1,16 +1,21 @@
1
- /* hash: 1y1vj */
1
+ /* hash: 4wrps */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-2xl: 32px;
12
- }
13
- :root {
16
+ } :root {
17
+ } :root {
18
+ } :root {
14
19
 
15
20
  /* sizes */
16
21
 
@@ -22,10 +27,8 @@
22
27
  /* desktop */
23
28
 
24
29
  /* mobile */
25
- }
26
- .side-panel__s_whhmy {
30
+ } .side-panel__s_1tics {
27
31
  padding: var(--side-panel-s-content-paddings)
28
- }
29
- .side-panel__s_whhmy:last-child {
32
+ } .side-panel__s_1tics:last-child {
30
33
  padding-bottom: var(--gap-2xl);
31
34
  }
@@ -1,13 +1,20 @@
1
- /* hash: 1llid */
1
+ /* hash: 1rhil */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
11
18
 
12
19
  /* sizes */
13
20
 
@@ -18,11 +25,9 @@
18
25
  /* desktop */
19
26
 
20
27
  /* mobile */
21
- }
22
- .side-panel__content_pud5o {
28
+ } .side-panel__content_ossq3 {
23
29
  box-sizing: border-box;
24
30
  width: 100%;
25
- }
26
- .side-panel__flex_pud5o {
31
+ } .side-panel__flex_ossq3 {
27
32
  flex: 1 1 auto;
28
33
  }
@@ -1,16 +1,21 @@
1
- /* hash: 26lby */
1
+ /* hash: 1cfeu */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-m: 16px;
12
- }
13
- :root {
16
+ } :root {
17
+ } :root {
18
+ } :root {
14
19
 
15
20
  /* sizes */
16
21
 
@@ -21,10 +26,8 @@
21
26
  /* desktop */
22
27
 
23
28
  /* mobile */
24
- }
25
- .side-panel__content_q5a7y {
29
+ } .side-panel__content_14zfy {
26
30
  padding: 0 var(--gap-m)
27
- }
28
- .side-panel__content_q5a7y:last-child {
31
+ } .side-panel__content_14zfy:last-child {
29
32
  padding-bottom: var(--gap-m);
30
33
  }
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Footer } from './Component.js';
5
5
  import '../../Context.js';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
 
8
- var styles = {"sticky":"side-panel__sticky_akrqr","s":"side-panel__s_akrqr"};
8
+ var styles = {"sticky":"side-panel__sticky_ivl7p","s":"side-panel__s_ivl7p"};
9
9
  require('./desktop.css')
10
10
 
11
11
  var FooterDesktop = function (_a) {
@@ -3,10 +3,10 @@ import cn from 'classnames';
3
3
  import { ModalContext } from '../../Context.js';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
 
6
- var styles = {"footer":"side-panel__footer_7o6cs","sticky":"side-panel__sticky_7o6cs","highlighted":"side-panel__highlighted_7o6cs"};
6
+ var styles = {"footer":"side-panel__footer_1e1fe","sticky":"side-panel__sticky_1e1fe","highlighted":"side-panel__highlighted_1e1fe"};
7
7
  require('./index.css')
8
8
 
9
- var layoutStyles = {"column":"side-panel__column_1ayl5","gap-16":"side-panel__gap-16_1ayl5","gap-24":"side-panel__gap-24_1ayl5","gap-32":"side-panel__gap-32_1ayl5","start":"side-panel__start_1ayl5","center":"side-panel__center_1ayl5","space-between":"side-panel__space-between_1ayl5"};
9
+ var layoutStyles = {"column":"side-panel__column_1j9em","gap-16":"side-panel__gap-16_1j9em","gap-24":"side-panel__gap-24_1j9em","gap-32":"side-panel__gap-32_1j9em","start":"side-panel__start_1j9em","center":"side-panel__center_1j9em","space-between":"side-panel__space-between_1j9em"};
10
10
  require('./layout.css')
11
11
 
12
12
  var Footer = function (_a) {
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Footer } from './Component.js';
5
5
  import '../../Context.js';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
7
 
8
- var styles = {"footer":"side-panel__footer_1npw5","sticky":"side-panel__sticky_1npw5"};
8
+ var styles = {"footer":"side-panel__footer_1yy5l","sticky":"side-panel__sticky_1yy5l"};
9
9
  require('./mobile.css')
10
10
 
11
11
  var FooterMobile = function (_a) {
@@ -1,17 +1,22 @@
1
- /* hash: 1m6n2 */
1
+ /* hash: 16ecv */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-xl: 24px;
12
16
  --gap-2xl: 32px;
13
- }
14
- :root {
17
+ } :root {
18
+ } :root {
19
+ } :root {
15
20
 
16
21
  /* sizes */
17
22
 
@@ -23,10 +28,8 @@
23
28
  /* desktop */
24
29
 
25
30
  /* mobile */
26
- }
27
- .side-panel__sticky_akrqr {
31
+ } .side-panel__sticky_ivl7p {
28
32
  bottom: 0;
29
- }
30
- .side-panel__s_akrqr {
33
+ } .side-panel__s_ivl7p {
31
34
  padding: var(--side-panel-s-footer-paddings);
32
35
  }
@@ -1,17 +1,22 @@
1
- /* hash: 1ycla */
1
+ /* hash: 1ikb2 */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-primary: #fff;
4
5
  --color-light-border-primary: #dbdee1;
5
- }
6
- :root {
6
+ } :root {
7
+ } :root {
8
+ } :root {
7
9
 
8
10
  /* Hard */
9
11
 
10
12
  /* Up */
11
13
 
12
14
  /* Hard up */
13
- }
14
- :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
18
+ } :root {
19
+ } :root {
15
20
  --side-panel-footer-background: var(--color-light-bg-primary);
16
21
 
17
22
  /* sizes */
@@ -25,18 +30,15 @@
25
30
  /* desktop */
26
31
 
27
32
  /* mobile */
28
- }
29
- .side-panel__footer_7o6cs {
33
+ } .side-panel__footer_1e1fe {
30
34
  width: 100%;
31
35
  box-sizing: border-box;
32
36
  transition: box-shadow 0.2s ease, background 0.2s ease;
33
- }
34
- .side-panel__sticky_7o6cs {
37
+ } .side-panel__sticky_1e1fe {
35
38
  background: var(--side-panel-footer-background);
36
39
  position: sticky;
37
40
  z-index: 1;
38
- }
39
- .side-panel__highlighted_7o6cs {
41
+ } .side-panel__highlighted_1e1fe {
40
42
  background: var(--side-panel-footer-highlight-background);
41
43
  box-shadow: var(--side-panel-footer-highlight-box-shadow);
42
44
  }
@@ -1,18 +1,23 @@
1
- /* hash: muvfy */
1
+ /* hash: 72l8g */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-m: 16px;
12
16
  --gap-xl: 24px;
13
17
  --gap-2xl: 32px;
14
- }
15
- :root {
18
+ } :root {
19
+ } :root {
20
+ } :root {
16
21
  --side-panel-footer-default-gap: var(--gap-m);
17
22
 
18
23
  /* sizes */
@@ -24,61 +29,45 @@
24
29
  /* desktop */
25
30
 
26
31
  /* mobile */
27
- }
28
- .side-panel__column_1ayl5 {
32
+ } .side-panel__column_1j9em {
29
33
  display: flex;
30
34
  flex-direction: column
31
- }
32
- .side-panel__column_1ayl5 > * {
35
+ } .side-panel__column_1j9em > * {
33
36
  margin-bottom: var(--side-panel-footer-default-gap);
34
- }
35
- .side-panel__column_1ayl5 > *:last-child,
36
- .side-panel__column_1ayl5 > *:only-child {
37
+ } .side-panel__column_1j9em > *:last-child,
38
+ .side-panel__column_1j9em > *:only-child {
37
39
  margin-bottom: 0;
38
- }
39
- .side-panel__column_1ayl5.side-panel__gap-16_1ayl5 > * {
40
+ } .side-panel__column_1j9em.side-panel__gap-16_1j9em > * {
40
41
  margin-bottom: var(--gap-m);
41
- }
42
- .side-panel__column_1ayl5.side-panel__gap-24_1ayl5 > * {
42
+ } .side-panel__column_1j9em.side-panel__gap-24_1j9em > * {
43
43
  margin-bottom: var(--gap-xl);
44
- }
45
- .side-panel__column_1ayl5.side-panel__gap-32_1ayl5 > * {
44
+ } .side-panel__column_1j9em.side-panel__gap-32_1j9em > * {
46
45
  margin-bottom: var(--gap-2xl);
47
- }
48
- .side-panel__start_1ayl5 {
46
+ } .side-panel__start_1j9em {
49
47
  justify-content: flex-start;
50
- }
51
- .side-panel__center_1ayl5 {
48
+ } .side-panel__center_1j9em {
52
49
  justify-content: center;
53
- }
54
- .side-panel__space-between_1ayl5 {
50
+ } .side-panel__space-between_1j9em {
55
51
  justify-content: space-between
56
- }
57
- .side-panel__space-between_1ayl5 > * {
52
+ } .side-panel__space-between_1j9em > * {
58
53
  flex: 1;
59
- }
60
- .side-panel__start_1ayl5,
61
- .side-panel__center_1ayl5,
62
- .side-panel__space-between_1ayl5 {
54
+ } .side-panel__start_1j9em,
55
+ .side-panel__center_1j9em,
56
+ .side-panel__space-between_1j9em {
63
57
  display: flex
64
- }
65
- .side-panel__start_1ayl5 > *, .side-panel__center_1ayl5 > *, .side-panel__space-between_1ayl5 > * {
58
+ } .side-panel__start_1j9em > *, .side-panel__center_1j9em > *, .side-panel__space-between_1j9em > * {
66
59
  margin-right: var(--side-panel-footer-default-gap);
67
- }
68
- .side-panel__start_1ayl5 > *:last-child,
69
- .side-panel__start_1ayl5 > *:only-child,
70
- .side-panel__center_1ayl5 > *:last-child,
71
- .side-panel__center_1ayl5 > *:only-child,
72
- .side-panel__space-between_1ayl5 > *:last-child,
73
- .side-panel__space-between_1ayl5 > *:only-child {
60
+ } .side-panel__start_1j9em > *:last-child,
61
+ .side-panel__start_1j9em > *:only-child,
62
+ .side-panel__center_1j9em > *:last-child,
63
+ .side-panel__center_1j9em > *:only-child,
64
+ .side-panel__space-between_1j9em > *:last-child,
65
+ .side-panel__space-between_1j9em > *:only-child {
74
66
  margin-right: 0;
75
- }
76
- .side-panel__start_1ayl5.side-panel__gap-16_1ayl5 > *, .side-panel__center_1ayl5.side-panel__gap-16_1ayl5 > *, .side-panel__space-between_1ayl5.side-panel__gap-16_1ayl5 > * {
67
+ } .side-panel__start_1j9em.side-panel__gap-16_1j9em > *, .side-panel__center_1j9em.side-panel__gap-16_1j9em > *, .side-panel__space-between_1j9em.side-panel__gap-16_1j9em > * {
77
68
  margin-right: var(--gap-m);
78
- }
79
- .side-panel__start_1ayl5.side-panel__gap-24_1ayl5 > *, .side-panel__center_1ayl5.side-panel__gap-24_1ayl5 > *, .side-panel__space-between_1ayl5.side-panel__gap-24_1ayl5 > * {
69
+ } .side-panel__start_1j9em.side-panel__gap-24_1j9em > *, .side-panel__center_1j9em.side-panel__gap-24_1j9em > *, .side-panel__space-between_1j9em.side-panel__gap-24_1j9em > * {
80
70
  margin-right: var(--gap-xl);
81
- }
82
- .side-panel__start_1ayl5.side-panel__gap-32_1ayl5 > *, .side-panel__center_1ayl5.side-panel__gap-32_1ayl5 > *, .side-panel__space-between_1ayl5.side-panel__gap-32_1ayl5 > * {
71
+ } .side-panel__start_1j9em.side-panel__gap-32_1j9em > *, .side-panel__center_1j9em.side-panel__gap-32_1j9em > *, .side-panel__space-between_1j9em.side-panel__gap-32_1j9em > * {
83
72
  margin-right: var(--gap-2xl);
84
73
  }
@@ -1,16 +1,21 @@
1
- /* hash: 1q68y */
1
+ /* hash: ptpfc */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-m: 16px;
12
- }
13
- :root {
16
+ } :root {
17
+ } :root {
18
+ } :root {
14
19
 
15
20
  /* sizes */
16
21
 
@@ -21,10 +26,8 @@
21
26
  /* desktop */
22
27
 
23
28
  /* mobile */
24
- }
25
- .side-panel__footer_1npw5 {
29
+ } .side-panel__footer_1yy5l {
26
30
  padding: var(--gap-m);
27
- }
28
- .side-panel__sticky_1npw5 {
31
+ } .side-panel__sticky_1yy5l {
29
32
  bottom: 0;
30
33
  }
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
@@ -8,7 +8,7 @@ import '@alfalab/core-components-icon-button/esm';
8
8
  import '../../Context.js';
9
9
  import '@alfalab/core-components-base-modal/esm';
10
10
 
11
- var styles = {"content":"side-panel__content_18fbp","s":"side-panel__s_18fbp","hasContent":"side-panel__hasContent_18fbp","sticky":"side-panel__sticky_18fbp"};
11
+ var styles = {"content":"side-panel__content_1bhhm","s":"side-panel__s_1bhhm","hasContent":"side-panel__hasContent_1bhhm","sticky":"side-panel__sticky_1bhhm"};
12
12
  require('./desktop.css')
13
13
 
14
14
  var HeaderDesktop = function (_a) {
@@ -1,10 +1,10 @@
1
- import { a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React, { useContext, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { ModalContext } from '../../Context.js';
5
5
  import '@alfalab/core-components-base-modal/esm';
6
6
 
7
- var styles = {"header":"side-panel__header_17b1f","hasContent":"side-panel__hasContent_17b1f","highlighted":"side-panel__highlighted_17b1f","sticky":"side-panel__sticky_17b1f","backgroundImage":"side-panel__backgroundImage_17b1f","content":"side-panel__content_17b1f","title":"side-panel__title_17b1f","addon":"side-panel__addon_17b1f","closer":"side-panel__closer_17b1f","left":"side-panel__left_17b1f","center":"side-panel__center_17b1f","right":"side-panel__right_17b1f","trim":"side-panel__trim_17b1f"};
7
+ var styles = {"header":"side-panel__header_9eiwa","hasContent":"side-panel__hasContent_9eiwa","highlighted":"side-panel__highlighted_9eiwa","sticky":"side-panel__sticky_9eiwa","backgroundImage":"side-panel__backgroundImage_9eiwa","content":"side-panel__content_9eiwa","title":"side-panel__title_9eiwa","addon":"side-panel__addon_9eiwa","closer":"side-panel__closer_9eiwa","left":"side-panel__left_9eiwa","center":"side-panel__center_9eiwa","right":"side-panel__right_9eiwa","trim":"side-panel__trim_9eiwa"};
8
8
  require('./index.css')
9
9
 
10
10
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-16bbef32.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-4ea62d19.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import CrossMIcon from '@alfalab/icons-glyph/CrossMIcon';
@@ -8,7 +8,7 @@ import '@alfalab/core-components-icon-button/esm';
8
8
  import '../../Context.js';
9
9
  import '@alfalab/core-components-base-modal/esm';
10
10
 
11
- var styles = {"sticky":"side-panel__sticky_1x75u","content":"side-panel__content_1x75u"};
11
+ var styles = {"sticky":"side-panel__sticky_19v5l","content":"side-panel__content_19v5l"};
12
12
  require('./mobile.css')
13
13
 
14
14
  var HeaderMobile = function (_a) {
@@ -1,22 +1,25 @@
1
- /* hash: 10dpi */
1
+ /* hash: 1g5zp */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-xs: 8px;
12
16
  --gap-s: 12px;
13
17
  --gap-m: 16px;
14
- }
15
- :root {
18
+ } :root {
16
19
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
17
20
  sans-serif;
18
- }
19
- :root {
21
+ } :root {
22
+ } :root {
20
23
 
21
24
  /* sizes */
22
25
 
@@ -33,22 +36,17 @@
33
36
  --side-panel-header-desktop-font-family: var(--font-family-system);
34
37
 
35
38
  /* mobile */
36
- }
37
- .side-panel__content_18fbp {
39
+ } .side-panel__content_1bhhm {
38
40
  font-weight: var(--side-panel-header-desktop-font-weight);
39
41
  font-family: var(--side-panel-header-desktop-font-family);
40
- }
41
- .side-panel__s_18fbp .side-panel__content_18fbp {
42
+ } .side-panel__s_1bhhm .side-panel__content_1bhhm {
42
43
  padding: var(--side-panel-s-header-desktop-content-paddings);
43
44
  font-size: var(--side-panel-s-header-desktop-font-size);
44
45
  line-height: var(--side-panel-s-header-desktop-line-height);
45
- }
46
- .side-panel__s_18fbp {
46
+ } .side-panel__s_1bhhm {
47
47
  padding: var(--side-panel-s-header-paddings)
48
- }
49
- .side-panel__s_18fbp:not(.side-panel__hasContent_18fbp) {
48
+ } .side-panel__s_1bhhm:not(.side-panel__hasContent_1bhhm) {
50
49
  padding-bottom: 0;
51
- }
52
- .side-panel__sticky_18fbp {
50
+ } .side-panel__sticky_1bhhm {
53
51
  top: 0;
54
52
  }
@@ -1,16 +1,21 @@
1
- /* hash: 1p6uq */
1
+ /* hash: 5y0wb */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-primary: #fff;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
18
+ } :root {
14
19
  --side-panel-header-background: var(--color-light-bg-primary);
15
20
 
16
21
  /* sizes */
@@ -24,66 +29,51 @@
24
29
  /* desktop */
25
30
 
26
31
  /* mobile */
27
- }
28
- .side-panel__header_17b1f {
32
+ } .side-panel__header_9eiwa {
29
33
  width: 100%;
30
34
  box-sizing: border-box;
31
35
  display: flex;
32
36
  align-items: stretch;
33
37
  justify-content: space-between;
34
38
  transition: box-shadow 0.2s ease, background 0.2s ease
35
- }
36
- .side-panel__header_17b1f:not(.side-panel__hasContent_17b1f) {
39
+ } .side-panel__header_9eiwa:not(.side-panel__hasContent_9eiwa) {
37
40
  pointer-events: none;
38
- }
39
- .side-panel__highlighted_17b1f {
41
+ } .side-panel__highlighted_9eiwa {
40
42
  background: var(--side-panel-header-highlight-background);
41
43
  box-shadow: var(--side-panel-header-highlight-box-shadow);
42
- }
43
- .side-panel__sticky_17b1f {
44
+ } .side-panel__sticky_9eiwa {
44
45
  position: sticky;
45
46
  z-index: 1
46
- }
47
- .side-panel__sticky_17b1f.side-panel__hasContent_17b1f {
47
+ } .side-panel__sticky_9eiwa.side-panel__hasContent_9eiwa {
48
48
  background: var(--side-panel-header-background);
49
- }
50
- .side-panel__header_17b1f.side-panel__backgroundImage_17b1f {
49
+ } .side-panel__header_9eiwa.side-panel__backgroundImage_9eiwa {
51
50
  background: center no-repeat;
52
51
  background-size: cover;
53
- }
54
- .side-panel__content_17b1f {
52
+ } .side-panel__content_9eiwa {
55
53
  flex-grow: 1;
56
- }
57
- .side-panel__title_17b1f {
54
+ } .side-panel__title_9eiwa {
58
55
  word-break: break-word;
59
- }
60
- .side-panel__addon_17b1f {
56
+ } .side-panel__addon_9eiwa {
61
57
  min-width: 48px;
62
58
  height: 48px;
63
59
  display: flex;
64
60
  justify-content: center;
65
61
  align-items: center;
66
62
  pointer-events: all;
67
- }
68
- .side-panel__closer_17b1f {
63
+ } .side-panel__closer_9eiwa {
69
64
  margin-left: auto;
70
- }
71
- .side-panel__left_17b1f {
65
+ } .side-panel__left_9eiwa {
72
66
  justify-content: flex-start;
73
67
  text-align: left;
74
- }
75
- .side-panel__center_17b1f {
68
+ } .side-panel__center_9eiwa {
76
69
  justify-content: center;
77
70
  text-align: center;
78
- }
79
- .side-panel__right_17b1f {
71
+ } .side-panel__right_9eiwa {
80
72
  justify-content: flex-end;
81
73
  text-align: right;
82
- }
83
- .side-panel__trim_17b1f {
74
+ } .side-panel__trim_9eiwa {
84
75
  overflow: hidden
85
- }
86
- .side-panel__trim_17b1f .side-panel__title_17b1f {
76
+ } .side-panel__trim_9eiwa .side-panel__title_9eiwa {
87
77
  overflow: hidden;
88
78
  white-space: nowrap;
89
79
  text-overflow: ellipsis;