@alfalab/core-components-modal 5.2.5 → 5.2.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 (107) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/Component.desktop.js +3 -3
  3. package/Component.mobile.js +3 -3
  4. package/Component.responsive.js +2 -2
  5. package/components/closer/Component.js +2 -2
  6. package/components/closer/index.css +4 -4
  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 +8 -8
  11. package/components/content/index.css +3 -3
  12. package/components/content/mobile.css +3 -3
  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 +9 -9
  17. package/components/footer/index.css +4 -4
  18. package/components/footer/layout.css +25 -25
  19. package/components/footer/mobile.css +3 -3
  20. package/components/header/Component.desktop.js +2 -2
  21. package/components/header/Component.js +1 -1
  22. package/components/header/Component.mobile.js +2 -2
  23. package/components/header/desktop.css +17 -17
  24. package/components/header/index.css +15 -15
  25. package/components/header/mobile.css +3 -3
  26. package/cssm/Component.responsive.d.ts +1 -1
  27. package/desktop.css +9 -9
  28. package/desktop.js +2 -2
  29. package/esm/Component.desktop.js +3 -3
  30. package/esm/Component.mobile.js +3 -3
  31. package/esm/Component.responsive.js +2 -2
  32. package/esm/components/closer/Component.js +2 -2
  33. package/esm/components/closer/index.css +4 -4
  34. package/esm/components/content/Component.desktop.js +2 -2
  35. package/esm/components/content/Component.js +1 -1
  36. package/esm/components/content/Component.mobile.js +2 -2
  37. package/esm/components/content/desktop.css +8 -8
  38. package/esm/components/content/index.css +3 -3
  39. package/esm/components/content/mobile.css +3 -3
  40. package/esm/components/footer/Component.desktop.js +2 -2
  41. package/esm/components/footer/Component.js +2 -2
  42. package/esm/components/footer/Component.mobile.js +2 -2
  43. package/esm/components/footer/desktop.css +9 -9
  44. package/esm/components/footer/index.css +4 -4
  45. package/esm/components/footer/layout.css +25 -25
  46. package/esm/components/footer/mobile.css +3 -3
  47. package/esm/components/header/Component.desktop.js +2 -2
  48. package/esm/components/header/Component.js +1 -1
  49. package/esm/components/header/Component.mobile.js +2 -2
  50. package/esm/components/header/desktop.css +17 -17
  51. package/esm/components/header/index.css +15 -15
  52. package/esm/components/header/mobile.css +3 -3
  53. package/esm/desktop.css +9 -9
  54. package/esm/desktop.js +2 -2
  55. package/esm/index.js +2 -2
  56. package/esm/mobile.css +2 -2
  57. package/esm/mobile.js +2 -2
  58. package/esm/responsive.js +2 -2
  59. package/esm/transitions.css +8 -8
  60. package/esm/transitions.module-1403a282.js +4 -0
  61. package/esm/{tslib.es6-b60fb885.d.ts → tslib.es6-95d263a8.d.ts} +0 -0
  62. package/esm/{tslib.es6-b60fb885.js → tslib.es6-95d263a8.js} +0 -0
  63. package/index.js +2 -2
  64. package/mobile.css +2 -2
  65. package/mobile.js +2 -2
  66. package/modern/Component.desktop.js +2 -2
  67. package/modern/Component.mobile.js +2 -2
  68. package/modern/Component.responsive.d.ts +1 -1
  69. package/modern/Component.responsive.js +1 -1
  70. package/modern/components/closer/Component.js +1 -1
  71. package/modern/components/closer/index.css +4 -4
  72. package/modern/components/content/Component.desktop.js +1 -1
  73. package/modern/components/content/Component.js +1 -1
  74. package/modern/components/content/Component.mobile.js +1 -1
  75. package/modern/components/content/desktop.css +8 -8
  76. package/modern/components/content/index.css +3 -3
  77. package/modern/components/content/mobile.css +3 -3
  78. package/modern/components/footer/Component.desktop.js +1 -1
  79. package/modern/components/footer/Component.js +2 -2
  80. package/modern/components/footer/Component.mobile.js +1 -1
  81. package/modern/components/footer/desktop.css +9 -9
  82. package/modern/components/footer/index.css +4 -4
  83. package/modern/components/footer/layout.css +25 -25
  84. package/modern/components/footer/mobile.css +3 -3
  85. package/modern/components/header/Component.desktop.js +1 -1
  86. package/modern/components/header/Component.js +1 -1
  87. package/modern/components/header/Component.mobile.js +1 -1
  88. package/modern/components/header/desktop.css +17 -17
  89. package/modern/components/header/index.css +15 -15
  90. package/modern/components/header/mobile.css +3 -3
  91. package/modern/desktop.css +9 -9
  92. package/modern/desktop.js +1 -1
  93. package/modern/index.js +1 -1
  94. package/modern/mobile.css +2 -2
  95. package/modern/mobile.js +1 -1
  96. package/modern/responsive.js +1 -1
  97. package/modern/transitions.css +8 -8
  98. package/modern/transitions.module-1403a282.js +4 -0
  99. package/package.json +5 -5
  100. package/responsive.js +2 -2
  101. package/transitions.css +8 -8
  102. package/transitions.module-21cce0a0.js +6 -0
  103. package/{tslib.es6-a3a19bff.d.ts → tslib.es6-eacbc725.d.ts} +0 -0
  104. package/{tslib.es6-a3a19bff.js → tslib.es6-eacbc725.js} +0 -0
  105. package/esm/transitions.module-3b5dee52.js +0 -4
  106. package/modern/transitions.module-3b5dee52.js +0 -4
  107. package/transitions.module-4e5adb69.js +0 -6
