@alfalab/core-components-modal 4.0.3 → 4.0.7

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 (92) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/Component.desktop.js +3 -3
  3. package/dist/Component.mobile.js +3 -3
  4. package/dist/Component.responsive.js +2 -2
  5. package/dist/components/closer/Component.js +2 -2
  6. package/dist/components/closer/index.css +8 -8
  7. package/dist/components/content/Component.desktop.js +2 -2
  8. package/dist/components/content/Component.mobile.js +2 -2
  9. package/dist/components/content/desktop.css +12 -12
  10. package/dist/components/content/mobile.css +7 -7
  11. package/dist/components/footer/Component.desktop.js +2 -2
  12. package/dist/components/footer/Component.js +1 -1
  13. package/dist/components/footer/Component.mobile.js +2 -2
  14. package/dist/components/footer/desktop.css +12 -12
  15. package/dist/components/footer/layout.css +25 -25
  16. package/dist/components/footer/mobile.css +7 -7
  17. package/dist/components/header/Component.desktop.js +2 -2
  18. package/dist/components/header/Component.js +1 -1
  19. package/dist/components/header/Component.mobile.js +2 -2
  20. package/dist/components/header/desktop.css +16 -16
  21. package/dist/components/header/mobile.css +11 -11
  22. package/dist/desktop.css +8 -8
  23. package/dist/desktop.js +2 -2
  24. package/dist/esm/Component.desktop.js +3 -3
  25. package/dist/esm/Component.mobile.js +3 -3
  26. package/dist/esm/Component.responsive.js +2 -2
  27. package/dist/esm/components/closer/Component.js +2 -2
  28. package/dist/esm/components/closer/index.css +8 -8
  29. package/dist/esm/components/content/Component.desktop.js +2 -2
  30. package/dist/esm/components/content/Component.mobile.js +2 -2
  31. package/dist/esm/components/content/desktop.css +12 -12
  32. package/dist/esm/components/content/mobile.css +7 -7
  33. package/dist/esm/components/footer/Component.desktop.js +2 -2
  34. package/dist/esm/components/footer/Component.js +1 -1
  35. package/dist/esm/components/footer/Component.mobile.js +2 -2
  36. package/dist/esm/components/footer/desktop.css +12 -12
  37. package/dist/esm/components/footer/layout.css +25 -25
  38. package/dist/esm/components/footer/mobile.css +7 -7
  39. package/dist/esm/components/header/Component.desktop.js +2 -2
  40. package/dist/esm/components/header/Component.js +1 -1
  41. package/dist/esm/components/header/Component.mobile.js +2 -2
  42. package/dist/esm/components/header/desktop.css +16 -16
  43. package/dist/esm/components/header/mobile.css +11 -11
  44. package/dist/esm/desktop.css +8 -8
  45. package/dist/esm/desktop.js +2 -2
  46. package/dist/esm/index.js +2 -2
  47. package/dist/esm/mobile.css +2 -2
  48. package/dist/esm/mobile.js +2 -2
  49. package/dist/esm/responsive.js +2 -2
  50. package/dist/esm/transitions.css +8 -8
  51. package/dist/esm/transitions.module-c8dac06a.js +4 -0
  52. package/dist/esm/{tslib.es6-428cbd49.d.ts → tslib.es6-327e6722.d.ts} +0 -0
  53. package/dist/esm/{tslib.es6-428cbd49.js → tslib.es6-327e6722.js} +0 -0
  54. package/dist/index.js +2 -2
  55. package/dist/mobile.css +2 -2
  56. package/dist/mobile.js +2 -2
  57. package/dist/modern/Component.desktop.js +2 -2
  58. package/dist/modern/Component.mobile.js +2 -2
  59. package/dist/modern/Component.responsive.js +1 -1
  60. package/dist/modern/components/closer/Component.js +1 -1
  61. package/dist/modern/components/closer/index.css +8 -8
  62. package/dist/modern/components/content/Component.desktop.js +1 -1
  63. package/dist/modern/components/content/Component.mobile.js +1 -1
  64. package/dist/modern/components/content/desktop.css +12 -12
  65. package/dist/modern/components/content/mobile.css +7 -7
  66. package/dist/modern/components/footer/Component.desktop.js +1 -1
  67. package/dist/modern/components/footer/Component.js +1 -1
  68. package/dist/modern/components/footer/Component.mobile.js +1 -1
  69. package/dist/modern/components/footer/desktop.css +12 -12
  70. package/dist/modern/components/footer/layout.css +25 -25
  71. package/dist/modern/components/footer/mobile.css +7 -7
  72. package/dist/modern/components/header/Component.desktop.js +1 -1
  73. package/dist/modern/components/header/Component.mobile.js +1 -1
  74. package/dist/modern/components/header/desktop.css +16 -16
  75. package/dist/modern/components/header/mobile.css +11 -11
  76. package/dist/modern/desktop.css +8 -8
  77. package/dist/modern/desktop.js +1 -1
  78. package/dist/modern/index.js +1 -1
  79. package/dist/modern/mobile.css +2 -2
  80. package/dist/modern/mobile.js +1 -1
  81. package/dist/modern/responsive.js +1 -1
  82. package/dist/modern/transitions.css +8 -8
  83. package/dist/modern/transitions.module-c8dac06a.js +4 -0
  84. package/dist/responsive.js +2 -2
  85. package/dist/transitions.css +8 -8
  86. package/dist/transitions.module-9c7cb980.js +6 -0
  87. package/dist/{tslib.es6-6205675e.d.ts → tslib.es6-d1b7fb9e.d.ts} +0 -0
  88. package/dist/{tslib.es6-6205675e.js → tslib.es6-d1b7fb9e.js} +0 -0
  89. package/package.json +3 -3
  90. package/dist/esm/transitions.module-0af128f1.js +0 -4
  91. package/dist/modern/transitions.module-0af128f1.js +0 -4
  92. package/dist/transitions.module-ac43ebc6.js +0 -6
