@alfalab/core-components-modal 4.0.0 → 4.0.4

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 +19 -19
  10. package/dist/components/content/mobile.css +14 -14
  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 +19 -19
  15. package/dist/components/footer/layout.css +25 -25
  16. package/dist/components/footer/mobile.css +14 -14
  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 +23 -23
  21. package/dist/components/header/mobile.css +18 -18
  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 +19 -19
  32. package/dist/esm/components/content/mobile.css +14 -14
  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 +19 -19
  37. package/dist/esm/components/footer/layout.css +25 -25
  38. package/dist/esm/components/footer/mobile.css +14 -14
  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 +23 -23
  43. package/dist/esm/components/header/mobile.css +18 -18
  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-27fb7ca1.js +4 -0
  52. package/dist/esm/{tslib.es6-34e031a0.d.ts → tslib.es6-bb547226.d.ts} +0 -0
  53. package/dist/esm/{tslib.es6-34e031a0.js → tslib.es6-bb547226.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 +19 -19
  65. package/dist/modern/components/content/mobile.css +14 -14
  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 +19 -19
  70. package/dist/modern/components/footer/layout.css +25 -25
  71. package/dist/modern/components/footer/mobile.css +14 -14
  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 +23 -23
  75. package/dist/modern/components/header/mobile.css +18 -18
  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-27fb7ca1.js +4 -0
  84. package/dist/responsive.js +2 -2
  85. package/dist/transitions.css +8 -8
  86. package/dist/transitions.module-93050b58.js +6 -0
  87. package/dist/{tslib.es6-3f121631.d.ts → tslib.es6-a1add9a7.d.ts} +0 -0
  88. package/dist/{tslib.es6-3f121631.js → tslib.es6-a1add9a7.js} +0 -0
  89. package/package.json +4 -4
  90. package/dist/esm/transitions.module-ea6d76cb.js +0 -4
  91. package/dist/modern/transitions.module-ea6d76cb.js +0 -4
  92. package/dist/transitions.module-d9ab2abf.js +0 -6
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-3f121631.js');
5
+ var tslib_es6 = require('../../tslib.es6-a1add9a7.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -16,7 +16,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
16
16
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
17
17
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
18
18
 
19
- var styles = {"header":"modal__header_1jrkk modal__header_1vdx6","s":"modal__s_1jrkk","m":"modal__m_1jrkk","l":"modal__l_1jrkk","fullscreen":"modal__fullscreen_1jrkk","sticky":"modal__sticky_1jrkk modal__sticky_1vdx6","highlighted":"modal__highlighted_1jrkk modal__highlighted_1vdx6","content":"modal__content_1jrkk modal__content_1vdx6","title":"modal__title_1jrkk modal__title_1vdx6"};
19
+ var styles = {"header":"modal__header_z8d23 modal__header_1hqu9","s":"modal__s_z8d23","m":"modal__m_z8d23","l":"modal__l_z8d23","fullscreen":"modal__fullscreen_z8d23","sticky":"modal__sticky_z8d23 modal__sticky_1hqu9","highlighted":"modal__highlighted_z8d23 modal__highlighted_1hqu9","content":"modal__content_z8d23 modal__content_1hqu9","title":"modal__title_z8d23 modal__title_1hqu9"};
20
20
  require('./desktop.css')
21
21
 
22
22
  var HeaderDesktop = function (_a) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../tslib.es6-3f121631.js');
5
+ require('../../tslib.es6-a1add9a7.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-3f121631.js');
5
+ var tslib_es6 = require('../../tslib.es6-a1add9a7.js');
6
6
  var React = require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
15
15
 
16
16
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
17
17
 
18
- var styles = {"header":"modal__header_ocz3o modal__header_1vdx6","sticky":"modal__sticky_ocz3o modal__sticky_1vdx6","highlighted":"modal__highlighted_ocz3o modal__highlighted_1vdx6","content":"modal__content_ocz3o modal__content_1vdx6","title":"modal__title_ocz3o modal__title_1vdx6"};
18
+ var styles = {"header":"modal__header_1jqux modal__header_1hqu9","sticky":"modal__sticky_1jqux modal__sticky_1hqu9","highlighted":"modal__highlighted_1jqux modal__highlighted_1hqu9","content":"modal__content_1jqux modal__content_1hqu9","title":"modal__title_1jqux modal__title_1hqu9"};
19
19
  require('./mobile.css')
20
20
 
21
21
  var HeaderMobile = function (props) { return React__default['default'].createElement(components_header_Component.Header, tslib_es6.__assign({ styles: styles }, props)); };
@@ -1,4 +1,4 @@
1
- /* hash: p2hq7 */
1
+ /* hash: 7t4d9 */
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_1vdx6 {
48
+ }.modal__header_1hqu9 {
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_1vdx6 {
56
+ }.modal__highlighted_1hqu9 {
57
57
  background: var(--modal-header-highlight-background);
58
58
  box-shadow: var(--modal-header-highlight-box-shadow);
59
- }.modal__sticky_1vdx6 {
59
+ }.modal__sticky_1hqu9 {
60
60
  position: sticky;
61
- }.modal__content_1vdx6 {
61
+ }.modal__content_1hqu9 {
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_1vdx6 {
69
+ }.modal__title_1hqu9 {
70
70
  word-break: break-word;
71
71
  }
72
72
  :root {
@@ -187,13 +187,13 @@
187
187
  --color-static-status-purple: #673ab7;
188
188
  --color-static-status-red: #d91d0b;
189
189
  --color-static-status-teal: #219187;
190
- --color-static-status-blue-tint-90: rgb(230, 242, 255);
191
- --color-static-status-green-tint-90: rgb(231, 246, 239);
192
- --color-static-status-grey-tint-90: rgb(240, 242, 243);
193
- --color-static-status-orange-tint-90: rgb(252, 240, 230);
194
- --color-static-status-purple-tint-90: rgb(240, 235, 248);
195
- --color-static-status-red-tint-90: rgb(251, 232, 231);
196
- --color-static-status-teal-tint-90: rgb(233, 244, 243);
190
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
191
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
192
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
193
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
194
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
195
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
196
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
197
197
  }
198
198
  :root {
199
199
  --color-dark-bg-accent: #ef3124;
@@ -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_1jrkk {
627
+ .modal__header_z8d23 {
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_1jrkk {
633
+ .modal__s_z8d23 {
634
634
  padding: var(--modal-s-header-paddings);
635
635
  }
636
- .modal__m_1jrkk {
636
+ .modal__m_z8d23 {
637
637
  padding: var(--modal-m-header-paddings);
638
638
  }
639
- .modal__l_1jrkk,
640
- .modal__fullscreen_1jrkk {
639
+ .modal__l_z8d23,
640
+ .modal__fullscreen_z8d23 {
641
641
  min-height: var(--modal-header-l-min-height);
642
642
  padding: var(--modal-l-header-paddings);
643
643
  }
644
- .modal__sticky_1jrkk {
644
+ .modal__sticky_z8d23 {
645
645
 
646
646
  top: calc(var(--modal-vertical-padding) * -1);
647
647
  }
648
- .modal__fullscreen_1jrkk {
648
+ .modal__fullscreen_z8d23 {
649
649
  top: 0;
650
650
  }
651
- .modal__highlighted_1jrkk {
651
+ .modal__highlighted_z8d23 {
652
652
  }
653
- .modal__content_1jrkk {
653
+ .modal__content_z8d23 {
654
654
  }
655
- .modal__title_1jrkk {
655
+ .modal__title_z8d23 {
656
656
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1w2sg */
1
+ /* hash: dl9xf */
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_1vdx6 {
38
+ }.modal__header_1hqu9 {
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_1vdx6 {
46
+ }.modal__highlighted_1hqu9 {
47
47
  background: var(--modal-header-highlight-background);
48
48
  box-shadow: var(--modal-header-highlight-box-shadow);
49
- }.modal__sticky_1vdx6 {
49
+ }.modal__sticky_1hqu9 {
50
50
  position: sticky;
51
- }.modal__content_1vdx6 {
51
+ }.modal__content_1hqu9 {
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_1vdx6 {
59
+ }.modal__title_1hqu9 {
60
60
  word-break: break-word;
61
61
  }
62
62
  :root {
@@ -177,13 +177,13 @@
177
177
  --color-static-status-purple: #673ab7;
178
178
  --color-static-status-red: #d91d0b;
179
179
  --color-static-status-teal: #219187;
180
- --color-static-status-blue-tint-90: rgb(230, 242, 255);
181
- --color-static-status-green-tint-90: rgb(231, 246, 239);
182
- --color-static-status-grey-tint-90: rgb(240, 242, 243);
183
- --color-static-status-orange-tint-90: rgb(252, 240, 230);
184
- --color-static-status-purple-tint-90: rgb(240, 235, 248);
185
- --color-static-status-red-tint-90: rgb(251, 232, 231);
186
- --color-static-status-teal-tint-90: rgb(233, 244, 243);
180
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
181
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
182
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
183
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
184
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
185
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
186
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
187
187
  }
188
188
  :root {
189
189
  --color-dark-bg-accent: #ef3124;
@@ -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_ocz3o {
617
+ .modal__header_1jqux {
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_ocz3o {
625
+ .modal__sticky_1jqux {
626
626
 
627
627
  top: 0;
628
628
  }
629
- .modal__highlighted_ocz3o {
629
+ .modal__highlighted_1jqux {
630
630
  }
631
- .modal__content_ocz3o {
631
+ .modal__content_1jqux {
632
632
  }
633
- .modal__title_ocz3o {
633
+ .modal__title_1jqux {
634
634
  }
package/dist/desktop.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 19h63 */
1
+ /* hash: b6d4x */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,29 +30,29 @@
30
30
 
31
31
  /* scroll */
32
32
  }
33
- .modal__wrapper_91l0s {
33
+ .modal__wrapper_19ee7 {
34
34
  padding-top: var(--modal-vertical-padding);
35
35
  padding-bottom: var(--modal-vertical-padding);
36
36
  }
37
- .modal__component_91l0s {
37
+ .modal__component_19ee7 {
38
38
  width: 100%;
39
39
  max-width: 100%;
40
40
  border-radius: var(--modal-border-radius);
41
41
  }
42
- .modal__fullscreen_91l0s {
42
+ .modal__fullscreen_19ee7 {
43
43
  padding-top: 0;
44
44
  padding-bottom: 0
45
45
  }
46
- .modal__fullscreen_91l0s .modal__component_91l0s {
46
+ .modal__fullscreen_19ee7 .modal__component_19ee7 {
47
47
  flex: 1;
48
48
  border-radius: 0;
49
49
  }
50
- .modal__s_91l0s {
50
+ .modal__s_19ee7 {
51
51
  width: var(--modal-s-width);
52
52
  }
53
- .modal__m_91l0s {
53
+ .modal__m_19ee7 {
54
54
  width: var(--modal-m-width);
55
55
  }
56
- .modal__l_91l0s {
56
+ .modal__l_19ee7 {
57
57
  width: var(--modal-l-width);
58
58
  }
package/dist/desktop.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-3f121631.js');
5
+ require('./tslib.es6-a1add9a7.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
  var Component_desktop = require('./Component.desktop.js');
20
- require('./transitions.module-d9ab2abf.js');
20
+ require('./transitions.module-93050b58.js');
21
21
 
22
22
 
23
23
 
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-34e031a0.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-bb547226.js';
2
2
  import React, { forwardRef, useRef, useCallback, isValidElement, cloneElement } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseModal } from '@alfalab/core-components-base-modal/dist/esm';
@@ -12,9 +12,9 @@ import './components/content/Component.js';
12
12
  import { ContentDesktop } from './components/content/Component.desktop.js';
13
13
  import './components/footer/Component.js';
14
14
  import { FooterDesktop } from './components/footer/Component.desktop.js';
15
- import { t as transitions } from './transitions.module-ea6d76cb.js';
15
+ import { t as transitions } from './transitions.module-27fb7ca1.js';
16
16
 
17
- var styles = {"wrapper":"modal__wrapper_91l0s","component":"modal__component_91l0s","fullscreen":"modal__fullscreen_91l0s","s":"modal__s_91l0s","m":"modal__m_91l0s","l":"modal__l_91l0s"};
17
+ var styles = {"wrapper":"modal__wrapper_19ee7","component":"modal__component_19ee7","fullscreen":"modal__fullscreen_19ee7","s":"modal__s_19ee7","m":"modal__m_19ee7","l":"modal__l_19ee7"};
18
18
  require('./desktop.css')
19
19
 
20
20
  var ModalDesktopComponent = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-34e031a0.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-bb547226.js';
2
2
  import React, { forwardRef, isValidElement, cloneElement } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseModal } from '@alfalab/core-components-base-modal/dist/esm';
@@ -8,13 +8,13 @@ import { Closer } from './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 { t as transitions } from './transitions.module-ea6d76cb.js';
11
+ import { t as transitions } from './transitions.module-27fb7ca1.js';
12
12
  import { useMedia } from '@alfalab/hooks';
13
13
  import { HeaderMobile } from './components/header/Component.mobile.js';
14
14
  import { ContentMobile } from './components/content/Component.mobile.js';
15
15
  import { FooterMobile } from './components/footer/Component.mobile.js';
16
16
 
17
- var styles = {"component":"modal__component_891li"};
17
+ var styles = {"component":"modal__component_yovf0"};
18
18
  require('./mobile.css')
19
19
 
20
20
  var ModalMobileComponent = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-34e031a0.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-bb547226.js';
2
2
  import React, { forwardRef, useMemo, useContext } from '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 { ModalDesktop } from './Component.desktop.js';
16
- import './transitions.module-ea6d76cb.js';
16
+ import './transitions.module-27fb7ca1.js';
17
17
  import { useMedia } from '@alfalab/hooks';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-34e031a0.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bb547226.js';
2
2
  import React, { useContext, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
5
5
  import { ModalContext } from '../../Context.js';
6
6
  import { Button } from '@alfalab/core-components-button/dist/esm';
7
7
 
8
- var styles = {"closer":"modal__closer_mvm9g","left":"modal__left_mvm9g","right":"modal__right_mvm9g","fullscreen":"modal__fullscreen_mvm9g"};
8
+ var styles = {"closer":"modal__closer_1n8ff","left":"modal__left_1n8ff","right":"modal__right_1n8ff","fullscreen":"modal__fullscreen_1n8ff"};
9
9
  require('./index.css')
10
10
 
11
11
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 19ez3 */
1
+ /* hash: 7h1xg */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,7 +24,7 @@
24
24
 
25
25
  /* scroll */
26
26
  }
27
- .modal__closer_mvm9g {
27
+ .modal__closer_1n8ff {
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_mvm9g:hover {
36
+ .modal__closer_1n8ff:hover {
37
37
  opacity: 0.7;
38
38
  }
39
- .modal__closer_mvm9g:active {
39
+ .modal__closer_1n8ff:active {
40
40
  opacity: 0.5;
41
41
  }
42
- .modal__left_mvm9g,
43
- .modal__right_mvm9g {
42
+ .modal__left_1n8ff,
43
+ .modal__right_1n8ff {
44
44
  position: sticky;
45
45
  top: calc(var(--modal-vertical-padding) * -1);
46
46
  }
47
- .modal__right_mvm9g {
47
+ .modal__right_1n8ff {
48
48
  margin-left: auto;
49
49
  }
50
- .modal__fullscreen_mvm9g {
50
+ .modal__fullscreen_1n8ff {
51
51
  top: 0;
52
52
  }
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-34e031a0.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bb547226.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
5
5
  import '../../Context.js';
6
6
  import { Content } from './Component.js';
7
7
 
8
- var styles = {"content":"modal__content_1gsc1 modal__content_1ht3f","flex":"modal__flex_1gsc1 modal__flex_1ht3f","s":"modal__s_1gsc1","m":"modal__m_1gsc1","l":"modal__l_1gsc1","fullscreen":"modal__fullscreen_1gsc1"};
8
+ var styles = {"content":"modal__content_jgdna modal__content_rd9li","flex":"modal__flex_jgdna modal__flex_rd9li","s":"modal__s_jgdna","m":"modal__m_jgdna","l":"modal__l_jgdna","fullscreen":"modal__fullscreen_jgdna"};
9
9
  require('./desktop.css')
10
10
 
11
11
  var ContentDesktop = function (_a) {
@@ -1,11 +1,11 @@
1
- import { a as __assign } from '../../tslib.es6-34e031a0.js';
1
+ import { a as __assign } from '../../tslib.es6-bb547226.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
5
5
  import '../../Context.js';
6
6
  import { Content } from './Component.js';
7
7
 
8
- var styles = {"content":"modal__content_yq7e2 modal__content_1ht3f","flex":"modal__flex_yq7e2 modal__flex_1ht3f"};
8
+ var styles = {"content":"modal__content_7vq1z modal__content_rd9li","flex":"modal__flex_7vq1z modal__flex_rd9li"};
9
9
  require('./mobile.css')
10
10
 
11
11
  var ContentMobile = function (props) { return (React.createElement(Content, __assign({ styles: styles }, props))); };
@@ -1,4 +1,4 @@
1
- /* hash: pr9cd */
1
+ /* hash: 1o69e */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -34,14 +34,14 @@
34
34
  /* sticky */
35
35
 
36
36
  /* scroll */
37
- }.modal__content_1ht3f {
37
+ }.modal__content_rd9li {
38
38
  box-sizing: border-box;
39
39
  width: 100%
40
- }.modal__content_1ht3f:first-child {
40
+ }.modal__content_rd9li:first-child {
41
41
  padding-top: var(--modal-content-no-header-top-padding);
42
- }.modal__content_1ht3f:last-child {
42
+ }.modal__content_rd9li:last-child {
43
43
  padding-bottom: var(--modal-content-no-footer-bottom-padding);
44
- }.modal__flex_1ht3f {
44
+ }.modal__flex_rd9li {
45
45
  flex: 1 1 auto;
46
46
  }
47
47
  :root {
@@ -162,13 +162,13 @@
162
162
  --color-static-status-purple: #673ab7;
163
163
  --color-static-status-red: #d91d0b;
164
164
  --color-static-status-teal: #219187;
165
- --color-static-status-blue-tint-90: rgb(230, 242, 255);
166
- --color-static-status-green-tint-90: rgb(231, 246, 239);
167
- --color-static-status-grey-tint-90: rgb(240, 242, 243);
168
- --color-static-status-orange-tint-90: rgb(252, 240, 230);
169
- --color-static-status-purple-tint-90: rgb(240, 235, 248);
170
- --color-static-status-red-tint-90: rgb(251, 232, 231);
171
- --color-static-status-teal-tint-90: rgb(233, 244, 243);
165
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
166
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
167
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
168
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
169
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
170
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
171
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
172
172
  }
173
173
  :root {
174
174
  --color-dark-bg-accent: #ef3124;
@@ -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_1gsc1 {
602
+ .modal__content_jgdna {
603
603
  }
604
- .modal__flex_1gsc1 {
604
+ .modal__flex_jgdna {
605
605
  }
606
- .modal__s_1gsc1 {
606
+ .modal__s_jgdna {
607
607
  padding: var(--modal-s-content-paddings);
608
608
  }
609
- .modal__m_1gsc1 {
609
+ .modal__m_jgdna {
610
610
  padding: var(--modal-m-content-paddings);
611
611
  }
612
- .modal__l_1gsc1,
613
- .modal__fullscreen_1gsc1 {
612
+ .modal__l_jgdna,
613
+ .modal__fullscreen_jgdna {
614
614
  padding: var(--modal-l-content-paddings)
615
615
  }
616
- .modal__l_1gsc1:last-child, .modal__fullscreen_1gsc1:last-child {
616
+ .modal__l_jgdna:last-child, .modal__fullscreen_jgdna:last-child {
617
617
  padding-bottom: var(--modal-l-content-no-footer-bottom-padding);
618
618
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1xml3 */
1
+ /* hash: dzw5x */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -30,14 +30,14 @@
30
30
  /* sticky */
31
31
 
32
32
  /* scroll */
33
- }.modal__content_1ht3f {
33
+ }.modal__content_rd9li {
34
34
  box-sizing: border-box;
35
35
  width: 100%
36
- }.modal__content_1ht3f:first-child {
36
+ }.modal__content_rd9li:first-child {
37
37
  padding-top: var(--modal-content-no-header-top-padding);
38
- }.modal__content_1ht3f:last-child {
38
+ }.modal__content_rd9li:last-child {
39
39
  padding-bottom: var(--modal-content-no-footer-bottom-padding);
40
- }.modal__flex_1ht3f {
40
+ }.modal__flex_rd9li {
41
41
  flex: 1 1 auto;
42
42
  }
43
43
  :root {
@@ -158,13 +158,13 @@
158
158
  --color-static-status-purple: #673ab7;
159
159
  --color-static-status-red: #d91d0b;
160
160
  --color-static-status-teal: #219187;
161
- --color-static-status-blue-tint-90: rgb(230, 242, 255);
162
- --color-static-status-green-tint-90: rgb(231, 246, 239);
163
- --color-static-status-grey-tint-90: rgb(240, 242, 243);
164
- --color-static-status-orange-tint-90: rgb(252, 240, 230);
165
- --color-static-status-purple-tint-90: rgb(240, 235, 248);
166
- --color-static-status-red-tint-90: rgb(251, 232, 231);
167
- --color-static-status-teal-tint-90: rgb(233, 244, 243);
161
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
162
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
163
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
164
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
165
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
166
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
167
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
168
168
  }
169
169
  :root {
170
170
  --color-dark-bg-accent: #ef3124;
@@ -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_yq7e2 {
598
+ .modal__content_7vq1z {
599
599
 
600
600
  padding: 0 var(--gap-m) 0;
601
601
  }
602
- .modal__flex_yq7e2 {
602
+ .modal__flex_7vq1z {
603
603
  }
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-34e031a0.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-bb547226.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
5
5
  import '../../Context.js';
6
6
  import { Footer } from './Component.js';
7
7
 
8
- var styles = {"footer":"modal__footer_178fy modal__footer_13cqt","highlighted":"modal__highlighted_178fy modal__highlighted_13cqt","sticky":"modal__sticky_178fy modal__sticky_13cqt","fullscreen":"modal__fullscreen_178fy","s":"modal__s_178fy","m":"modal__m_178fy","l":"modal__l_178fy"};
8
+ var styles = {"footer":"modal__footer_ihh20 modal__footer_7pnbw","highlighted":"modal__highlighted_ihh20 modal__highlighted_7pnbw","sticky":"modal__sticky_ihh20 modal__sticky_7pnbw","fullscreen":"modal__fullscreen_ihh20","s":"modal__s_ihh20","m":"modal__m_ihh20","l":"modal__l_ihh20"};
9
9
  require('./desktop.css')
10
10
 
11
11
  var FooterDesktop = function (_a) {
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/dist/esm';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var layoutStyles = {"column":"modal__column_4bc7l","gap-16":"modal__gap-16_4bc7l","gap-24":"modal__gap-24_4bc7l","gap-32":"modal__gap-32_4bc7l","start":"modal__start_4bc7l","center":"modal__center_4bc7l","space-between":"modal__space-between_4bc7l"};
6
+ var layoutStyles = {"column":"modal__column_17pcr","gap-16":"modal__gap-16_17pcr","gap-24":"modal__gap-24_17pcr","gap-32":"modal__gap-32_17pcr","start":"modal__start_17pcr","center":"modal__center_17pcr","space-between":"modal__space-between_17pcr"};
7
7
  require('./layout.css')
8
8
 
9
9
  var Footer = function (_a) {
@@ -1,11 +1,11 @@
1
- import { a as __assign } from '../../tslib.es6-34e031a0.js';
1
+ import { a as __assign } from '../../tslib.es6-bb547226.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
5
5
  import '../../Context.js';
6
6
  import { Footer } from './Component.js';
7
7
 
8
- var styles = {"footer":"modal__footer_1wz6k modal__footer_13cqt","highlighted":"modal__highlighted_1wz6k modal__highlighted_13cqt","sticky":"modal__sticky_1wz6k modal__sticky_13cqt"};
8
+ var styles = {"footer":"modal__footer_wmde8 modal__footer_7pnbw","highlighted":"modal__highlighted_wmde8 modal__highlighted_7pnbw","sticky":"modal__sticky_wmde8 modal__sticky_7pnbw"};
9
9
  require('./mobile.css')
10
10
 
11
11
  var FooterMobile = function (props) { return React.createElement(Footer, __assign({ styles: styles }, props)); };