@alfalab/core-components-modal 6.1.7 → 6.1.8

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 (76) hide show
  1. package/Component.desktop.js +1 -1
  2. package/Component.js +4 -4
  3. package/Component.mobile.js +1 -1
  4. package/Component.responsive.js +1 -1
  5. package/components/closer/Component.js +2 -2
  6. package/components/closer/index.css +4 -4
  7. package/components/content/Component.js +3 -3
  8. package/components/content/desktop.css +8 -8
  9. package/components/content/index.css +3 -3
  10. package/components/content/mobile.css +3 -3
  11. package/components/footer/Component.js +4 -4
  12. package/components/footer/desktop.css +9 -9
  13. package/components/footer/index.css +4 -4
  14. package/components/footer/layout.css +25 -25
  15. package/components/footer/mobile.css +3 -3
  16. package/components/header/Component.js +4 -4
  17. package/components/header/desktop.css +17 -17
  18. package/components/header/index.css +15 -15
  19. package/components/header/mobile.css +3 -3
  20. package/desktop.css +9 -9
  21. package/desktop.js +1 -1
  22. package/esm/Component.desktop.js +1 -1
  23. package/esm/Component.js +4 -4
  24. package/esm/Component.mobile.js +1 -1
  25. package/esm/Component.responsive.js +1 -1
  26. package/esm/components/closer/Component.js +2 -2
  27. package/esm/components/closer/index.css +4 -4
  28. package/esm/components/content/Component.js +3 -3
  29. package/esm/components/content/desktop.css +8 -8
  30. package/esm/components/content/index.css +3 -3
  31. package/esm/components/content/mobile.css +3 -3
  32. package/esm/components/footer/Component.js +4 -4
  33. package/esm/components/footer/desktop.css +9 -9
  34. package/esm/components/footer/index.css +4 -4
  35. package/esm/components/footer/layout.css +25 -25
  36. package/esm/components/footer/mobile.css +3 -3
  37. package/esm/components/header/Component.js +4 -4
  38. package/esm/components/header/desktop.css +17 -17
  39. package/esm/components/header/index.css +15 -15
  40. package/esm/components/header/mobile.css +3 -3
  41. package/esm/desktop.css +9 -9
  42. package/esm/desktop.js +1 -1
  43. package/esm/index.js +1 -1
  44. package/esm/mobile.css +2 -2
  45. package/esm/mobile.js +1 -1
  46. package/esm/responsive.js +1 -1
  47. package/esm/transitions.css +8 -8
  48. package/esm/{tslib.es6-92d173b3.d.ts → tslib.es6-4ed2b18d.d.ts} +0 -0
  49. package/esm/{tslib.es6-92d173b3.js → tslib.es6-4ed2b18d.js} +0 -0
  50. package/index.js +1 -1
  51. package/mobile.css +2 -2
  52. package/mobile.js +1 -1
  53. package/modern/Component.js +3 -3
  54. package/modern/components/closer/Component.js +1 -1
  55. package/modern/components/closer/index.css +4 -4
  56. package/modern/components/content/Component.js +3 -3
  57. package/modern/components/content/desktop.css +8 -8
  58. package/modern/components/content/index.css +3 -3
  59. package/modern/components/content/mobile.css +3 -3
  60. package/modern/components/footer/Component.js +4 -4
  61. package/modern/components/footer/desktop.css +9 -9
  62. package/modern/components/footer/index.css +4 -4
  63. package/modern/components/footer/layout.css +25 -25
  64. package/modern/components/footer/mobile.css +3 -3
  65. package/modern/components/header/Component.js +3 -3
  66. package/modern/components/header/desktop.css +17 -17
  67. package/modern/components/header/index.css +15 -15
  68. package/modern/components/header/mobile.css +3 -3
  69. package/modern/desktop.css +9 -9
  70. package/modern/mobile.css +2 -2
  71. package/modern/transitions.css +8 -8
  72. package/package.json +2 -2
  73. package/responsive.js +1 -1
  74. package/transitions.css +8 -8
  75. /package/{tslib.es6-1b3490ba.d.ts → tslib.es6-810fa287.d.ts} +0 -0
  76. /package/{tslib.es6-1b3490ba.js → tslib.es6-810fa287.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-1b3490ba.js');
3
+ var tslib_es6 = require('./tslib.es6-810fa287.js');
4
4
  var React = require('react');
5
5
  var components_closer_Component = require('./components/closer/Component.js');
6
6
  var components_content_Component = require('./components/content/Component.js');
package/Component.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-1b3490ba.js');
3
+ var tslib_es6 = require('./tslib.es6-810fa287.js');
4
4
  var React = require('react');
5
5
  var mergeRefs = require('react-merge-refs');
6
6
  var cn = require('classnames');
@@ -13,13 +13,13 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var desktopStyles = {"wrapper":"modal__wrapper_1a3i3","component":"modal__component_1a3i3","fullscreen":"modal__fullscreen_1a3i3","s":"modal__s_1a3i3","m":"modal__m_1a3i3","l":"modal__l_1a3i3","xl":"modal__xl_1a3i3"};
16
+ var desktopStyles = {"wrapper":"modal__wrapper_u2qdw","component":"modal__component_u2qdw","fullscreen":"modal__fullscreen_u2qdw","s":"modal__s_u2qdw","m":"modal__m_u2qdw","l":"modal__l_u2qdw","xl":"modal__xl_u2qdw"};
17
17
  require('./desktop.css')
18
18
 
19
- var mobileStyles = {"component":"modal__component_7tcgr"};
19
+ var mobileStyles = {"component":"modal__component_nu45w"};
20
20
  require('./mobile.css')
21
21
 
22
- var transitions = {"appear":"modal__appear_mgl5x","enter":"modal__enter_mgl5x","appearActive":"modal__appearActive_mgl5x","enterActive":"modal__enterActive_mgl5x","exit":"modal__exit_mgl5x","exitActive":"modal__exitActive_mgl5x","exitDone":"modal__exitDone_mgl5x"};
22
+ var transitions = {"appear":"modal__appear_12hcv","enter":"modal__enter_12hcv","appearActive":"modal__appearActive_12hcv","enterActive":"modal__enterActive_12hcv","exit":"modal__exit_12hcv","exitActive":"modal__exitActive_12hcv","exitDone":"modal__exitDone_12hcv"};
23
23
  require('./transitions.css')
24
24
 
25
25
  var Modal = React.forwardRef(function (_a, ref) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-1b3490ba.js');
3
+ var tslib_es6 = require('./tslib.es6-810fa287.js');
4
4
  var React = require('react');
5
5
  var components_closer_Component = require('./components/closer/Component.js');
6
6
  var components_content_Component = require('./components/content/Component.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-1b3490ba.js');
3
+ var tslib_es6 = require('./tslib.es6-810fa287.js');
4
4
  var React = require('react');
5
5
  var hooks = require('@alfalab/hooks');
6
6
  var components_closer_Component = require('./components/closer/Component.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-1b3490ba.js');
3
+ var tslib_es6 = require('../../tslib.es6-810fa287.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"closer":"modal__closer_tzoiy","button":"modal__button_tzoiy","sticky":"modal__sticky_tzoiy"};
16
+ var styles = {"closer":"modal__closer_dywtt","button":"modal__button_dywtt","sticky":"modal__sticky_dywtt"};
17
17
  require('./index.css')
18
18
 
19
19
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1ybe1 */
1
+ /* hash: 1rbb0 */
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_tzoiy {
32
+ .modal__closer_dywtt {
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_tzoiy {
41
+ .modal__button_dywtt {
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_tzoiy {
47
+ .modal__sticky_dywtt {
48
48
  position: sticky;
49
49
  top: calc(var(--modal-vertical-padding) * -1);
50
50
  }
@@ -11,13 +11,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var desktopStyles = {"s":"modal__s_1kr1w","m":"modal__m_1kr1w","l":"modal__l_1kr1w","xl":"modal__xl_1kr1w","fullscreen":"modal__fullscreen_1kr1w"};
14
+ var desktopStyles = {"s":"modal__s_14qa7","m":"modal__m_14qa7","l":"modal__l_14qa7","xl":"modal__xl_14qa7","fullscreen":"modal__fullscreen_14qa7"};
15
15
  require('./desktop.css')
16
16
 
17
- var styles = {"content":"modal__content_gok0e","flex":"modal__flex_gok0e"};
17
+ var styles = {"content":"modal__content_nsba3","flex":"modal__flex_nsba3"};
18
18
  require('./index.css')
19
19
 
20
- var mobileStyles = {"content":"modal__content_19uka"};
20
+ var mobileStyles = {"content":"modal__content_1pvc0"};
21
21
  require('./mobile.css')
22
22
 
23
23
  var Content = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: s93k9 */
1
+ /* hash: 3io3y */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,18 +24,18 @@
24
24
 
25
25
  /* mobile */
26
26
  }
27
- .modal__s_1kr1w,
28
- .modal__m_1kr1w {
27
+ .modal__s_14qa7,
28
+ .modal__m_14qa7 {
29
29
  padding: var(--modal-s-content-paddings)
30
30
  }
31
- .modal__s_1kr1w:last-child, .modal__m_1kr1w:last-child {
31
+ .modal__s_14qa7:last-child, .modal__m_14qa7:last-child {
32
32
  padding-bottom: var(--modal-s-content-only-bottom-padding);
33
33
  }
34
- .modal__l_1kr1w,
35
- .modal__xl_1kr1w,
36
- .modal__fullscreen_1kr1w {
34
+ .modal__l_14qa7,
35
+ .modal__xl_14qa7,
36
+ .modal__fullscreen_14qa7 {
37
37
  padding: 0 var(--gap-6xl)
38
38
  }
39
- .modal__l_1kr1w:last-child, .modal__xl_1kr1w:last-child, .modal__fullscreen_1kr1w:last-child {
39
+ .modal__l_14qa7:last-child, .modal__xl_14qa7:last-child, .modal__fullscreen_14qa7:last-child {
40
40
  padding-bottom: var(--gap-6xl);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: v1pe5 */
1
+ /* hash: 6b9xu */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,10 +19,10 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__content_gok0e {
22
+ .modal__content_nsba3 {
23
23
  box-sizing: border-box;
24
24
  width: 100%;
25
25
  }
26
- .modal__flex_gok0e {
26
+ .modal__flex_nsba3 {
27
27
  flex: 1;
28
28
  }
@@ -1,4 +1,4 @@
1
- /* hash: svcsl */
1
+ /* hash: gnki9 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__content_19uka {
25
+ .modal__content_1pvc0 {
26
26
  padding: 0 var(--gap-m)
27
27
  }
28
- .modal__content_19uka:last-child {
28
+ .modal__content_1pvc0:last-child {
29
29
  padding-bottom: var(--gap-m);
30
30
  }
@@ -11,16 +11,16 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var desktopStyles = {"footer":"modal__footer_rzt9i","sticky":"modal__sticky_rzt9i","fullscreen":"modal__fullscreen_rzt9i","s":"modal__s_rzt9i","m":"modal__m_rzt9i","l":"modal__l_rzt9i","xl":"modal__xl_rzt9i"};
14
+ var desktopStyles = {"footer":"modal__footer_bz1kd","sticky":"modal__sticky_bz1kd","fullscreen":"modal__fullscreen_bz1kd","s":"modal__s_bz1kd","m":"modal__m_bz1kd","l":"modal__l_bz1kd","xl":"modal__xl_bz1kd"};
15
15
  require('./desktop.css')
16
16
 
17
- var styles = {"footer":"modal__footer_1t7dd","sticky":"modal__sticky_1t7dd","highlighted":"modal__highlighted_1t7dd"};
17
+ var styles = {"footer":"modal__footer_1d6lo","sticky":"modal__sticky_1d6lo","highlighted":"modal__highlighted_1d6lo"};
18
18
  require('./index.css')
19
19
 
20
- var layoutStyles = {"column":"modal__column_1o3tk","gap-16":"modal__gap-16_1o3tk","gap-24":"modal__gap-24_1o3tk","gap-32":"modal__gap-32_1o3tk","start":"modal__start_1o3tk","center":"modal__center_1o3tk","space-between":"modal__space-between_1o3tk"};
20
+ var layoutStyles = {"column":"modal__column_1831v","gap-16":"modal__gap-16_1831v","gap-24":"modal__gap-24_1831v","gap-32":"modal__gap-32_1831v","start":"modal__start_1831v","center":"modal__center_1831v","space-between":"modal__space-between_1831v"};
21
21
  require('./layout.css')
22
22
 
23
- var mobileStyles = {"footer":"modal__footer_10g6v","sticky":"modal__sticky_10g6v"};
23
+ var mobileStyles = {"footer":"modal__footer_1ggyk","sticky":"modal__sticky_1ggyk"};
24
24
  require('./mobile.css')
25
25
 
26
26
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: omx0r */
1
+ /* hash: 2gkwy */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,22 +31,22 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__footer_rzt9i {
34
+ .modal__footer_bz1kd {
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_rzt9i {
38
+ .modal__sticky_bz1kd {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_rzt9i.modal__fullscreen_rzt9i {
41
+ .modal__sticky_bz1kd.modal__fullscreen_bz1kd {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_rzt9i,
45
- .modal__m_rzt9i {
44
+ .modal__s_bz1kd,
45
+ .modal__m_bz1kd {
46
46
  padding: var(--modal-s-footer-paddings);
47
47
  }
48
- .modal__l_rzt9i,
49
- .modal__xl_rzt9i,
50
- .modal__fullscreen_rzt9i {
48
+ .modal__l_bz1kd,
49
+ .modal__xl_bz1kd,
50
+ .modal__fullscreen_bz1kd {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: nwoh0 */
1
+ /* hash: 1qcd6 */
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_1t7dd {
29
+ .modal__footer_1d6lo {
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_1t7dd {
34
+ .modal__sticky_1d6lo {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_1t7dd {
38
+ .modal__highlighted_1d6lo {
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: taa7x */
1
+ /* hash: 73y43 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__column_1o3tk {
28
+ .modal__column_1831v {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_1o3tk > * {
32
+ .modal__column_1831v > * {
33
33
  margin-bottom: var(--modal-footer-default-gap);
34
34
  }
35
- .modal__column_1o3tk > *:last-child,
36
- .modal__column_1o3tk > *:only-child {
35
+ .modal__column_1831v > *:last-child,
36
+ .modal__column_1831v > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_1o3tk.modal__gap-16_1o3tk > * {
39
+ .modal__column_1831v.modal__gap-16_1831v > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_1o3tk.modal__gap-24_1o3tk > * {
42
+ .modal__column_1831v.modal__gap-24_1831v > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_1o3tk.modal__gap-32_1o3tk > * {
45
+ .modal__column_1831v.modal__gap-32_1831v > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_1o3tk {
48
+ .modal__start_1831v {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_1o3tk {
51
+ .modal__center_1831v {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_1o3tk {
54
+ .modal__space-between_1831v {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_1o3tk > * {
57
+ .modal__space-between_1831v > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_1o3tk,
61
- .modal__center_1o3tk,
62
- .modal__space-between_1o3tk {
60
+ .modal__start_1831v,
61
+ .modal__center_1831v,
62
+ .modal__space-between_1831v {
63
63
  display: flex
64
64
  }
65
- .modal__start_1o3tk > *, .modal__center_1o3tk > *, .modal__space-between_1o3tk > * {
65
+ .modal__start_1831v > *, .modal__center_1831v > *, .modal__space-between_1831v > * {
66
66
  margin-right: var(--modal-footer-default-gap);
67
67
  }
68
- .modal__start_1o3tk > *:last-child,
69
- .modal__start_1o3tk > *:only-child,
70
- .modal__center_1o3tk > *:last-child,
71
- .modal__center_1o3tk > *:only-child,
72
- .modal__space-between_1o3tk > *:last-child,
73
- .modal__space-between_1o3tk > *:only-child {
68
+ .modal__start_1831v > *:last-child,
69
+ .modal__start_1831v > *:only-child,
70
+ .modal__center_1831v > *:last-child,
71
+ .modal__center_1831v > *:only-child,
72
+ .modal__space-between_1831v > *:last-child,
73
+ .modal__space-between_1831v > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .modal__start_1o3tk.modal__gap-16_1o3tk > *, .modal__center_1o3tk.modal__gap-16_1o3tk > *, .modal__space-between_1o3tk.modal__gap-16_1o3tk > * {
76
+ .modal__start_1831v.modal__gap-16_1831v > *, .modal__center_1831v.modal__gap-16_1831v > *, .modal__space-between_1831v.modal__gap-16_1831v > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .modal__start_1o3tk.modal__gap-24_1o3tk > *, .modal__center_1o3tk.modal__gap-24_1o3tk > *, .modal__space-between_1o3tk.modal__gap-24_1o3tk > * {
79
+ .modal__start_1831v.modal__gap-24_1831v > *, .modal__center_1831v.modal__gap-24_1831v > *, .modal__space-between_1831v.modal__gap-24_1831v > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .modal__start_1o3tk.modal__gap-32_1o3tk > *, .modal__center_1o3tk.modal__gap-32_1o3tk > *, .modal__space-between_1o3tk.modal__gap-32_1o3tk > * {
82
+ .modal__start_1831v.modal__gap-32_1831v > *, .modal__center_1831v.modal__gap-32_1831v > *, .modal__space-between_1831v.modal__gap-32_1831v > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: swicy */
1
+ /* hash: 12kms */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__footer_10g6v {
25
+ .modal__footer_1ggyk {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_10g6v {
28
+ .modal__sticky_1ggyk {
29
29
  bottom: 0;
30
30
  }
@@ -7,7 +7,7 @@ var Context = require('../../Context.js');
7
7
  var ResponsiveContext = require('../../ResponsiveContext.js');
8
8
  var components_closer_Component = require('../closer/Component.js');
9
9
  require('@alfalab/core-components-base-modal');
10
- require('../../tslib.es6-1b3490ba.js');
10
+ require('../../tslib.es6-810fa287.js');
11
11
  require('@alfalab/core-components-icon-button');
12
12
  require('@alfalab/icons-glyph/CrossHeavyMIcon');
13
13
 
@@ -21,13 +21,13 @@ var getDataTestId = function (dataTestId, element) {
21
21
  return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
22
22
  };
23
23
 
24
- var desktopStyles = {"header":"modal__header_1lmlt","content":"modal__content_1lmlt","s":"modal__s_1lmlt","m":"modal__m_1lmlt","l":"modal__l_1lmlt","xl":"modal__xl_1lmlt","fullscreen":"modal__fullscreen_1lmlt","hasContent":"modal__hasContent_1lmlt","sticky":"modal__sticky_1lmlt"};
24
+ var desktopStyles = {"header":"modal__header_2m9gw","content":"modal__content_2m9gw","s":"modal__s_2m9gw","m":"modal__m_2m9gw","l":"modal__l_2m9gw","xl":"modal__xl_2m9gw","fullscreen":"modal__fullscreen_2m9gw","hasContent":"modal__hasContent_2m9gw","sticky":"modal__sticky_2m9gw"};
25
25
  require('./desktop.css')
26
26
 
27
- var styles = {"header":"modal__header_13b3m","hasContent":"modal__hasContent_13b3m","highlighted":"modal__highlighted_13b3m","sticky":"modal__sticky_13b3m","content":"modal__content_13b3m","title":"modal__title_13b3m","addon":"modal__addon_13b3m","closer":"modal__closer_13b3m","left":"modal__left_13b3m","center":"modal__center_13b3m","right":"modal__right_13b3m","trim":"modal__trim_13b3m"};
27
+ var styles = {"header":"modal__header_1jbvb","hasContent":"modal__hasContent_1jbvb","highlighted":"modal__highlighted_1jbvb","sticky":"modal__sticky_1jbvb","content":"modal__content_1jbvb","title":"modal__title_1jbvb","addon":"modal__addon_1jbvb","closer":"modal__closer_1jbvb","left":"modal__left_1jbvb","center":"modal__center_1jbvb","right":"modal__right_1jbvb","trim":"modal__trim_1jbvb"};
28
28
  require('./index.css')
29
29
 
30
- var mobileStyles = {"sticky":"modal__sticky_19rfi","content":"modal__content_19rfi"};
30
+ var mobileStyles = {"sticky":"modal__sticky_tqntf","content":"modal__content_tqntf"};
31
31
  require('./mobile.css')
32
32
 
33
33
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 14r3w */
1
+ /* hash: 11wl5 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -43,45 +43,45 @@
43
43
 
44
44
  /* mobile */
45
45
  }
46
- .modal__header_1lmlt {
46
+ .modal__header_2m9gw {
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_1lmlt {
50
+ .modal__content_2m9gw {
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_1lmlt .modal__content_1lmlt,
55
- .modal__m_1lmlt .modal__content_1lmlt {
54
+ .modal__s_2m9gw .modal__content_2m9gw,
55
+ .modal__m_2m9gw .modal__content_2m9gw {
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_1lmlt .modal__content_1lmlt,
61
- .modal__xl_1lmlt .modal__content_1lmlt,
62
- .modal__fullscreen_1lmlt .modal__content_1lmlt {
60
+ .modal__l_2m9gw .modal__content_2m9gw,
61
+ .modal__xl_2m9gw .modal__content_2m9gw,
62
+ .modal__fullscreen_2m9gw .modal__content_2m9gw {
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_1lmlt,
68
- .modal__m_1lmlt {
67
+ .modal__s_2m9gw,
68
+ .modal__m_2m9gw {
69
69
  padding: var(--modal-s-header-paddings)
70
70
  }
71
- .modal__s_1lmlt:not(.modal__hasContent_1lmlt), .modal__m_1lmlt:not(.modal__hasContent_1lmlt) {
71
+ .modal__s_2m9gw:not(.modal__hasContent_2m9gw), .modal__m_2m9gw:not(.modal__hasContent_2m9gw) {
72
72
  padding-bottom: 0;
73
73
  }
74
- .modal__l_1lmlt,
75
- .modal__xl_1lmlt,
76
- .modal__fullscreen_1lmlt {
74
+ .modal__l_2m9gw,
75
+ .modal__xl_2m9gw,
76
+ .modal__fullscreen_2m9gw {
77
77
  padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
78
78
  }
79
- .modal__l_1lmlt:not(.modal__hasContent_1lmlt), .modal__xl_1lmlt:not(.modal__hasContent_1lmlt), .modal__fullscreen_1lmlt:not(.modal__hasContent_1lmlt) {
79
+ .modal__l_2m9gw:not(.modal__hasContent_2m9gw), .modal__xl_2m9gw:not(.modal__hasContent_2m9gw), .modal__fullscreen_2m9gw:not(.modal__hasContent_2m9gw) {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .modal__sticky_1lmlt {
82
+ .modal__sticky_2m9gw {
83
83
  top: calc(var(--modal-vertical-padding) * -1)
84
84
  }
85
- .modal__sticky_1lmlt.modal__fullscreen_1lmlt {
85
+ .modal__sticky_2m9gw.modal__fullscreen_2m9gw {
86
86
  top: 0;
87
87
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1myyv */
1
+ /* hash: 1k4g4 */
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_13b3m {
28
+ .modal__header_1jbvb {
29
29
  width: 100%;
30
30
  box-sizing: border-box;
31
31
  display: flex;
@@ -33,27 +33,27 @@
33
33
  justify-content: space-between;
34
34
  transition: box-shadow 0.2s ease, background 0.2s ease
35
35
  }
36
- .modal__header_13b3m:not(.modal__hasContent_13b3m) {
36
+ .modal__header_1jbvb:not(.modal__hasContent_1jbvb) {
37
37
  pointer-events: none;
38
38
  }
39
- .modal__highlighted_13b3m {
39
+ .modal__highlighted_1jbvb {
40
40
  background: var(--modal-header-highlight-background);
41
41
  box-shadow: var(--modal-header-highlight-box-shadow);
42
42
  }
43
- .modal__sticky_13b3m {
43
+ .modal__sticky_1jbvb {
44
44
  position: sticky;
45
45
  z-index: 1
46
46
  }
47
- .modal__sticky_13b3m.modal__hasContent_13b3m {
47
+ .modal__sticky_1jbvb.modal__hasContent_1jbvb {
48
48
  background: var(--modal-header-background);
49
49
  }
50
- .modal__content_13b3m {
50
+ .modal__content_1jbvb {
51
51
  flex-grow: 1;
52
52
  }
53
- .modal__title_13b3m {
53
+ .modal__title_1jbvb {
54
54
  word-break: break-word;
55
55
  }
56
- .modal__addon_13b3m {
56
+ .modal__addon_1jbvb {
57
57
  min-width: 48px;
58
58
  height: 48px;
59
59
  display: flex;
@@ -61,25 +61,25 @@
61
61
  align-items: center;
62
62
  pointer-events: all;
63
63
  }
64
- .modal__closer_13b3m {
64
+ .modal__closer_1jbvb {
65
65
  margin-left: auto;
66
66
  }
67
- .modal__left_13b3m {
67
+ .modal__left_1jbvb {
68
68
  justify-content: flex-start;
69
69
  text-align: left;
70
70
  }
71
- .modal__center_13b3m {
71
+ .modal__center_1jbvb {
72
72
  justify-content: center;
73
73
  text-align: center;
74
74
  }
75
- .modal__right_13b3m {
75
+ .modal__right_1jbvb {
76
76
  justify-content: flex-end;
77
77
  text-align: right;
78
78
  }
79
- .modal__trim_13b3m {
79
+ .modal__trim_1jbvb {
80
80
  overflow: hidden
81
81
  }
82
- .modal__trim_13b3m .modal__title_13b3m {
82
+ .modal__trim_1jbvb .modal__title_1jbvb {
83
83
  overflow: hidden;
84
84
  white-space: nowrap;
85
85
  text-overflow: ellipsis;
@@ -1,4 +1,4 @@
1
- /* hash: 14ic3 */
1
+ /* hash: 1e6gi */
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_19rfi {
36
+ .modal__sticky_tqntf {
37
37
  top: 0;
38
38
  }
39
- .modal__content_19rfi {
39
+ .modal__content_tqntf {
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);
package/desktop.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: f7acf */
1
+ /* hash: 5j5xa */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,32 +31,32 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__wrapper_1a3i3 {
34
+ .modal__wrapper_u2qdw {
35
35
  padding-top: var(--modal-vertical-padding);
36
36
  padding-bottom: var(--modal-vertical-padding);
37
37
  }
38
- .modal__component_1a3i3 {
38
+ .modal__component_u2qdw {
39
39
  width: 100%;
40
40
  max-width: 100%;
41
41
  border-radius: var(--modal-border-radius);
42
42
  }
43
- .modal__fullscreen_1a3i3 {
43
+ .modal__fullscreen_u2qdw {
44
44
  padding-top: 0;
45
45
  padding-bottom: 0
46
46
  }
47
- .modal__fullscreen_1a3i3 .modal__component_1a3i3 {
47
+ .modal__fullscreen_u2qdw .modal__component_u2qdw {
48
48
  flex: 1;
49
49
  border-radius: 0;
50
50
  }
51
- .modal__s_1a3i3 {
51
+ .modal__s_u2qdw {
52
52
  width: var(--modal-s-width);
53
53
  }
54
- .modal__m_1a3i3 {
54
+ .modal__m_u2qdw {
55
55
  width: var(--modal-m-width);
56
56
  }
57
- .modal__l_1a3i3 {
57
+ .modal__l_u2qdw {
58
58
  width: var(--modal-l-width);
59
59
  }
60
- .modal__xl_1a3i3 {
60
+ .modal__xl_u2qdw {
61
61
  width: var(--modal-xl-width);
62
62
  }
package/desktop.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Component_desktop = require('./Component.desktop.js');
4
- require('./tslib.es6-1b3490ba.js');
4
+ require('./tslib.es6-810fa287.js');
5
5
  require('react');
6
6
  require('./components/closer/Component.js');
7
7
  require('classnames');
@@ -1,4 +1,4 @@
1
- import { _ as __assign } from './tslib.es6-92d173b3.js';
1
+ import { _ as __assign } from './tslib.es6-4ed2b18d.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { Closer } from './components/closer/Component.js';
4
4
  import { Content } from './components/content/Component.js';