@alfalab/core-components-modal 5.2.5 → 5.3.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 (110) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/Component.desktop.js +3 -3
  3. package/Component.mobile.js +3 -3
  4. package/Component.responsive.d.ts +13 -1
  5. package/Component.responsive.js +5 -5
  6. package/components/closer/Component.js +2 -2
  7. package/components/closer/index.css +4 -4
  8. package/components/content/Component.desktop.js +2 -2
  9. package/components/content/Component.js +1 -1
  10. package/components/content/Component.mobile.js +2 -2
  11. package/components/content/desktop.css +8 -8
  12. package/components/content/index.css +3 -3
  13. package/components/content/mobile.css +3 -3
  14. package/components/footer/Component.desktop.js +2 -2
  15. package/components/footer/Component.js +2 -2
  16. package/components/footer/Component.mobile.js +2 -2
  17. package/components/footer/desktop.css +9 -9
  18. package/components/footer/index.css +4 -4
  19. package/components/footer/layout.css +25 -25
  20. package/components/footer/mobile.css +3 -3
  21. package/components/header/Component.desktop.js +2 -2
  22. package/components/header/Component.js +1 -1
  23. package/components/header/Component.mobile.js +2 -2
  24. package/components/header/desktop.css +17 -17
  25. package/components/header/index.css +15 -15
  26. package/components/header/mobile.css +3 -3
  27. package/cssm/Component.responsive.d.ts +14 -2
  28. package/cssm/Component.responsive.js +3 -3
  29. package/desktop.css +9 -9
  30. package/desktop.js +2 -2
  31. package/esm/Component.desktop.js +3 -3
  32. package/esm/Component.mobile.js +3 -3
  33. package/esm/Component.responsive.d.ts +14 -2
  34. package/esm/Component.responsive.js +5 -5
  35. package/esm/components/closer/Component.js +2 -2
  36. package/esm/components/closer/index.css +4 -4
  37. package/esm/components/content/Component.desktop.js +2 -2
  38. package/esm/components/content/Component.js +1 -1
  39. package/esm/components/content/Component.mobile.js +2 -2
  40. package/esm/components/content/desktop.css +8 -8
  41. package/esm/components/content/index.css +3 -3
  42. package/esm/components/content/mobile.css +3 -3
  43. package/esm/components/footer/Component.desktop.js +2 -2
  44. package/esm/components/footer/Component.js +2 -2
  45. package/esm/components/footer/Component.mobile.js +2 -2
  46. package/esm/components/footer/desktop.css +9 -9
  47. package/esm/components/footer/index.css +4 -4
  48. package/esm/components/footer/layout.css +25 -25
  49. package/esm/components/footer/mobile.css +3 -3
  50. package/esm/components/header/Component.desktop.js +2 -2
  51. package/esm/components/header/Component.js +1 -1
  52. package/esm/components/header/Component.mobile.js +2 -2
  53. package/esm/components/header/desktop.css +17 -17
  54. package/esm/components/header/index.css +15 -15
  55. package/esm/components/header/mobile.css +3 -3
  56. package/esm/desktop.css +9 -9
  57. package/esm/desktop.js +2 -2
  58. package/esm/index.js +2 -2
  59. package/esm/mobile.css +2 -2
  60. package/esm/mobile.js +2 -2
  61. package/esm/responsive.js +2 -2
  62. package/esm/transitions.css +8 -8
  63. package/esm/transitions.module-48ce371b.js +4 -0
  64. package/esm/{tslib.es6-b60fb885.d.ts → tslib.es6-58151049.d.ts} +0 -0
  65. package/esm/{tslib.es6-b60fb885.js → tslib.es6-58151049.js} +0 -0
  66. package/index.js +2 -2
  67. package/mobile.css +2 -2
  68. package/mobile.js +2 -2
  69. package/modern/Component.desktop.js +2 -2
  70. package/modern/Component.mobile.js +2 -2
  71. package/modern/Component.responsive.d.ts +13 -1
  72. package/modern/Component.responsive.js +4 -4
  73. package/modern/components/closer/Component.js +2 -2
  74. package/modern/components/closer/index.css +4 -4
  75. package/modern/components/content/Component.desktop.js +1 -1
  76. package/modern/components/content/Component.js +1 -1
  77. package/modern/components/content/Component.mobile.js +1 -1
  78. package/modern/components/content/desktop.css +8 -8
  79. package/modern/components/content/index.css +3 -3
  80. package/modern/components/content/mobile.css +3 -3
  81. package/modern/components/footer/Component.desktop.js +1 -1
  82. package/modern/components/footer/Component.js +2 -2
  83. package/modern/components/footer/Component.mobile.js +1 -1
  84. package/modern/components/footer/desktop.css +9 -9
  85. package/modern/components/footer/index.css +4 -4
  86. package/modern/components/footer/layout.css +25 -25
  87. package/modern/components/footer/mobile.css +3 -3
  88. package/modern/components/header/Component.desktop.js +1 -1
  89. package/modern/components/header/Component.js +1 -1
  90. package/modern/components/header/Component.mobile.js +1 -1
  91. package/modern/components/header/desktop.css +17 -17
  92. package/modern/components/header/index.css +15 -15
  93. package/modern/components/header/mobile.css +3 -3
  94. package/modern/desktop.css +9 -9
  95. package/modern/desktop.js +1 -1
  96. package/modern/index.js +1 -1
  97. package/modern/mobile.css +2 -2
  98. package/modern/mobile.js +1 -1
  99. package/modern/responsive.js +1 -1
  100. package/modern/transitions.css +8 -8
  101. package/modern/transitions.module-48ce371b.js +4 -0
  102. package/package.json +7 -7
  103. package/responsive.js +2 -2
  104. package/transitions.css +8 -8
  105. package/transitions.module-599e6d7b.js +6 -0
  106. package/{tslib.es6-a3a19bff.d.ts → tslib.es6-a88e5aa4.d.ts} +0 -0
  107. package/{tslib.es6-a3a19bff.js → tslib.es6-a88e5aa4.js} +0 -0
  108. package/esm/transitions.module-3b5dee52.js +0 -4
  109. package/modern/transitions.module-3b5dee52.js +0 -4
  110. package/transitions.module-4e5adb69.js +0 -6