@@ -1,4 +1,4 @@
1
- /* hash: dy65j */
1
+ /* hash: e98if */
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_1l3ew {
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_1l3ew {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_c5hjs.modal__fullscreen_c5hjs {
41
+ .modal__sticky_1l3ew.modal__fullscreen_1l3ew {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_c5hjs,
45
- .modal__m_c5hjs {
44
+ .modal__s_1l3ew,
45
+ .modal__m_1l3ew {
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_1l3ew,
49
+ .modal__xl_1l3ew,
50
+ .modal__fullscreen_1l3ew {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: d7xls */
1
+ /* hash: dizyo */
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_a501a {
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_a501a {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_ta5hb {
38
+ .modal__highlighted_a501a {
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: iwlpl */
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_74d01 {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_x7jpi > * {
32
+ .modal__column_74d01 > * {
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_74d01 > *:last-child,
36
+ .modal__column_74d01 > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_x7jpi.modal__gap-16_x7jpi > * {
39
+ .modal__column_74d01.modal__gap-16_74d01 > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_x7jpi.modal__gap-24_x7jpi > * {
42
+ .modal__column_74d01.modal__gap-24_74d01 > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_x7jpi.modal__gap-32_x7jpi > * {
45
+ .modal__column_74d01.modal__gap-32_74d01 > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_x7jpi {
48
+ .modal__start_74d01 {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_x7jpi {
51
+ .modal__center_74d01 {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_x7jpi {
54
+ .modal__space-between_74d01 {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_x7jpi > * {
57
+ .modal__space-between_74d01 > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_x7jpi,
61
- .modal__center_x7jpi,
62
- .modal__space-between_x7jpi {
60
+ .modal__start_74d01,
61
+ .modal__center_74d01,
62
+ .modal__space-between_74d01 {
63
63
  display: flex
64
64
  }
65
- .modal__start_x7jpi > *, .modal__center_x7jpi > *, .modal__space-between_x7jpi > * {
65
+ .modal__start_74d01 > *, .modal__center_74d01 > *, .modal__space-between_74d01 > * {
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_74d01 > *:last-child,
69
+ .modal__start_74d01 > *:only-child,
70
+ .modal__center_74d01 > *:last-child,
71
+ .modal__center_74d01 > *:only-child,
72
+ .modal__space-between_74d01 > *:last-child,
73
+ .modal__space-between_74d01 > *: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_74d01.modal__gap-16_74d01 > *, .modal__center_74d01.modal__gap-16_74d01 > *, .modal__space-between_74d01.modal__gap-16_74d01 > * {
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_74d01.modal__gap-24_74d01 > *, .modal__center_74d01.modal__gap-24_74d01 > *, .modal__space-between_74d01.modal__gap-24_74d01 > * {
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_74d01.modal__gap-32_74d01 > *, .modal__center_74d01.modal__gap-32_74d01 > *, .modal__space-between_74d01.modal__gap-32_74d01 > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1kn31 */
1
+ /* hash: 1pd1v */
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_1xqlk {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_g5ua4 {
28
+ .modal__sticky_1xqlk {
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_z7dpb","content":"modal__content_z7dpb","s":"modal__s_z7dpb","m":"modal__m_z7dpb","l":"modal__l_z7dpb","xl":"modal__xl_z7dpb","fullscreen":"modal__fullscreen_z7dpb","hasContent":"modal__hasContent_z7dpb","sticky":"modal__sticky_z7dpb"};
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_puwvl","hasContent":"modal__hasContent_puwvl","highlighted":"modal__highlighted_puwvl","sticky":"modal__sticky_puwvl","content":"modal__content_puwvl","title":"modal__title_puwvl","addon":"modal__addon_puwvl","closer":"modal__closer_puwvl","left":"modal__left_puwvl","center":"modal__center_puwvl","right":"modal__right_puwvl","trim":"modal__trim_puwvl"};
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_13ljz","content":"modal__content_13ljz"};
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: 18ady */
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_z7dpb {
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_z7dpb {
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_z7dpb .modal__content_z7dpb,
55
+ .modal__m_z7dpb .modal__content_z7dpb {
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_z7dpb .modal__content_z7dpb,
61
+ .modal__xl_z7dpb .modal__content_z7dpb,
62
+ .modal__fullscreen_z7dpb .modal__content_z7dpb {
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_z7dpb,
68
+ .modal__m_z7dpb {
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_z7dpb:not(.modal__hasContent_z7dpb), .modal__m_z7dpb:not(.modal__hasContent_z7dpb) {
72
72
  padding-bottom: 0;
73
73
  }
74
- .modal__l_g2899,
75
- .modal__xl_g2899,
76
- .modal__fullscreen_g2899 {
74
+ .modal__l_z7dpb,
75
+ .modal__xl_z7dpb,
76
+ .modal__fullscreen_z7dpb {
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_z7dpb:not(.modal__hasContent_z7dpb), .modal__xl_z7dpb:not(.modal__hasContent_z7dpb), .modal__fullscreen_z7dpb:not(.modal__hasContent_z7dpb) {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .modal__sticky_g2899 {
82
+ .modal__sticky_z7dpb {
83
83
  top: calc(var(--modal-vertical-padding) * -1)
84
84
  }
85
- .modal__sticky_g2899.modal__fullscreen_g2899 {
85
+ .modal__sticky_z7dpb.modal__fullscreen_z7dpb {
86
86
  top: 0;
87
87
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1qtb9 */
1
+ /* hash: 1qi8w */
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_puwvl {
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_puwvl:not(.modal__hasContent_puwvl) {
37
37
  pointer-events: none;
38
38
  }
39
- .modal__highlighted_1ysu8 {
39
+ .modal__highlighted_puwvl {
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_puwvl {
44
44
  position: sticky
45
45
  }
46
- .modal__sticky_1ysu8.modal__hasContent_1ysu8 {
46
+ .modal__sticky_puwvl.modal__hasContent_puwvl {
47
47
  background: var(--modal-header-background);
48
48
  }
49
- .modal__content_1ysu8 {
49
+ .modal__content_puwvl {
50
50
  flex-grow: 1;
51
51
  }
52
- .modal__title_1ysu8 {
52
+ .modal__title_puwvl {
53
53
  word-break: break-word;
54
54
  }
55
- .modal__addon_1ysu8 {
55
+ .modal__addon_puwvl {
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_puwvl {
64
64
  margin-left: auto;
65
65
  }
66
- .modal__left_1ysu8 {
66
+ .modal__left_puwvl {
67
67
  justify-content: flex-start;
68
68
  text-align: left;
69
69
  }
70
- .modal__center_1ysu8 {
70
+ .modal__center_puwvl {
71
71
  justify-content: center;
72
72
  text-align: center;
73
73
  }
74
- .modal__right_1ysu8 {
74
+ .modal__right_puwvl {
75
75
  justify-content: flex-end;
76
76
  text-align: right;
77
77
  }
78
- .modal__trim_1ysu8 {
78
+ .modal__trim_puwvl {
79
79
  overflow: hidden
80
80
  }
81
- .modal__trim_1ysu8 .modal__title_1ysu8 {
81
+ .modal__trim_puwvl .modal__title_puwvl {
82
82
  overflow: hidden;
83
83
  white-space: nowrap;
84
84
  text-overflow: ellipsis;
@@ -1,4 +1,4 @@
1
- /* hash: ytfnv */
1
+ /* hash: iq1ld */
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_13ljz {
37
37
  top: 0;
38
38
  }
39
- .modal__content_t38h9 {
39
+ .modal__content_13ljz {
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: 16efn */
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_1gumq {
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_1gumq {
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_1gumq {
44
44
  padding-top: 0;
45
45
  padding-bottom: 0
46
46
  }
47
- .modal__fullscreen_tsm3i .modal__component_tsm3i {
47
+ .modal__fullscreen_1gumq .modal__component_1gumq {
48
48
  flex: 1;
49
49
  border-radius: 0;
50
50
  }
51
- .modal__s_tsm3i {
51
+ .modal__s_1gumq {
52
52
  width: var(--modal-s-width);
53
53
  }
54
- .modal__m_tsm3i {
54
+ .modal__m_1gumq {
55
55
  width: var(--modal-m-width);
56
56
  }
57
- .modal__l_tsm3i {
57
+ .modal__l_1gumq {
58
58
  width: var(--modal-l-width);
59
59
  }
60
- .modal__xl_tsm3i {
60
+ .modal__xl_1gumq {
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-1403a282.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-1403a282.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: 1cpbx */
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_bp8q4 {
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-1403a282.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-1403a282.js';
17
17
  import '@alfalab/icons-glyph/CrossMIcon';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -1,24 +1,24 @@
1
- /* hash: 150n3 */
2
- .modal__appear_nxxli,
3
- .modal__enter_nxxli {
1
+ /* hash: 14pkq */
2
+ .modal__appear_zbish,
3
+ .modal__enter_zbish {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_nxxli,
9
- .modal__enterActive_nxxli {
8
+ .modal__appearActive_zbish,
9
+ .modal__enterActive_zbish {
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_nxxli {
15
+ .modal__exit_zbish {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_nxxli,
21
- .modal__exitDone_nxxli {
20
+ .modal__exitActive_zbish,
21
+ .modal__exitDone_zbish {
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_zbish","enter":"modal__enter_zbish","appearActive":"modal__appearActive_zbish","enterActive":"modal__enterActive_zbish","exit":"modal__exit_zbish","exitActive":"modal__exitActive_zbish","exitDone":"modal__exitDone_zbish"};
2
+ require('./transitions.css')
3
+
4
+ export { transitions as t };
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-modal",
3
- "version": "5.2.5",
3
+ "version": "5.2.7",
4
4
  "description": "Modal component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "main": "index.js",
8
8
  "scripts": {
9
- "postinstall": "node ./send-stats.js > /dev/null 2>&1 || exit 0"
9
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
10
10
  },
11
11
  "publishConfig": {
12
12
  "access": "public",
13
13
  "directory": "dist"
14
14
  },
15
15
  "dependencies": {
16
- "@alfalab/core-components-base-modal": "^4.1.5",
17
- "@alfalab/core-components-button": "^5.2.2",
18
- "@alfalab/core-components-icon-button": "^4.2.2",
16
+ "@alfalab/core-components-base-modal": "^4.2.1",
17
+ "@alfalab/core-components-button": "^5.2.3",
18
+ "@alfalab/core-components-icon-button": "^4.2.3",
19
19
  "@alfalab/core-components-mq": "^1.0.0",
20
20
  "classnames": "^2.2.6",
21
21
  "react-transition-group": "^4.4.1"
package/responsive.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-a3a19bff.js');
5
+ require('./tslib.es6-eacbc725.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -18,7 +18,7 @@ require('./components/content/Component.desktop.js');
18
18
  require('./components/footer/Component.js');
19
19
  require('./components/footer/Component.desktop.js');
20
20
  require('./Component.desktop.js');
21
- require('./transitions.module-4e5adb69.js');
21
+ require('./transitions.module-21cce0a0.js');
22
22
  require('@alfalab/icons-glyph/CrossMIcon');
23
23
  require('./components/header/Component.mobile.js');
24
24
  require('./components/content/Component.mobile.js');
package/transitions.css CHANGED
@@ -1,24 +1,24 @@
1
- /* hash: 150n3 */
2
- .modal__appear_nxxli,
3
- .modal__enter_nxxli {
1
+ /* hash: 14pkq */
2
+ .modal__appear_zbish,
3
+ .modal__enter_zbish {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_nxxli,
9
- .modal__enterActive_nxxli {
8
+ .modal__appearActive_zbish,
9
+ .modal__enterActive_zbish {
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_nxxli {
15
+ .modal__exit_zbish {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_nxxli,
21
- .modal__exitDone_nxxli {
20
+ .modal__exitActive_zbish,
21
+ .modal__exitDone_zbish {
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_zbish","enter":"modal__enter_zbish","appearActive":"modal__appearActive_zbish","enterActive":"modal__enterActive_zbish","exit":"modal__exit_zbish","exitActive":"modal__exitActive_zbish","exitDone":"modal__exitDone_zbish"};
4
+ require('./transitions.css')
5
+
6
+ exports.transitions = transitions;
File without changes
@@ -1,4 +0,0 @@
1
- var transitions = {"appear":"modal__appear_nxxli","enter":"modal__enter_nxxli","appearActive":"modal__appearActive_nxxli","enterActive":"modal__enterActive_nxxli","exit":"modal__exit_nxxli","exitActive":"modal__exitActive_nxxli","exitDone":"modal__exitDone_nxxli"};
2
- require('./transitions.css')
3
-
4
- export { transitions as t };
@@ -1,4 +0,0 @@
1
- var transitions = {"appear":"modal__appear_nxxli","enter":"modal__enter_nxxli","appearActive":"modal__appearActive_nxxli","enterActive":"modal__enterActive_nxxli","exit":"modal__exit_nxxli","exitActive":"modal__exitActive_nxxli","exitDone":"modal__exitDone_nxxli"};
2
- require('./transitions.css')
3
-
4
- export { transitions as t };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var transitions = {"appear":"modal__appear_nxxli","enter":"modal__enter_nxxli","appearActive":"modal__appearActive_nxxli","enterActive":"modal__enterActive_nxxli","exit":"modal__exit_nxxli","exitActive":"modal__exitActive_nxxli","exitDone":"modal__exitDone_nxxli"};
4
- require('./transitions.css')
5
-
6
- exports.transitions = transitions;