@@ -1,4 +1,4 @@
1
- /* hash: 1x5pu */
1
+ /* hash: 12ezp */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -34,16 +34,16 @@
34
34
  /* scroll */
35
35
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
36
36
  --modal-footer-highlight-background: var(--color-light-bg-primary);
37
- }.modal__footer_3nv7q {
37
+ }.modal__footer_yazjp {
38
38
  width: 100%;
39
39
  box-sizing: border-box;
40
40
  transition: box-shadow 0.2s ease, background 0.2s ease;
41
41
  background: var(--modal-header-background);
42
- }.modal__sticky_3nv7q {
42
+ }.modal__sticky_yazjp {
43
43
  background: var(--modal-footer-sticky-background);
44
44
  box-shadow: var(--modal-footer-sticky-box-shadow);
45
45
  position: sticky;
46
- }.modal__highlighted_3nv7q {
46
+ }.modal__highlighted_yazjp {
47
47
  background: var(--modal-footer-highlight-background);
48
48
  box-shadow: var(--modal-footer-highlight-box-shadow);
49
49
  }
@@ -602,13 +602,13 @@
602
602
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
603
603
  --modal-footer-highlight-background: var(--color-light-bg-primary);
604
604
  }
605
- .modal__footer_1mm0f {
605
+ .modal__footer_zyzc7 {
606
606
 
607
607
  padding: var(--gap-xl) var(--gap-m);
608
608
  }
609
- .modal__highlighted_1mm0f {
609
+ .modal__highlighted_zyzc7 {
610
610
  }
611
- .modal__sticky_1mm0f {
611
+ .modal__sticky_zyzc7 {
612
612
 
613
613
  bottom: 0;
614
614
  }
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-428cbd49.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-327e6722.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -7,7 +7,7 @@ import '@alfalab/core-components-button/dist/esm';
7
7
  import '../closer/Component.js';
8
8
  import { Header } from './Component.js';
9
9
 
10
- var styles = {"header":"modal__header_1g3gj modal__header_vp1kk","s":"modal__s_1g3gj","m":"modal__m_1g3gj","l":"modal__l_1g3gj","fullscreen":"modal__fullscreen_1g3gj","sticky":"modal__sticky_1g3gj modal__sticky_vp1kk","highlighted":"modal__highlighted_1g3gj modal__highlighted_vp1kk","content":"modal__content_1g3gj modal__content_vp1kk","title":"modal__title_1g3gj modal__title_vp1kk"};
10
+ var styles = {"header":"modal__header_1w292 modal__header_pute5","s":"modal__s_1w292","m":"modal__m_1w292","l":"modal__l_1w292","fullscreen":"modal__fullscreen_1w292","sticky":"modal__sticky_1w292 modal__sticky_pute5","highlighted":"modal__highlighted_1w292 modal__highlighted_pute5","content":"modal__content_1w292 modal__content_pute5","title":"modal__title_1w292 modal__title_pute5"};
11
11
  require('./desktop.css')
12
12
 
13
13
  var HeaderDesktop = function (_a) {
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-428cbd49.js';
1
+ import '../../tslib.es6-327e6722.js';
2
2
  import React, { useContext, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-428cbd49.js';
1
+ import { a as __assign } from '../../tslib.es6-327e6722.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -7,7 +7,7 @@ import '@alfalab/core-components-button/dist/esm';
7
7
  import '../closer/Component.js';
8
8
  import { Header } from './Component.js';
9
9
 
10
- var styles = {"header":"modal__header_dzsyt modal__header_vp1kk","sticky":"modal__sticky_dzsyt modal__sticky_vp1kk","highlighted":"modal__highlighted_dzsyt modal__highlighted_vp1kk","content":"modal__content_dzsyt modal__content_vp1kk","title":"modal__title_dzsyt modal__title_vp1kk"};
10
+ var styles = {"header":"modal__header_ay5y5 modal__header_pute5","sticky":"modal__sticky_ay5y5 modal__sticky_pute5","highlighted":"modal__highlighted_ay5y5 modal__highlighted_pute5","content":"modal__content_ay5y5 modal__content_pute5","title":"modal__title_ay5y5 modal__title_pute5"};
11
11
  require('./mobile.css')
12
12
 
13
13
  var HeaderMobile = function (props) { return React.createElement(Header, __assign({ styles: styles }, props)); };
@@ -1,4 +1,4 @@
1
- /* hash: 5zfbo */
1
+ /* hash: 1a9t8 */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -45,7 +45,7 @@
45
45
  /* scroll */
46
46
  --modal-header-highlight-box-shadow: var(--shadow-s);
47
47
  --modal-header-highlight-background: var(--color-light-bg-primary);
48
- }.modal__header_vp1kk {
48
+ }.modal__header_pute5 {
49
49
  width: 100%;
50
50
  box-sizing: border-box;
51
51
  display: flex;
@@ -53,12 +53,12 @@
53
53
  justify-content: flex-end;
54
54
  transition: box-shadow 0.2s ease, background 0.2s ease;
55
55
  background: var(--modal-header-background);
56
- }.modal__highlighted_vp1kk {
56
+ }.modal__highlighted_pute5 {
57
57
  background: var(--modal-header-highlight-background);
58
58
  box-shadow: var(--modal-header-highlight-box-shadow);
59
- }.modal__sticky_vp1kk {
59
+ }.modal__sticky_pute5 {
60
60
  position: sticky;
61
- }.modal__content_vp1kk {
61
+ }.modal__content_pute5 {
62
62
  font-size: 24px;
63
63
  line-height: 32px;
64
64
  font-weight: 500;
@@ -66,7 +66,7 @@
66
66
  font-family: var(--font-family-styrene);
67
67
  flex-grow: 1;
68
68
  margin: var(--gap-xs) var(--gap-m) var(--gap-xs) 0;
69
- }.modal__title_vp1kk {
69
+ }.modal__title_pute5 {
70
70
  word-break: break-word;
71
71
  }
72
72
  :root {
@@ -624,33 +624,33 @@
624
624
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
625
625
  --modal-footer-highlight-background: var(--color-light-bg-primary);
626
626
  }
627
- .modal__header_1g3gj {
627
+ .modal__header_1w292 {
628
628
 
629
629
  min-height: var(--modal-header-min-height);
630
630
  border-top-left-radius: var(--modal-border-radius);
631
631
  border-top-right-radius: var(--modal-border-radius);
632
632
  }
633
- .modal__s_1g3gj {
633
+ .modal__s_1w292 {
634
634
  padding: var(--modal-s-header-paddings);
635
635
  }
636
- .modal__m_1g3gj {
636
+ .modal__m_1w292 {
637
637
  padding: var(--modal-m-header-paddings);
638
638
  }
639
- .modal__l_1g3gj,
640
- .modal__fullscreen_1g3gj {
639
+ .modal__l_1w292,
640
+ .modal__fullscreen_1w292 {
641
641
  min-height: var(--modal-header-l-min-height);
642
642
  padding: var(--modal-l-header-paddings);
643
643
  }
644
- .modal__sticky_1g3gj {
644
+ .modal__sticky_1w292 {
645
645
 
646
646
  top: calc(var(--modal-vertical-padding) * -1);
647
647
  }
648
- .modal__fullscreen_1g3gj {
648
+ .modal__fullscreen_1w292 {
649
649
  top: 0;
650
650
  }
651
- .modal__highlighted_1g3gj {
651
+ .modal__highlighted_1w292 {
652
652
  }
653
- .modal__content_1g3gj {
653
+ .modal__content_1w292 {
654
654
  }
655
- .modal__title_1g3gj {
655
+ .modal__title_1w292 {
656
656
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1a5jb */
1
+ /* hash: fet5l */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -35,7 +35,7 @@
35
35
  /* scroll */
36
36
  --modal-header-highlight-box-shadow: var(--shadow-s);
37
37
  --modal-header-highlight-background: var(--color-light-bg-primary);
38
- }.modal__header_vp1kk {
38
+ }.modal__header_pute5 {
39
39
  width: 100%;
40
40
  box-sizing: border-box;
41
41
  display: flex;
@@ -43,12 +43,12 @@
43
43
  justify-content: flex-end;
44
44
  transition: box-shadow 0.2s ease, background 0.2s ease;
45
45
  background: var(--modal-header-background);
46
- }.modal__highlighted_vp1kk {
46
+ }.modal__highlighted_pute5 {
47
47
  background: var(--modal-header-highlight-background);
48
48
  box-shadow: var(--modal-header-highlight-box-shadow);
49
- }.modal__sticky_vp1kk {
49
+ }.modal__sticky_pute5 {
50
50
  position: sticky;
51
- }.modal__content_vp1kk {
51
+ }.modal__content_pute5 {
52
52
  font-size: 24px;
53
53
  line-height: 32px;
54
54
  font-weight: 500;
@@ -56,7 +56,7 @@
56
56
  font-family: var(--font-family-styrene);
57
57
  flex-grow: 1;
58
58
  margin: var(--gap-xs) var(--gap-m) var(--gap-xs) 0;
59
- }.modal__title_vp1kk {
59
+ }.modal__title_pute5 {
60
60
  word-break: break-word;
61
61
  }
62
62
  :root {
@@ -614,7 +614,7 @@
614
614
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
615
615
  --modal-footer-highlight-background: var(--color-light-bg-primary);
616
616
  }
617
- .modal__header_dzsyt {
617
+ .modal__header_ay5y5 {
618
618
 
619
619
  text-align: center;
620
620
  flex-direction: row-reverse;
@@ -622,13 +622,13 @@
622
622
  padding-right: var(--gap-4xl);
623
623
  padding-left: 0;
624
624
  }
625
- .modal__sticky_dzsyt {
625
+ .modal__sticky_ay5y5 {
626
626
 
627
627
  top: 0;
628
628
  }
629
- .modal__highlighted_dzsyt {
629
+ .modal__highlighted_ay5y5 {
630
630
  }
631
- .modal__content_dzsyt {
631
+ .modal__content_ay5y5 {
632
632
  }
633
- .modal__title_dzsyt {
633
+ .modal__title_ay5y5 {
634
634
  }
@@ -1,4 +1,4 @@
1
- /* hash: 10fj5 */
1
+ /* hash: 5ot05 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,29 +30,29 @@
30
30
 
31
31
  /* scroll */
32
32
  }
33
- .modal__wrapper_1ffiq {
33
+ .modal__wrapper_1tg9k {
34
34
  padding-top: var(--modal-vertical-padding);
35
35
  padding-bottom: var(--modal-vertical-padding);
36
36
  }
37
- .modal__component_1ffiq {
37
+ .modal__component_1tg9k {
38
38
  width: 100%;
39
39
  max-width: 100%;
40
40
  border-radius: var(--modal-border-radius);
41
41
  }
42
- .modal__fullscreen_1ffiq {
42
+ .modal__fullscreen_1tg9k {
43
43
  padding-top: 0;
44
44
  padding-bottom: 0
45
45
  }
46
- .modal__fullscreen_1ffiq .modal__component_1ffiq {
46
+ .modal__fullscreen_1tg9k .modal__component_1tg9k {
47
47
  flex: 1;
48
48
  border-radius: 0;
49
49
  }
50
- .modal__s_1ffiq {
50
+ .modal__s_1tg9k {
51
51
  width: var(--modal-s-width);
52
52
  }
53
- .modal__m_1ffiq {
53
+ .modal__m_1tg9k {
54
54
  width: var(--modal-m-width);
55
55
  }
56
- .modal__l_1ffiq {
56
+ .modal__l_1tg9k {
57
57
  width: var(--modal-l-width);
58
58
  }
@@ -1,4 +1,4 @@
1
- import './tslib.es6-428cbd49.js';
1
+ import './tslib.es6-327e6722.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -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-0af128f1.js';
16
+ import './transitions.module-c8dac06a.js';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-428cbd49.js';
1
+ import './tslib.es6-327e6722.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -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-0af128f1.js';
16
+ import './transitions.module-c8dac06a.js';
17
17
  import '@alfalab/hooks';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -1,4 +1,4 @@
1
- /* hash: 886n6 */
1
+ /* hash: 1cikj */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* scroll */
21
21
  }
22
- .modal__component_17xx7 {
22
+ .modal__component_1vhr3 {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
@@ -1,4 +1,4 @@
1
- import './tslib.es6-428cbd49.js';
1
+ import './tslib.es6-327e6722.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -8,7 +8,7 @@ import './components/closer/Component.js';
8
8
  import './components/header/Component.js';
9
9
  import './components/content/Component.js';
10
10
  import './components/footer/Component.js';
11
- import './transitions.module-0af128f1.js';
11
+ import './transitions.module-c8dac06a.js';
12
12
  import '@alfalab/hooks';
13
13
  import './components/header/Component.mobile.js';
14
14
  import './components/content/Component.mobile.js';
@@ -1,4 +1,4 @@
1
- import './tslib.es6-428cbd49.js';
1
+ import './tslib.es6-327e6722.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -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-0af128f1.js';
16
+ import './transitions.module-c8dac06a.js';
17
17
  import '@alfalab/hooks';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -1,24 +1,24 @@
1
- /* hash: 9s36r */
2
- .modal__appear_1ki94,
3
- .modal__enter_1ki94 {
1
+ /* hash: 14itc */
2
+ .modal__appear_1jo14,
3
+ .modal__enter_1jo14 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_1ki94,
9
- .modal__enterActive_1ki94 {
8
+ .modal__appearActive_1jo14,
9
+ .modal__enterActive_1jo14 {
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
- .modal__exit_1ki94 {
15
+ .modal__exit_1jo14 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_1ki94,
21
- .modal__exitDone_1ki94 {
20
+ .modal__exitActive_1jo14,
21
+ .modal__exitDone_1jo14 {
22
22
  opacity: 0;
23
23
  transform: translateY(15px);
24
24
  transition: opacity 200ms ease-out, transform 200ms ease-out;
@@ -0,0 +1,4 @@
1
+ var transitions = {"appear":"modal__appear_1jo14","enter":"modal__enter_1jo14","appearActive":"modal__appearActive_1jo14","enterActive":"modal__enterActive_1jo14","exit":"modal__exit_1jo14","exitActive":"modal__exitActive_1jo14","exitDone":"modal__exitDone_1jo14"};
2
+ require('./transitions.css')
3
+
4
+ export { transitions as t };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-6205675e.js');
5
+ require('./tslib.es6-d1b7fb9e.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -17,7 +17,7 @@ require('./components/content/Component.desktop.js');
17
17
  require('./components/footer/Component.js');
18
18
  require('./components/footer/Component.desktop.js');
19
19
  require('./Component.desktop.js');
20
- require('./transitions.module-ac43ebc6.js');
20
+ require('./transitions.module-9c7cb980.js');
21
21
  require('@alfalab/hooks');
22
22
  require('./components/header/Component.mobile.js');
23
23
  require('./components/content/Component.mobile.js');
package/dist/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 886n6 */
1
+ /* hash: 1cikj */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* scroll */
21
21
  }
22
- .modal__component_17xx7 {
22
+ .modal__component_1vhr3 {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
package/dist/mobile.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-6205675e.js');
5
+ require('./tslib.es6-d1b7fb9e.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -12,7 +12,7 @@ require('./components/closer/Component.js');
12
12
  require('./components/header/Component.js');
13
13
  require('./components/content/Component.js');
14
14
  require('./components/footer/Component.js');
15
- require('./transitions.module-ac43ebc6.js');
15
+ require('./transitions.module-9c7cb980.js');
16
16
  require('@alfalab/hooks');
17
17
  require('./components/header/Component.mobile.js');
18
18
  require('./components/content/Component.mobile.js');
@@ -11,9 +11,9 @@ import './components/content/Component.js';
11
11
  import { ContentDesktop } from './components/content/Component.desktop.js';
12
12
  import './components/footer/Component.js';
13
13
  import { FooterDesktop } from './components/footer/Component.desktop.js';
14
- import { t as transitions } from './transitions.module-0af128f1.js';
14
+ import { t as transitions } from './transitions.module-c8dac06a.js';
15
15
 
16
- var styles = {"wrapper":"modal__wrapper_1ffiq","component":"modal__component_1ffiq","fullscreen":"modal__fullscreen_1ffiq","s":"modal__s_1ffiq","m":"modal__m_1ffiq","l":"modal__l_1ffiq"};
16
+ var styles = {"wrapper":"modal__wrapper_1tg9k","component":"modal__component_1tg9k","fullscreen":"modal__fullscreen_1tg9k","s":"modal__s_1tg9k","m":"modal__m_1tg9k","l":"modal__l_1tg9k"};
17
17
  require('./desktop.css')
18
18
 
19
19
  const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
@@ -7,13 +7,13 @@ import { Closer } from './components/closer/Component.js';
7
7
  import './components/header/Component.js';
8
8
  import './components/content/Component.js';
9
9
  import './components/footer/Component.js';
10
- import { t as transitions } from './transitions.module-0af128f1.js';
10
+ import { t as transitions } from './transitions.module-c8dac06a.js';
11
11
  import { useMedia } from '@alfalab/hooks';
12
12
  import { HeaderMobile } from './components/header/Component.mobile.js';
13
13
  import { ContentMobile } from './components/content/Component.mobile.js';
14
14
  import { FooterMobile } from './components/footer/Component.mobile.js';
15
15
 
16
- var styles = {"component":"modal__component_17xx7"};
16
+ var styles = {"component":"modal__component_1vhr3"};
17
17
  require('./mobile.css')
18
18
 
19
19
  const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
@@ -12,7 +12,7 @@ import './components/content/Component.desktop.js';
12
12
  import './components/footer/Component.js';
13
13
  import './components/footer/Component.desktop.js';
14
14
  import { ModalDesktop } from './Component.desktop.js';
15
- import './transitions.module-0af128f1.js';
15
+ import './transitions.module-c8dac06a.js';
16
16
  import { useMedia } from '@alfalab/hooks';
17
17
  import './components/header/Component.mobile.js';
18
18
  import './components/content/Component.mobile.js';
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
  import { Button } from '@alfalab/core-components-button/dist/modern';
6
6
 
7
- var styles = {"closer":"modal__closer_x8sea","left":"modal__left_x8sea","right":"modal__right_x8sea","fullscreen":"modal__fullscreen_x8sea"};
7
+ var styles = {"closer":"modal__closer_1sswy","left":"modal__left_1sswy","right":"modal__right_1sswy","fullscreen":"modal__fullscreen_1sswy"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, fullscreen, align, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: wq7y8 */
1
+ /* hash: 1rgy3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,7 +24,7 @@
24
24
 
25
25
  /* scroll */
26
26
  }
27
- .modal__closer_x8sea {
27
+ .modal__closer_1sswy {
28
28
  width: 48px;
29
29
  height: 48px;
30
30
  background-image: var(--modal-closer-icon);
@@ -33,20 +33,20 @@
33
33
  flex-shrink: 0;
34
34
  transition: opacity 0.2s ease-out
35
35
  }
36
- .modal__closer_x8sea:hover {
36
+ .modal__closer_1sswy:hover {
37
37
  opacity: 0.7;
38
38
  }
39
- .modal__closer_x8sea:active {
39
+ .modal__closer_1sswy:active {
40
40
  opacity: 0.5;
41
41
  }
42
- .modal__left_x8sea,
43
- .modal__right_x8sea {
42
+ .modal__left_1sswy,
43
+ .modal__right_1sswy {
44
44
  position: sticky;
45
45
  top: calc(var(--modal-vertical-padding) * -1);
46
46
  }
47
- .modal__right_x8sea {
47
+ .modal__right_1sswy {
48
48
  margin-left: auto;
49
49
  }
50
- .modal__fullscreen_x8sea {
50
+ .modal__fullscreen_1sswy {
51
51
  top: 0;
52
52
  }
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"content":"modal__content_h3gg1 modal__content_1e4zd","flex":"modal__flex_h3gg1 modal__flex_1e4zd","s":"modal__s_h3gg1","m":"modal__m_h3gg1","l":"modal__l_h3gg1","fullscreen":"modal__fullscreen_h3gg1"};
7
+ var styles = {"content":"modal__content_ycikz modal__content_17iaf","flex":"modal__flex_ycikz modal__flex_17iaf","s":"modal__s_ycikz","m":"modal__m_ycikz","l":"modal__l_ycikz","fullscreen":"modal__fullscreen_ycikz"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const ContentDesktop = ({ size, className, fullscreen, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, size && styles[size], fullscreen && styles.fullscreen), styles: styles }, restProps)));
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"content":"modal__content_1rddq modal__content_1e4zd","flex":"modal__flex_1rddq modal__flex_1e4zd"};
7
+ var styles = {"content":"modal__content_zy9l4 modal__content_17iaf","flex":"modal__flex_zy9l4 modal__flex_17iaf"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const ContentMobile = props => (React.createElement(Content, Object.assign({ styles: styles }, props)));
@@ -1,4 +1,4 @@
1
- /* hash: 10gnn */
1
+ /* hash: 1v7ds */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -34,14 +34,14 @@
34
34
  /* sticky */
35
35
 
36
36
  /* scroll */
37
- }.modal__content_1e4zd {
37
+ }.modal__content_17iaf {
38
38
  box-sizing: border-box;
39
39
  width: 100%
40
- }.modal__content_1e4zd:first-child {
40
+ }.modal__content_17iaf:first-child {
41
41
  padding-top: var(--modal-content-no-header-top-padding);
42
- }.modal__content_1e4zd:last-child {
42
+ }.modal__content_17iaf:last-child {
43
43
  padding-bottom: var(--modal-content-no-footer-bottom-padding);
44
- }.modal__flex_1e4zd {
44
+ }.modal__flex_17iaf {
45
45
  flex: 1 1 auto;
46
46
  }
47
47
  :root {
@@ -599,20 +599,20 @@
599
599
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
600
600
  --modal-footer-highlight-background: var(--color-light-bg-primary);
601
601
  }
602
- .modal__content_h3gg1 {
602
+ .modal__content_ycikz {
603
603
  }
604
- .modal__flex_h3gg1 {
604
+ .modal__flex_ycikz {
605
605
  }
606
- .modal__s_h3gg1 {
606
+ .modal__s_ycikz {
607
607
  padding: var(--modal-s-content-paddings);
608
608
  }
609
- .modal__m_h3gg1 {
609
+ .modal__m_ycikz {
610
610
  padding: var(--modal-m-content-paddings);
611
611
  }
612
- .modal__l_h3gg1,
613
- .modal__fullscreen_h3gg1 {
612
+ .modal__l_ycikz,
613
+ .modal__fullscreen_ycikz {
614
614
  padding: var(--modal-l-content-paddings)
615
615
  }
616
- .modal__l_h3gg1:last-child, .modal__fullscreen_h3gg1:last-child {
616
+ .modal__l_ycikz:last-child, .modal__fullscreen_ycikz:last-child {
617
617
  padding-bottom: var(--modal-l-content-no-footer-bottom-padding);
618
618
  }
@@ -1,4 +1,4 @@
1
- /* hash: 11vxh */
1
+ /* hash: 1wmnn */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -30,14 +30,14 @@
30
30
  /* sticky */
31
31
 
32
32
  /* scroll */
33
- }.modal__content_1e4zd {
33
+ }.modal__content_17iaf {
34
34
  box-sizing: border-box;
35
35
  width: 100%
36
- }.modal__content_1e4zd:first-child {
36
+ }.modal__content_17iaf:first-child {
37
37
  padding-top: var(--modal-content-no-header-top-padding);
38
- }.modal__content_1e4zd:last-child {
38
+ }.modal__content_17iaf:last-child {
39
39
  padding-bottom: var(--modal-content-no-footer-bottom-padding);
40
- }.modal__flex_1e4zd {
40
+ }.modal__flex_17iaf {
41
41
  flex: 1 1 auto;
42
42
  }
43
43
  :root {
@@ -595,9 +595,9 @@
595
595
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
596
596
  --modal-footer-highlight-background: var(--color-light-bg-primary);
597
597
  }
598
- .modal__content_1rddq {
598
+ .modal__content_zy9l4 {
599
599
 
600
600
  padding: 0 var(--gap-m) 0;
601
601
  }
602
- .modal__flex_1rddq {
602
+ .modal__flex_zy9l4 {
603
603
  }