@@ -1,4 +1,4 @@
1
- /* hash: 198ur */
1
+ /* hash: vyru2 */
2
2
  :root {
3
3
  --color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
4
4
  }
@@ -29,7 +29,7 @@
29
29
  :root {
30
30
  --modal-closer-bg-color: var(--color-light-bg-primary-alpha-40);
31
31
  }
32
- .modal__closer_4nuhy {
32
+ .modal__closer_1y0l6 {
33
33
  flex-shrink: 0;
34
34
  width: 48px;
35
35
  height: 48px;
@@ -38,13 +38,13 @@
38
38
  align-items: center;
39
39
  justify-content: center;
40
40
  }
41
- .modal__button_4nuhy {
41
+ .modal__button_1y0l6 {
42
42
  background: var(--modal-closer-bg-color);
43
43
  -webkit-backdrop-filter: blur(10px);
44
44
  backdrop-filter: blur(10px);
45
45
  border-radius: 50px;
46
46
  }
47
- .modal__sticky_4nuhy {
47
+ .modal__sticky_1y0l6 {
48
48
  position: sticky;
49
49
  top: calc(var(--modal-vertical-padding) * -1);
50
50
  }
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"s":"modal__s_16pqp","m":"modal__m_16pqp","l":"modal__l_16pqp","xl":"modal__xl_16pqp","fullscreen":"modal__fullscreen_16pqp"};
7
+ var styles = {"s":"modal__s_1q0fn","m":"modal__m_1q0fn","l":"modal__l_1q0fn","xl":"modal__xl_1q0fn","fullscreen":"modal__fullscreen_1q0fn"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const ContentDesktop = ({ size, className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, size && styles[size]) }, restProps)));
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"content":"modal__content_mq506","flex":"modal__flex_mq506"};
6
+ var styles = {"content":"modal__content_3213g","flex":"modal__flex_3213g"};
7
7
  require('./index.css')
