@alfalab/core-components-modal 3.0.0 → 4.0.1

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 (94) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/Component.desktop.js +3 -3
  3. package/dist/Component.mobile.js +3 -3
  4. package/dist/Component.responsive.d.ts +3 -3
  5. package/dist/Component.responsive.js +2 -2
  6. package/dist/components/closer/Component.js +2 -2
  7. package/dist/components/closer/index.css +9 -9
  8. package/dist/components/content/Component.desktop.js +2 -2
  9. package/dist/components/content/Component.mobile.js +2 -2
  10. package/dist/components/content/desktop.css +20 -13
  11. package/dist/components/content/mobile.css +15 -8
  12. package/dist/components/footer/Component.desktop.js +2 -2
  13. package/dist/components/footer/Component.js +1 -1
  14. package/dist/components/footer/Component.mobile.js +2 -2
  15. package/dist/components/footer/desktop.css +20 -13
  16. package/dist/components/footer/layout.css +25 -25
  17. package/dist/components/footer/mobile.css +15 -8
  18. package/dist/components/header/Component.desktop.js +2 -2
  19. package/dist/components/header/Component.js +1 -1
  20. package/dist/components/header/Component.mobile.js +2 -2
  21. package/dist/components/header/desktop.css +24 -17
  22. package/dist/components/header/mobile.css +19 -12
  23. package/dist/cssm/components/closer/index.module.css +1 -1
  24. package/dist/desktop.css +8 -8
  25. package/dist/desktop.js +2 -2
  26. package/dist/esm/Component.desktop.js +3 -3
  27. package/dist/esm/Component.mobile.js +3 -3
  28. package/dist/esm/Component.responsive.js +2 -2
  29. package/dist/esm/components/closer/Component.js +2 -2
  30. package/dist/esm/components/closer/index.css +9 -9
  31. package/dist/esm/components/content/Component.desktop.js +2 -2
  32. package/dist/esm/components/content/Component.mobile.js +2 -2
  33. package/dist/esm/components/content/desktop.css +20 -13
  34. package/dist/esm/components/content/mobile.css +15 -8
  35. package/dist/esm/components/footer/Component.desktop.js +2 -2
  36. package/dist/esm/components/footer/Component.js +1 -1
  37. package/dist/esm/components/footer/Component.mobile.js +2 -2
  38. package/dist/esm/components/footer/desktop.css +20 -13
  39. package/dist/esm/components/footer/layout.css +25 -25
  40. package/dist/esm/components/footer/mobile.css +15 -8
  41. package/dist/esm/components/header/Component.desktop.js +2 -2
  42. package/dist/esm/components/header/Component.js +1 -1
  43. package/dist/esm/components/header/Component.mobile.js +2 -2
  44. package/dist/esm/components/header/desktop.css +24 -17
  45. package/dist/esm/components/header/mobile.css +19 -12
  46. package/dist/esm/desktop.css +8 -8
  47. package/dist/esm/desktop.js +2 -2
  48. package/dist/esm/index.js +2 -2
  49. package/dist/esm/mobile.css +2 -2
  50. package/dist/esm/mobile.js +2 -2
  51. package/dist/esm/responsive.js +2 -2
  52. package/dist/esm/transitions.css +8 -8
  53. package/dist/esm/transitions.module-4c2889a7.js +4 -0
  54. package/dist/esm/{tslib.es6-95890331.d.ts → tslib.es6-5d3a812f.d.ts} +0 -0
  55. package/dist/esm/{tslib.es6-95890331.js → tslib.es6-5d3a812f.js} +0 -0
  56. package/dist/index.js +2 -2
  57. package/dist/mobile.css +2 -2
  58. package/dist/mobile.js +2 -2
  59. package/dist/modern/Component.desktop.js +2 -2
  60. package/dist/modern/Component.mobile.js +2 -2
  61. package/dist/modern/Component.responsive.js +1 -1
  62. package/dist/modern/components/closer/Component.js +1 -1
  63. package/dist/modern/components/closer/index.css +9 -9
  64. package/dist/modern/components/content/Component.desktop.js +1 -1
  65. package/dist/modern/components/content/Component.mobile.js +1 -1
  66. package/dist/modern/components/content/desktop.css +20 -13
  67. package/dist/modern/components/content/mobile.css +15 -8
  68. package/dist/modern/components/footer/Component.desktop.js +1 -1
  69. package/dist/modern/components/footer/Component.js +1 -1
  70. package/dist/modern/components/footer/Component.mobile.js +1 -1
  71. package/dist/modern/components/footer/desktop.css +20 -13
  72. package/dist/modern/components/footer/layout.css +25 -25
  73. package/dist/modern/components/footer/mobile.css +15 -8
  74. package/dist/modern/components/header/Component.desktop.js +1 -1
  75. package/dist/modern/components/header/Component.mobile.js +1 -1
  76. package/dist/modern/components/header/desktop.css +24 -17
  77. package/dist/modern/components/header/mobile.css +19 -12
  78. package/dist/modern/desktop.css +8 -8
  79. package/dist/modern/desktop.js +1 -1
  80. package/dist/modern/index.js +1 -1
  81. package/dist/modern/mobile.css +2 -2
  82. package/dist/modern/mobile.js +1 -1
  83. package/dist/modern/responsive.js +1 -1
  84. package/dist/modern/transitions.css +8 -8
  85. package/dist/modern/transitions.module-4c2889a7.js +4 -0
  86. package/dist/responsive.js +2 -2
  87. package/dist/transitions.css +8 -8
  88. package/dist/transitions.module-ad7c107c.js +6 -0
  89. package/dist/{tslib.es6-e5662dff.d.ts → tslib.es6-810343ad.d.ts} +0 -0
  90. package/dist/{tslib.es6-e5662dff.js → tslib.es6-810343ad.js} +0 -0
  91. package/package.json +3 -3
  92. package/dist/esm/transitions.module-83319c83.js +0 -4
  93. package/dist/modern/transitions.module-83319c83.js +0 -4
  94. package/dist/transitions.module-4040e9db.js +0 -6