8
8
 
9
9
  const Content = ({ children, flex, className }) => {
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"content":"modal__content_2x864"};
7
+ var styles = {"content":"modal__content_1bkee"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const ContentMobile = ({ className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, styles.content) }, restProps)));
@@ -1,4 +1,4 @@
1
- /* hash: 1upk1 */
1
+ /* hash: amle4 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,18 +24,18 @@
24
24
 
25
25
  /* mobile */
26
26
  }
27
- .modal__s_16pqp,
28
- .modal__m_16pqp {
27
+ .modal__s_1q0fn,
28
+ .modal__m_1q0fn {
29
29
  padding: var(--modal-s-content-paddings)
30
30
  }
31
- .modal__s_16pqp:last-child, .modal__m_16pqp:last-child {
31
+ .modal__s_1q0fn:last-child, .modal__m_1q0fn:last-child {
32
32
  padding-bottom: var(--modal-s-content-only-bottom-padding);
33
33
  }
34
- .modal__l_16pqp,
35
- .modal__xl_16pqp,
36
- .modal__fullscreen_16pqp {
34
+ .modal__l_1q0fn,
35
+ .modal__xl_1q0fn,
36
+ .modal__fullscreen_1q0fn {
37
37
  padding: 0 var(--gap-6xl)
38
38
  }
39
- .modal__l_16pqp:last-child, .modal__xl_16pqp:last-child, .modal__fullscreen_16pqp:last-child {
39
+ .modal__l_1q0fn:last-child, .modal__xl_1q0fn:last-child, .modal__fullscreen_1q0fn:last-child {
40
40
  padding-bottom: var(--gap-6xl);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1xi5v */
1
+ /* hash: 3vjh3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,10 +19,10 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__content_mq506 {
22
+ .modal__content_3213g {
23
23
  box-sizing: border-box;
24
24
  width: 100%;
25
25
  }
26
- .modal__flex_mq506 {
26
+ .modal__flex_3213g {
27
27
  flex: 1 1 auto;
28
28
  }
@@ -1,4 +1,4 @@
1
- /* hash: ftmxb */
1
+ /* hash: 12ndl */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__content_2x864 {
25
+ .modal__content_1bkee {
26
26
  padding: 0 var(--gap-m)
27
27
  }
28
- .modal__content_2x864:last-child {
28
+ .modal__content_1bkee:last-child {
29
29
  padding-bottom: var(--gap-m);
30
30
  }
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Footer } from './Component.js';
6
6
 
7
- var styles = {"footer":"modal__footer_c5hjs","sticky":"modal__sticky_c5hjs","fullscreen":"modal__fullscreen_c5hjs","s":"modal__s_c5hjs","m":"modal__m_c5hjs","l":"modal__l_c5hjs","xl":"modal__xl_c5hjs"};
7
+ var styles = {"footer":"modal__footer_1rihp","sticky":"modal__sticky_1rihp","fullscreen":"modal__fullscreen_1rihp","s":"modal__s_1rihp","m":"modal__m_1rihp","l":"modal__l_1rihp","xl":"modal__xl_1rihp"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const FooterDesktop = ({ size, className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, size && styles[size], {
@@ -3,10 +3,10 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"footer":"modal__footer_ta5hb","sticky":"modal__sticky_ta5hb","highlighted":"modal__highlighted_ta5hb"};
6
+ var styles = {"footer":"modal__footer_1ckue","sticky":"modal__sticky_1ckue","highlighted":"modal__highlighted_1ckue"};
7
7
  require('./index.css')
8
8
 
9
- var layoutStyles = {"column":"modal__column_x7jpi","gap-16":"modal__gap-16_x7jpi","gap-24":"modal__gap-24_x7jpi","gap-32":"modal__gap-32_x7jpi","start":"modal__start_x7jpi","center":"modal__center_x7jpi","space-between":"modal__space-between_x7jpi"};
9
+ var layoutStyles = {"column":"modal__column_djfss","gap-16":"modal__gap-16_djfss","gap-24":"modal__gap-24_djfss","gap-32":"modal__gap-32_djfss","start":"modal__start_djfss","center":"modal__center_djfss","space-between":"modal__space-between_djfss"};
10
10
  require('./layout.css')
11
11
 
12
12
  const Footer = ({ children, className, sticky, layout = 'start', gap }) => {
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Footer } from './Component.js';
6
6
 
7
- var styles = {"footer":"modal__footer_g5ua4","sticky":"modal__sticky_g5ua4"};
7
+ var styles = {"footer":"modal__footer_lu7nw","sticky":"modal__sticky_lu7nw"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const FooterMobile = ({ className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, {
@@ -1,4 +1,4 @@
1
- /* hash: dy65j */
1
+ /* hash: jcnt6 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,22 +31,22 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__footer_c5hjs {
34
+ .modal__footer_1rihp {
35
35
  border-bottom-left-radius: var(--modal-border-radius);
36
36
  border-bottom-right-radius: var(--modal-border-radius);
37
37
  }
38
- .modal__sticky_c5hjs {
38
+ .modal__sticky_1rihp {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_c5hjs.modal__fullscreen_c5hjs {
41
+ .modal__sticky_1rihp.modal__fullscreen_1rihp {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_c5hjs,
45
- .modal__m_c5hjs {
44
+ .modal__s_1rihp,
45
+ .modal__m_1rihp {
46
46
  padding: var(--modal-s-footer-paddings);
47
47
  }
48
- .modal__l_c5hjs,
49
- .modal__xl_c5hjs,
50
- .modal__fullscreen_c5hjs {
48
+ .modal__l_1rihp,
49
+ .modal__xl_1rihp,
50
+ .modal__fullscreen_1rihp {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: d7xls */
1
+ /* hash: s630c */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -26,16 +26,16 @@
26
26
 
27
27
  /* mobile */
28
28
  }
29
- .modal__footer_ta5hb {
29
+ .modal__footer_1ckue {
30
30
  width: 100%;
31
31
  box-sizing: border-box;
32
32
  transition: box-shadow 0.2s ease, background 0.2s ease;
33
33
  }
34
- .modal__sticky_ta5hb {
34
+ .modal__sticky_1ckue {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_ta5hb {
38
+ .modal__highlighted_1ckue {
39
39
  background: var(--modal-footer-highlight-background);
40
40
  box-shadow: var(--modal-footer-highlight-box-shadow);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: iljcp */
1
+ /* hash: o010c */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__column_x7jpi {
28
+ .modal__column_djfss {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_x7jpi > * {
32
+ .modal__column_djfss > * {
33
33
  margin-bottom: var(--modal-footer-default-gap);
34
34
  }
35
- .modal__column_x7jpi > *:last-child,
36
- .modal__column_x7jpi > *:only-child {
35
+ .modal__column_djfss > *:last-child,
36
+ .modal__column_djfss > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_x7jpi.modal__gap-16_x7jpi > * {
39
+ .modal__column_djfss.modal__gap-16_djfss > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_x7jpi.modal__gap-24_x7jpi > * {
42
+ .modal__column_djfss.modal__gap-24_djfss > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_x7jpi.modal__gap-32_x7jpi > * {
45
+ .modal__column_djfss.modal__gap-32_djfss > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_x7jpi {
48
+ .modal__start_djfss {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_x7jpi {
51
+ .modal__center_djfss {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_x7jpi {
54
+ .modal__space-between_djfss {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_x7jpi > * {
57
+ .modal__space-between_djfss > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_x7jpi,
61
- .modal__center_x7jpi,
62
- .modal__space-between_x7jpi {
60
+ .modal__start_djfss,
61
+ .modal__center_djfss,
62
+ .modal__space-between_djfss {
63
63
  display: flex
64
64
  }
65
- .modal__start_x7jpi > *, .modal__center_x7jpi > *, .modal__space-between_x7jpi > * {
65
+ .modal__start_djfss > *, .modal__center_djfss > *, .modal__space-between_djfss > * {
66
66
  margin-right: var(--modal-footer-default-gap);
67
67
  }
68
- .modal__start_x7jpi > *:last-child,
69
- .modal__start_x7jpi > *:only-child,
70
- .modal__center_x7jpi > *:last-child,
71
- .modal__center_x7jpi > *:only-child,
72
- .modal__space-between_x7jpi > *:last-child,
73
- .modal__space-between_x7jpi > *:only-child {
68
+ .modal__start_djfss > *:last-child,
69
+ .modal__start_djfss > *:only-child,
70
+ .modal__center_djfss > *:last-child,
71
+ .modal__center_djfss > *:only-child,
72
+ .modal__space-between_djfss > *:last-child,
73
+ .modal__space-between_djfss > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .modal__start_x7jpi.modal__gap-16_x7jpi > *, .modal__center_x7jpi.modal__gap-16_x7jpi > *, .modal__space-between_x7jpi.modal__gap-16_x7jpi > * {
76
+ .modal__start_djfss.modal__gap-16_djfss > *, .modal__center_djfss.modal__gap-16_djfss > *, .modal__space-between_djfss.modal__gap-16_djfss > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .modal__start_x7jpi.modal__gap-24_x7jpi > *, .modal__center_x7jpi.modal__gap-24_x7jpi > *, .modal__space-between_x7jpi.modal__gap-24_x7jpi > * {
79
+ .modal__start_djfss.modal__gap-24_djfss > *, .modal__center_djfss.modal__gap-24_djfss > *, .modal__space-between_djfss.modal__gap-24_djfss > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .modal__start_x7jpi.modal__gap-32_x7jpi > *, .modal__center_x7jpi.modal__gap-32_x7jpi > *, .modal__space-between_x7jpi.modal__gap-32_x7jpi > * {
82
+ .modal__start_djfss.modal__gap-32_djfss > *, .modal__center_djfss.modal__gap-32_djfss > *, .modal__space-between_djfss.modal__gap-32_djfss > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1kn31 */
1
+ /* hash: 1xx5y */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__footer_g5ua4 {
25
+ .modal__footer_lu7nw {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_g5ua4 {
28
+ .modal__sticky_lu7nw {
29
29
  bottom: 0;
30
30
  }
@@ -7,7 +7,7 @@ import '@alfalab/core-components-icon-button/modern';
7
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import { Closer } from '../closer/Component.js';
9
9
 
10
- var styles = {"header":"modal__header_g2899","content":"modal__content_g2899","s":"modal__s_g2899","m":"modal__m_g2899","l":"modal__l_g2899","xl":"modal__xl_g2899","fullscreen":"modal__fullscreen_g2899","hasContent":"modal__hasContent_g2899","sticky":"modal__sticky_g2899"};
10
+ var styles = {"header":"modal__header_sfnqs","content":"modal__content_sfnqs","s":"modal__s_sfnqs","m":"modal__m_sfnqs","l":"modal__l_sfnqs","xl":"modal__xl_sfnqs","fullscreen":"modal__fullscreen_sfnqs","hasContent":"modal__hasContent_sfnqs","sticky":"modal__sticky_sfnqs"};
11
11
  require('./desktop.css')
12
12
 
13
13
  const HeaderDesktop = ({ size, className, contentClassName, hasCloser = true, sticky, leftAddons = React.createElement("span", null), title, children, ...restProps }) => {
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"header":"modal__header_1ysu8","hasContent":"modal__hasContent_1ysu8","highlighted":"modal__highlighted_1ysu8","sticky":"modal__sticky_1ysu8","content":"modal__content_1ysu8","title":"modal__title_1ysu8","addon":"modal__addon_1ysu8","closer":"modal__closer_1ysu8","left":"modal__left_1ysu8","center":"modal__center_1ysu8","right":"modal__right_1ysu8","trim":"modal__trim_1ysu8"};
6
+ var styles = {"header":"modal__header_1f3yh","hasContent":"modal__hasContent_1f3yh","highlighted":"modal__highlighted_1f3yh","sticky":"modal__sticky_1f3yh","content":"modal__content_1f3yh","title":"modal__title_1f3yh","addon":"modal__addon_1f3yh","closer":"modal__closer_1f3yh","left":"modal__left_1f3yh","center":"modal__center_1f3yh","right":"modal__right_1f3yh","trim":"modal__trim_1f3yh"};
7
7
  require('./index.css')
8
8
 
9
9
  const Header = ({ className, addonClassName, contentClassName, leftAddons, children, align = 'left', trim = true, title, closer, sticky, }) => {
@@ -8,7 +8,7 @@ import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import { Closer } from '../closer/Component.js';
9
9
  import CrossMIcon from '@alfalab/icons-glyph/CrossMIcon';
10
10
 
11
- var styles = {"sticky":"modal__sticky_t38h9","content":"modal__content_t38h9"};
11
+ var styles = {"sticky":"modal__sticky_2q2gr","content":"modal__content_2q2gr"};
12
12
  require('./mobile.css')
13
13
 
14
14
  const HeaderMobile = ({ className, contentClassName, hasCloser = true, sticky, ...restProps }) => (React.createElement(Header, Object.assign({ className: cn(className, {
@@ -1,4 +1,4 @@
1
- /* hash: 18lga */
1
+ /* hash: 1dzxy */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -43,45 +43,45 @@
43
43
 
44
44
  /* mobile */
45
45
  }
46
- .modal__header_g2899 {
46
+ .modal__header_sfnqs {
47
47
  border-top-left-radius: var(--modal-border-radius);
48
48
  border-top-right-radius: var(--modal-border-radius);
49
49
  }
50
- .modal__content_g2899 {
50
+ .modal__content_sfnqs {
51
51
  font-weight: var(--modal-header-desktop-font-weight);
52
52
  font-family: var(--modal-header-desktop-font-family);
53
53
  }
54
- .modal__s_g2899 .modal__content_g2899,
55
- .modal__m_g2899 .modal__content_g2899 {
54
+ .modal__s_sfnqs .modal__content_sfnqs,
55
+ .modal__m_sfnqs .modal__content_sfnqs {
56
56
  padding: var(--modal-s-header-desktop-content-paddings);
57
57
  font-size: var(--modal-s-header-desktop-font-size);
58
58
  line-height: var(--modal-s-header-desktop-line-height);
59
59
  }
60
- .modal__l_g2899 .modal__content_g2899,
61
- .modal__xl_g2899 .modal__content_g2899,
62
- .modal__fullscreen_g2899 .modal__content_g2899 {
60
+ .modal__l_sfnqs .modal__content_sfnqs,
61
+ .modal__xl_sfnqs .modal__content_sfnqs,
62
+ .modal__fullscreen_sfnqs .modal__content_sfnqs {
63
63
  padding: var(--modal-l-header-desktop-content-paddings);
64
64
  font-size: var(--modal-l-header-desktop-font-size);
65
65
  line-height: var(--modal-l-header-desktop-line-height);
66
66
  }
67
- .modal__s_g2899,
68
- .modal__m_g2899 {
67
+ .modal__s_sfnqs,
68
+ .modal__m_sfnqs {
69
69
  padding: var(--modal-s-header-paddings)
70
70
  }
71
- .modal__s_g2899:not(.modal__hasContent_g2899), .modal__m_g2899:not(.modal__hasContent_g2899) {
71
+ .modal__s_sfnqs:not(.modal__hasContent_sfnqs), .modal__m_sfnqs:not(.modal__hasContent_sfnqs) {
72
72
  padding-bottom: 0;
73
73
  }
74
- .modal__l_g2899,
75
- .modal__xl_g2899,
76
- .modal__fullscreen_g2899 {
74
+ .modal__l_sfnqs,
75
+ .modal__xl_sfnqs,
76
+ .modal__fullscreen_sfnqs {
77
77
  padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
78
78
  }
79
- .modal__l_g2899:not(.modal__hasContent_g2899), .modal__xl_g2899:not(.modal__hasContent_g2899), .modal__fullscreen_g2899:not(.modal__hasContent_g2899) {
79
+ .modal__l_sfnqs:not(.modal__hasContent_sfnqs), .modal__xl_sfnqs:not(.modal__hasContent_sfnqs), .modal__fullscreen_sfnqs:not(.modal__hasContent_sfnqs) {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .modal__sticky_g2899 {
82
+ .modal__sticky_sfnqs {
83
83
  top: calc(var(--modal-vertical-padding) * -1)
84
84
  }
85
- .modal__sticky_g2899.modal__fullscreen_g2899 {
85
+ .modal__sticky_sfnqs.modal__fullscreen_sfnqs {
86
86
  top: 0;
87
87
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1qtb9 */
1
+ /* hash: 6qcm7 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -25,7 +25,7 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__header_1ysu8 {
28
+ .modal__header_1f3yh {
29
29
  width: 100%;
30
30
  box-sizing: border-box;
31
31
  display: flex;
@@ -33,26 +33,26 @@
33
33
  justify-content: space-between;
34
34
  transition: box-shadow 0.2s ease, background 0.2s ease
35
35
  }
36
- .modal__header_1ysu8:not(.modal__hasContent_1ysu8) {
36
+ .modal__header_1f3yh:not(.modal__hasContent_1f3yh) {
37
37
  pointer-events: none;
38
38
  }
39
- .modal__highlighted_1ysu8 {
39
+ .modal__highlighted_1f3yh {
40
40
  background: var(--modal-header-highlight-background);
41
41
  box-shadow: var(--modal-header-highlight-box-shadow);
42
42
  }
43
- .modal__sticky_1ysu8 {
43
+ .modal__sticky_1f3yh {
44
44
  position: sticky
45
45
  }
46
- .modal__sticky_1ysu8.modal__hasContent_1ysu8 {
46
+ .modal__sticky_1f3yh.modal__hasContent_1f3yh {
47
47
  background: var(--modal-header-background);
48
48
  }
49
- .modal__content_1ysu8 {
49
+ .modal__content_1f3yh {
50
50
  flex-grow: 1;
51
51
  }
52
- .modal__title_1ysu8 {
52
+ .modal__title_1f3yh {
53
53
  word-break: break-word;
54
54
  }
55
- .modal__addon_1ysu8 {
55
+ .modal__addon_1f3yh {
56
56
  min-width: 48px;
57
57
  height: 48px;
58
58
  display: flex;
@@ -60,25 +60,25 @@
60
60
  align-items: center;
61
61
  pointer-events: all;
62
62
  }
63
- .modal__closer_1ysu8 {
63
+ .modal__closer_1f3yh {
64
64
  margin-left: auto;
65
65
  }
66
- .modal__left_1ysu8 {
66
+ .modal__left_1f3yh {
67
67
  justify-content: flex-start;
68
68
  text-align: left;
69
69
  }
70
- .modal__center_1ysu8 {
70
+ .modal__center_1f3yh {
71
71
  justify-content: center;
72
72
  text-align: center;
73
73
  }
74
- .modal__right_1ysu8 {
74
+ .modal__right_1f3yh {
75
75
  justify-content: flex-end;
76
76
  text-align: right;
77
77
  }
78
- .modal__trim_1ysu8 {
78
+ .modal__trim_1f3yh {
79
79
  overflow: hidden
80
80
  }
81
- .modal__trim_1ysu8 .modal__title_1ysu8 {
81
+ .modal__trim_1f3yh .modal__title_1f3yh {
82
82
  overflow: hidden;
83
83
  white-space: nowrap;
84
84
  text-overflow: ellipsis;
@@ -1,4 +1,4 @@
1
- /* hash: ytfnv */
1
+ /* hash: 1c3il */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -33,10 +33,10 @@
33
33
  --modal-header-mobile-font-family: var(--font-family-system);
34
34
  --modal-header-mobile-font-weight: bold;
35
35
  }
36
- .modal__sticky_t38h9 {
36
+ .modal__sticky_2q2gr {
37
37
  top: 0;
38
38
  }
39
- .modal__content_t38h9 {
39
+ .modal__content_2q2gr {
40
40
  font-size: var(--modal-header-mobile-font-size);
41
41
  line-height: var(--modal-header-mobile-line-height);
42
42
  font-family: var(--modal-header-mobile-font-family);
@@ -1,4 +1,4 @@
1
- /* hash: 1mhtq */
1
+ /* hash: zo31j */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,32 +31,32 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__wrapper_tsm3i {
34
+ .modal__wrapper_1k6jx {
35
35
  padding-top: var(--modal-vertical-padding);
36
36
  padding-bottom: var(--modal-vertical-padding);
37
37
  }
38
- .modal__component_tsm3i {
38
+ .modal__component_1k6jx {
39
39
  width: 100%;
40
40
  max-width: 100%;
41
41
  border-radius: var(--modal-border-radius);
42
42
  }
43
- .modal__fullscreen_tsm3i {
43
+ .modal__fullscreen_1k6jx {
44
44
  padding-top: 0;
45
45
  padding-bottom: 0
46
46
  }
47
- .modal__fullscreen_tsm3i .modal__component_tsm3i {
47
+ .modal__fullscreen_1k6jx .modal__component_1k6jx {
48
48
  flex: 1;
49
49
  border-radius: 0;
50
50
  }
51
- .modal__s_tsm3i {
51
+ .modal__s_1k6jx {
52
52
  width: var(--modal-s-width);
53
53
  }
54
- .modal__m_tsm3i {
54
+ .modal__m_1k6jx {
55
55
  width: var(--modal-m-width);
56
56
  }
57
- .modal__l_tsm3i {
57
+ .modal__l_1k6jx {
58
58
  width: var(--modal-l-width);
59
59
  }
60
- .modal__xl_tsm3i {
60
+ .modal__xl_1k6jx {
61
61
  width: var(--modal-xl-width);
62
62
  }
package/modern/desktop.js CHANGED
@@ -13,4 +13,4 @@ import './components/content/Component.desktop.js';
13
13
  import './components/footer/Component.js';
14
14
  import './components/footer/Component.desktop.js';
15
15
  export { ModalDesktop } from './Component.desktop.js';
16
- import './transitions.module-3b5dee52.js';
16
+ import './transitions.module-48ce371b.js';
package/modern/index.js CHANGED
@@ -13,7 +13,7 @@ import './components/content/Component.desktop.js';
13
13
  import './components/footer/Component.js';
14
14
  import './components/footer/Component.desktop.js';
15
15
  import './Component.desktop.js';
16
- import './transitions.module-3b5dee52.js';
16
+ import './transitions.module-48ce371b.js';
17
17
  import '@alfalab/icons-glyph/CrossMIcon';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
package/modern/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1d0ea */
1
+ /* hash: y28w2 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__component_79osl {
22
+ .modal__component_1n03x {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
package/modern/mobile.js CHANGED
@@ -8,7 +8,7 @@ import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import './components/closer/Component.js';
9
9
  import './components/content/Component.js';
10
10
  import './components/footer/Component.js';
11
- import './transitions.module-3b5dee52.js';
11
+ import './transitions.module-48ce371b.js';
12
12
  import '@alfalab/icons-glyph/CrossMIcon';
13
13
  import './components/header/Component.mobile.js';
14
14
  import './components/content/Component.mobile.js';
@@ -13,7 +13,7 @@ import './components/content/Component.desktop.js';
13
13
  import './components/footer/Component.js';
14
14
  import './components/footer/Component.desktop.js';
15
15
  import './Component.desktop.js';
16
- import './transitions.module-3b5dee52.js';
16
+ import './transitions.module-48ce371b.js';
17
17
  import '@alfalab/icons-glyph/CrossMIcon';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';