@@ -1,4 +1,4 @@
1
- /* hash: 1b5ug */
1
+ /* hash: d1gp4 */
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_fhvhp {
37
+ }.modal__footer_1tsfb {
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_fhvhp {
42
+ }.modal__sticky_1tsfb {
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_fhvhp {
46
+ }.modal__highlighted_1tsfb {
47
47
  background: var(--modal-footer-highlight-background);
48
48
  box-shadow: var(--modal-footer-highlight-box-shadow);
49
49
  }
@@ -166,12 +166,19 @@
166
166
  --color-static-status-red: #d91d0b;
167
167
  --color-static-status-teal: #219187;
168
168
  --color-static-status-blue-tint-90: rgb(230, 242, 255);
169
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
169
170
  --color-static-status-green-tint-90: rgb(231, 246, 239);
171
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
170
172
  --color-static-status-grey-tint-90: rgb(240, 242, 243);
173
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
171
174
  --color-static-status-orange-tint-90: rgb(252, 240, 230);
175
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
172
176
  --color-static-status-purple-tint-90: rgb(240, 235, 248);
177
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
173
178
  --color-static-status-red-tint-90: rgb(251, 232, 231);
179
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
174
180
  --color-static-status-teal-tint-90: rgb(233, 244, 243);
181
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
175
182
  }
176
183
  :root {
177
184
  --color-dark-bg-accent: #ef3124;
@@ -590,7 +597,7 @@
590
597
  --modal-content-no-header-top-padding: var(--gap-2xl);
591
598
 
592
599
  /* closer */
593
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
600
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
594
601
 
595
602
  /* sticky */
596
603
  --modal-footer-sticky-box-shadow: none;
@@ -602,13 +609,13 @@
602
609
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
603
610
  --modal-footer-highlight-background: var(--color-light-bg-primary);
604
611
  }
605
- .modal__footer_2y8ix {
612
+ .modal__footer_1328l {
606
613
 
607
614
  padding: var(--gap-xl) var(--gap-m);
608
615
  }
609
- .modal__highlighted_2y8ix {
616
+ .modal__highlighted_1328l {
610
617
  }
611
- .modal__sticky_2y8ix {
618
+ .modal__sticky_1328l {
612
619
 
613
620
  bottom: 0;
614
621
  }
@@ -6,7 +6,7 @@ import '@alfalab/core-components-button/dist/modern';
6
6
  import '../closer/Component.js';
7
7
  import { Header } from './Component.js';
8
8
 
9
- var styles = {"header":"modal__header_yc9he modal__header_19ym3","s":"modal__s_yc9he","m":"modal__m_yc9he","l":"modal__l_yc9he","fullscreen":"modal__fullscreen_yc9he","sticky":"modal__sticky_yc9he modal__sticky_19ym3","highlighted":"modal__highlighted_yc9he modal__highlighted_19ym3","content":"modal__content_yc9he modal__content_19ym3","title":"modal__title_yc9he modal__title_19ym3"};
9
+ var styles = {"header":"modal__header_ma0zj modal__header_xwdld","s":"modal__s_ma0zj","m":"modal__m_ma0zj","l":"modal__l_ma0zj","fullscreen":"modal__fullscreen_ma0zj","sticky":"modal__sticky_ma0zj modal__sticky_xwdld","highlighted":"modal__highlighted_ma0zj modal__highlighted_xwdld","content":"modal__content_ma0zj modal__content_xwdld","title":"modal__title_ma0zj modal__title_xwdld"};
10
10
  require('./desktop.css')
11
11
 
12
12
  const HeaderDesktop = ({ size, className, fullscreen, ...restProps }) => (React.createElement(Header, Object.assign({ className: cn(className, size && styles[size], fullscreen && styles.fullscreen), styles: styles }, restProps)));
@@ -6,7 +6,7 @@ import '@alfalab/core-components-button/dist/modern';
6
6
  import '../closer/Component.js';
7
7
  import { Header } from './Component.js';
8
8
 
9
- var styles = {"header":"modal__header_edvqs modal__header_19ym3","sticky":"modal__sticky_edvqs modal__sticky_19ym3","highlighted":"modal__highlighted_edvqs modal__highlighted_19ym3","content":"modal__content_edvqs modal__content_19ym3","title":"modal__title_edvqs modal__title_19ym3"};
9
+ var styles = {"header":"modal__header_1kj5l modal__header_xwdld","sticky":"modal__sticky_1kj5l modal__sticky_xwdld","highlighted":"modal__highlighted_1kj5l modal__highlighted_xwdld","content":"modal__content_1kj5l modal__content_xwdld","title":"modal__title_1kj5l modal__title_xwdld"};
10
10
  require('./mobile.css')
11
11
 
12
12
  const HeaderMobile = props => React.createElement(Header, Object.assign({ styles: styles }, props));
@@ -1,4 +1,4 @@
1
- /* hash: hqsjm */
1
+ /* hash: 4htsl */
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_19ym3 {
48
+ }.modal__header_xwdld {
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_19ym3 {
56
+ }.modal__highlighted_xwdld {
57
57
  background: var(--modal-header-highlight-background);
58
58
  box-shadow: var(--modal-header-highlight-box-shadow);
59
- }.modal__sticky_19ym3 {
59
+ }.modal__sticky_xwdld {
60
60
  position: sticky;
61
- }.modal__content_19ym3 {
61
+ }.modal__content_xwdld {
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_19ym3 {
69
+ }.modal__title_xwdld {
70
70
  word-break: break-word;
71
71
  }
72
72
  :root {
@@ -188,12 +188,19 @@
188
188
  --color-static-status-red: #d91d0b;
189
189
  --color-static-status-teal: #219187;
190
190
  --color-static-status-blue-tint-90: rgb(230, 242, 255);
191
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
191
192
  --color-static-status-green-tint-90: rgb(231, 246, 239);
193
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
192
194
  --color-static-status-grey-tint-90: rgb(240, 242, 243);
195
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
193
196
  --color-static-status-orange-tint-90: rgb(252, 240, 230);
197
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
194
198
  --color-static-status-purple-tint-90: rgb(240, 235, 248);
199
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
195
200
  --color-static-status-red-tint-90: rgb(251, 232, 231);
201
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
196
202
  --color-static-status-teal-tint-90: rgb(233, 244, 243);
203
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
197
204
  }
198
205
  :root {
199
206
  --color-dark-bg-accent: #ef3124;
@@ -612,7 +619,7 @@
612
619
  --modal-content-no-header-top-padding: var(--gap-2xl);
613
620
 
614
621
  /* closer */
615
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
622
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
616
623
 
617
624
  /* sticky */
618
625
  --modal-footer-sticky-box-shadow: none;
@@ -624,33 +631,33 @@
624
631
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
625
632
  --modal-footer-highlight-background: var(--color-light-bg-primary);
626
633
  }
627
- .modal__header_yc9he {
634
+ .modal__header_ma0zj {
628
635
 
629
636
  min-height: var(--modal-header-min-height);
630
637
  border-top-left-radius: var(--modal-border-radius);
631
638
  border-top-right-radius: var(--modal-border-radius);
632
639
  }
633
- .modal__s_yc9he {
640
+ .modal__s_ma0zj {
634
641
  padding: var(--modal-s-header-paddings);
635
642
  }
636
- .modal__m_yc9he {
643
+ .modal__m_ma0zj {
637
644
  padding: var(--modal-m-header-paddings);
638
645
  }
639
- .modal__l_yc9he,
640
- .modal__fullscreen_yc9he {
646
+ .modal__l_ma0zj,
647
+ .modal__fullscreen_ma0zj {
641
648
  min-height: var(--modal-header-l-min-height);
642
649
  padding: var(--modal-l-header-paddings);
643
650
  }
644
- .modal__sticky_yc9he {
651
+ .modal__sticky_ma0zj {
645
652
 
646
653
  top: calc(var(--modal-vertical-padding) * -1);
647
654
  }
648
- .modal__fullscreen_yc9he {
655
+ .modal__fullscreen_ma0zj {
649
656
  top: 0;
650
657
  }
651
- .modal__highlighted_yc9he {
658
+ .modal__highlighted_ma0zj {
652
659
  }
653
- .modal__content_yc9he {
660
+ .modal__content_ma0zj {
654
661
  }
655
- .modal__title_yc9he {
662
+ .modal__title_ma0zj {
656
663
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1siai */
1
+ /* hash: v8oes */
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_19ym3 {
38
+ }.modal__header_xwdld {
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_19ym3 {
46
+ }.modal__highlighted_xwdld {
47
47
  background: var(--modal-header-highlight-background);
48
48
  box-shadow: var(--modal-header-highlight-box-shadow);
49
- }.modal__sticky_19ym3 {
49
+ }.modal__sticky_xwdld {
50
50
  position: sticky;
51
- }.modal__content_19ym3 {
51
+ }.modal__content_xwdld {
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_19ym3 {
59
+ }.modal__title_xwdld {
60
60
  word-break: break-word;
61
61
  }
62
62
  :root {
@@ -178,12 +178,19 @@
178
178
  --color-static-status-red: #d91d0b;
179
179
  --color-static-status-teal: #219187;
180
180
  --color-static-status-blue-tint-90: rgb(230, 242, 255);
181
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
181
182
  --color-static-status-green-tint-90: rgb(231, 246, 239);
183
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
182
184
  --color-static-status-grey-tint-90: rgb(240, 242, 243);
185
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
183
186
  --color-static-status-orange-tint-90: rgb(252, 240, 230);
187
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
184
188
  --color-static-status-purple-tint-90: rgb(240, 235, 248);
189
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
185
190
  --color-static-status-red-tint-90: rgb(251, 232, 231);
191
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
186
192
  --color-static-status-teal-tint-90: rgb(233, 244, 243);
193
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
187
194
  }
188
195
  :root {
189
196
  --color-dark-bg-accent: #ef3124;
@@ -602,7 +609,7 @@
602
609
  --modal-content-no-header-top-padding: var(--gap-2xl);
603
610
 
604
611
  /* closer */
605
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
612
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
606
613
 
607
614
  /* sticky */
608
615
  --modal-footer-sticky-box-shadow: none;
@@ -614,7 +621,7 @@
614
621
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
615
622
  --modal-footer-highlight-background: var(--color-light-bg-primary);
616
623
  }
617
- .modal__header_edvqs {
624
+ .modal__header_1kj5l {
618
625
 
619
626
  text-align: center;
620
627
  flex-direction: row-reverse;
@@ -622,13 +629,13 @@
622
629
  padding-right: var(--gap-4xl);
623
630
  padding-left: 0;
624
631
  }
625
- .modal__sticky_edvqs {
632
+ .modal__sticky_1kj5l {
626
633
 
627
634
  top: 0;
628
635
  }
629
- .modal__highlighted_edvqs {
636
+ .modal__highlighted_1kj5l {
630
637
  }
631
- .modal__content_edvqs {
638
+ .modal__content_1kj5l {
632
639
  }
633
- .modal__title_edvqs {
640
+ .modal__title_1kj5l {
634
641
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1isac */
1
+ /* hash: lio9c */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,29 +30,29 @@
30
30
 
31
31
  /* scroll */
32
32
  }
33
- .modal__wrapper_gl44z {
33
+ .modal__wrapper_1fi84 {
34
34
  padding-top: var(--modal-vertical-padding);
35
35
  padding-bottom: var(--modal-vertical-padding);
36
36
  }
37
- .modal__component_gl44z {
37
+ .modal__component_1fi84 {
38
38
  width: 100%;
39
39
  max-width: 100%;
40
40
  border-radius: var(--modal-border-radius);
41
41
  }
42
- .modal__fullscreen_gl44z {
42
+ .modal__fullscreen_1fi84 {
43
43
  padding-top: 0;
44
44
  padding-bottom: 0
45
45
  }
46
- .modal__fullscreen_gl44z .modal__component_gl44z {
46
+ .modal__fullscreen_1fi84 .modal__component_1fi84 {
47
47
  flex: 1;
48
48
  border-radius: 0;
49
49
  }
50
- .modal__s_gl44z {
50
+ .modal__s_1fi84 {
51
51
  width: var(--modal-s-width);
52
52
  }
53
- .modal__m_gl44z {
53
+ .modal__m_1fi84 {
54
54
  width: var(--modal-m-width);
55
55
  }
56
- .modal__l_gl44z {
56
+ .modal__l_1fi84 {
57
57
  width: var(--modal-l-width);
58
58
  }
@@ -12,4 +12,4 @@ import './components/content/Component.desktop.js';
12
12
  import './components/footer/Component.js';
13
13
  import './components/footer/Component.desktop.js';
14
14
  export { ModalDesktop } from './Component.desktop.js';
15
- import './transitions.module-83319c83.js';
15
+ import './transitions.module-4c2889a7.js';
@@ -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 './Component.desktop.js';
15
- import './transitions.module-83319c83.js';
15
+ import './transitions.module-4c2889a7.js';
16
16
  import '@alfalab/hooks';
17
17
  import './components/header/Component.mobile.js';
18
18
  import './components/content/Component.mobile.js';
@@ -1,4 +1,4 @@
1
- /* hash: jzjv5 */
1
+ /* hash: 6ql44 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* scroll */
21
21
  }
22
- .modal__component_1cidc {
22
+ .modal__component_124vn {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
@@ -7,7 +7,7 @@ import './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 './transitions.module-83319c83.js';
10
+ import './transitions.module-4c2889a7.js';
11
11
  import '@alfalab/hooks';
12
12
  import './components/header/Component.mobile.js';
13
13
  import './components/content/Component.mobile.js';
@@ -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 './Component.desktop.js';
15
- import './transitions.module-83319c83.js';
15
+ import './transitions.module-4c2889a7.js';
16
16
  import '@alfalab/hooks';
17
17
  import './components/header/Component.mobile.js';
18
18
  import './components/content/Component.mobile.js';
@@ -1,24 +1,24 @@
1
- /* hash: 1qgg1 */
2
- .modal__appear_m2csr,
3
- .modal__enter_m2csr {
1
+ /* hash: 8ahnp */
2
+ .modal__appear_bov38,
3
+ .modal__enter_bov38 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_m2csr,
9
- .modal__enterActive_m2csr {
8
+ .modal__appearActive_bov38,
9
+ .modal__enterActive_bov38 {
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_m2csr {
15
+ .modal__exit_bov38 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_m2csr,
21
- .modal__exitDone_m2csr {
20
+ .modal__exitActive_bov38,
21
+ .modal__exitDone_bov38 {
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_bov38","enter":"modal__enter_bov38","appearActive":"modal__appearActive_bov38","enterActive":"modal__enterActive_bov38","exit":"modal__exit_bov38","exitActive":"modal__exitActive_bov38","exitDone":"modal__exitDone_bov38"};
2
+ require('./transitions.css')
3
+
4
+ export { transitions as t };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-e5662dff.js');
5
+ require('./tslib.es6-810343ad.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-4040e9db.js');
20
+ require('./transitions.module-ad7c107c.js');
21
21
  require('@alfalab/hooks');
22
22
  require('./components/header/Component.mobile.js');
23
23
  require('./components/content/Component.mobile.js');
@@ -1,24 +1,24 @@
1
- /* hash: 1qgg1 */
2
- .modal__appear_m2csr,
3
- .modal__enter_m2csr {
1
+ /* hash: 8ahnp */
2
+ .modal__appear_bov38,
3
+ .modal__enter_bov38 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_m2csr,
9
- .modal__enterActive_m2csr {
8
+ .modal__appearActive_bov38,
9
+ .modal__enterActive_bov38 {
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_m2csr {
15
+ .modal__exit_bov38 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_m2csr,
21
- .modal__exitDone_m2csr {
20
+ .modal__exitActive_bov38,
21
+ .modal__exitDone_bov38 {
22
22
  opacity: 0;
23
23
  transform: translateY(15px);
24
24
  transition: opacity 200ms ease-out, transform 200ms ease-out;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var transitions = {"appear":"modal__appear_bov38","enter":"modal__enter_bov38","appearActive":"modal__appearActive_bov38","enterActive":"modal__enterActive_bov38","exit":"modal__exit_bov38","exitActive":"modal__exitActive_bov38","exitDone":"modal__exitDone_bov38"};
4
+ require('./transitions.css')
5
+
6
+ exports.transitions = transitions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-modal",
3
- "version": "3.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Modal component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@alfalab/core-components-base-modal": "^3.0.2",
19
- "@alfalab/core-components-button": "^5.0.0",
19
+ "@alfalab/core-components-button": "^5.0.2",
20
20
  "@alfalab/core-components-mq": "1.0.0",
21
21
  "classnames": "^2.2.6",
22
22
  "react-transition-group": "^4.3.0"
@@ -27,5 +27,5 @@
27
27
  "peerDependencies": {
28
28
  "react": "^16.9.0 || ^17.0.1"
29
29
  },
30
- "gitHead": "10c9fd1caacf98a5c15f84529889ddf41e9e1b54"
30
+ "gitHead": "d4a8810ad1d1c3a94bdc680b2e6f5875102ceff7"
31
31
  }
@@ -1,4 +0,0 @@
1
- var transitions = {"appear":"modal__appear_m2csr","enter":"modal__enter_m2csr","appearActive":"modal__appearActive_m2csr","enterActive":"modal__enterActive_m2csr","exit":"modal__exit_m2csr","exitActive":"modal__exitActive_m2csr","exitDone":"modal__exitDone_m2csr"};
2
- require('./transitions.css')
3
-
4
- export { transitions as t };
@@ -1,4 +0,0 @@
1
- var transitions = {"appear":"modal__appear_m2csr","enter":"modal__enter_m2csr","appearActive":"modal__appearActive_m2csr","enterActive":"modal__enterActive_m2csr","exit":"modal__exit_m2csr","exitActive":"modal__exitActive_m2csr","exitDone":"modal__exitDone_m2csr"};
2
- require('./transitions.css')
3
-
4
- export { transitions as t };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var transitions = {"appear":"modal__appear_m2csr","enter":"modal__enter_m2csr","appearActive":"modal__appearActive_m2csr","enterActive":"modal__enterActive_m2csr","exit":"modal__exit_m2csr","exitActive":"modal__exitActive_m2csr","exitDone":"modal__exitDone_m2csr"};
4
- require('./transitions.css')
5
-
6
- exports.transitions = transitions;