@alfalab/core-components-modal 4.0.2 → 4.0.3

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 +8 -0
  2. package/dist/Component.desktop.js +3 -3
  3. package/dist/Component.mobile.js +3 -3
  4. package/dist/Component.responsive.js +2 -2
  5. package/dist/components/closer/Component.js +2 -2
  6. package/dist/components/closer/index.css +8 -8
  7. package/dist/components/content/Component.desktop.js +2 -2
  8. package/dist/components/content/Component.mobile.js +2 -2
  9. package/dist/components/content/desktop.css +12 -19
  10. package/dist/components/content/mobile.css +7 -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 +12 -19
  15. package/dist/components/footer/layout.css +25 -25
  16. package/dist/components/footer/mobile.css +7 -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 +16 -23
  21. package/dist/components/header/mobile.css +11 -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 +12 -19
  32. package/dist/esm/components/content/mobile.css +7 -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 +12 -19
  37. package/dist/esm/components/footer/layout.css +25 -25
  38. package/dist/esm/components/footer/mobile.css +7 -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 +16 -23
  43. package/dist/esm/components/header/mobile.css +11 -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-0af128f1.js +4 -0
  52. package/dist/esm/{tslib.es6-07601d96.d.ts → tslib.es6-428cbd49.d.ts} +0 -0
  53. package/dist/esm/{tslib.es6-07601d96.js → tslib.es6-428cbd49.js} +0 -0
  54. package/dist/index.js +2 -2
  55. package/dist/mobile.css +2 -2
  56. package/dist/mobile.js +2 -2
  57. package/dist/modern/Component.desktop.js +2 -2
  58. package/dist/modern/Component.mobile.js +2 -2
  59. package/dist/modern/Component.responsive.js +1 -1
  60. package/dist/modern/components/closer/Component.js +1 -1
  61. package/dist/modern/components/closer/index.css +8 -8
  62. package/dist/modern/components/content/Component.desktop.js +1 -1
  63. package/dist/modern/components/content/Component.mobile.js +1 -1
  64. package/dist/modern/components/content/desktop.css +12 -19
  65. package/dist/modern/components/content/mobile.css +7 -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 +12 -19
  70. package/dist/modern/components/footer/layout.css +25 -25
  71. package/dist/modern/components/footer/mobile.css +7 -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 +16 -23
  75. package/dist/modern/components/header/mobile.css +11 -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-0af128f1.js +4 -0
  84. package/dist/responsive.js +2 -2
  85. package/dist/transitions.css +8 -8
  86. package/dist/transitions.module-ac43ebc6.js +6 -0
  87. package/dist/{tslib.es6-201c0358.d.ts → tslib.es6-6205675e.d.ts} +0 -0
  88. package/dist/{tslib.es6-201c0358.js → tslib.es6-6205675e.js} +0 -0
  89. package/package.json +3 -3
  90. package/dist/esm/transitions.module-7a80e043.js +0 -4
  91. package/dist/modern/transitions.module-7a80e043.js +0 -4
  92. package/dist/transitions.module-b1f4dde5.js +0 -6
@@ -1,4 +1,4 @@
1
- /* hash: 1khuf */
1
+ /* hash: 1a5jb */
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_118zk {
38
+ }.modal__header_vp1kk {
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_118zk {
46
+ }.modal__highlighted_vp1kk {
47
47
  background: var(--modal-header-highlight-background);
48
48
  box-shadow: var(--modal-header-highlight-box-shadow);
49
- }.modal__sticky_118zk {
49
+ }.modal__sticky_vp1kk {
50
50
  position: sticky;
51
- }.modal__content_118zk {
51
+ }.modal__content_vp1kk {
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_118zk {
59
+ }.modal__title_vp1kk {
60
60
  word-break: break-word;
61
61
  }
62
62
  :root {
@@ -177,19 +177,12 @@
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
180
  --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
182
- --color-static-status-green-tint-90: rgb(231, 246, 239);
183
181
  --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
184
- --color-static-status-grey-tint-90: rgb(240, 242, 243);
185
182
  --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
186
- --color-static-status-orange-tint-90: rgb(252, 240, 230);
187
183
  --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
188
- --color-static-status-purple-tint-90: rgb(240, 235, 248);
189
184
  --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
190
- --color-static-status-red-tint-90: rgb(251, 232, 231);
191
185
  --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
192
- --color-static-status-teal-tint-90: rgb(233, 244, 243);
193
186
  --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
194
187
  }
195
188
  :root {
@@ -621,7 +614,7 @@
621
614
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
622
615
  --modal-footer-highlight-background: var(--color-light-bg-primary);
623
616
  }
624
- .modal__header_191d7 {
617
+ .modal__header_dzsyt {
625
618
 
626
619
  text-align: center;
627
620
  flex-direction: row-reverse;
@@ -629,13 +622,13 @@
629
622
  padding-right: var(--gap-4xl);
630
623
  padding-left: 0;
631
624
  }
632
- .modal__sticky_191d7 {
625
+ .modal__sticky_dzsyt {
633
626
 
634
627
  top: 0;
635
628
  }
636
- .modal__highlighted_191d7 {
629
+ .modal__highlighted_dzsyt {
637
630
  }
638
- .modal__content_191d7 {
631
+ .modal__content_dzsyt {
639
632
  }
640
- .modal__title_191d7 {
633
+ .modal__title_dzsyt {
641
634
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1vama */
1
+ /* hash: 10fj5 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,29 +30,29 @@
30
30
 
31
31
  /* scroll */
32
32
  }
33
- .modal__wrapper_nzo1c {
33
+ .modal__wrapper_1ffiq {
34
34
  padding-top: var(--modal-vertical-padding);
35
35
  padding-bottom: var(--modal-vertical-padding);
36
36
  }
37
- .modal__component_nzo1c {
37
+ .modal__component_1ffiq {
38
38
  width: 100%;
39
39
  max-width: 100%;
40
40
  border-radius: var(--modal-border-radius);
41
41
  }
42
- .modal__fullscreen_nzo1c {
42
+ .modal__fullscreen_1ffiq {
43
43
  padding-top: 0;
44
44
  padding-bottom: 0
45
45
  }
46
- .modal__fullscreen_nzo1c .modal__component_nzo1c {
46
+ .modal__fullscreen_1ffiq .modal__component_1ffiq {
47
47
  flex: 1;
48
48
  border-radius: 0;
49
49
  }
50
- .modal__s_nzo1c {
50
+ .modal__s_1ffiq {
51
51
  width: var(--modal-s-width);
52
52
  }
53
- .modal__m_nzo1c {
53
+ .modal__m_1ffiq {
54
54
  width: var(--modal-m-width);
55
55
  }
56
- .modal__l_nzo1c {
56
+ .modal__l_1ffiq {
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-7a80e043.js';
15
+ import './transitions.module-0af128f1.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-7a80e043.js';
15
+ import './transitions.module-0af128f1.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: 1i23f */
1
+ /* hash: 886n6 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* scroll */
21
21
  }
22
- .modal__component_ys9oh {
22
+ .modal__component_17xx7 {
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-7a80e043.js';
10
+ import './transitions.module-0af128f1.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-7a80e043.js';
15
+ import './transitions.module-0af128f1.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: 1jlzy */
2
- .modal__appear_1bcll,
3
- .modal__enter_1bcll {
1
+ /* hash: 9s36r */
2
+ .modal__appear_1ki94,
3
+ .modal__enter_1ki94 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_1bcll,
9
- .modal__enterActive_1bcll {
8
+ .modal__appearActive_1ki94,
9
+ .modal__enterActive_1ki94 {
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_1bcll {
15
+ .modal__exit_1ki94 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_1bcll,
21
- .modal__exitDone_1bcll {
20
+ .modal__exitActive_1ki94,
21
+ .modal__exitDone_1ki94 {
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_1ki94","enter":"modal__enter_1ki94","appearActive":"modal__appearActive_1ki94","enterActive":"modal__enterActive_1ki94","exit":"modal__exit_1ki94","exitActive":"modal__exitActive_1ki94","exitDone":"modal__exitDone_1ki94"};
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-201c0358.js');
5
+ require('./tslib.es6-6205675e.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-b1f4dde5.js');
20
+ require('./transitions.module-ac43ebc6.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: 1jlzy */
2
- .modal__appear_1bcll,
3
- .modal__enter_1bcll {
1
+ /* hash: 9s36r */
2
+ .modal__appear_1ki94,
3
+ .modal__enter_1ki94 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_1bcll,
9
- .modal__enterActive_1bcll {
8
+ .modal__appearActive_1ki94,
9
+ .modal__enterActive_1ki94 {
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_1bcll {
15
+ .modal__exit_1ki94 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_1bcll,
21
- .modal__exitDone_1bcll {
20
+ .modal__exitActive_1ki94,
21
+ .modal__exitDone_1ki94 {
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_1ki94","enter":"modal__enter_1ki94","appearActive":"modal__appearActive_1ki94","enterActive":"modal__enterActive_1ki94","exit":"modal__exit_1ki94","exitActive":"modal__exitActive_1ki94","exitDone":"modal__exitDone_1ki94"};
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": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Modal component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-base-modal": "^3.0.2",
18
+ "@alfalab/core-components-base-modal": "^3.1.0",
19
19
  "@alfalab/core-components-button": "^5.0.3",
20
20
  "@alfalab/core-components-mq": "1.0.0",
21
21
  "classnames": "^2.2.6",
@@ -27,5 +27,5 @@
27
27
  "peerDependencies": {
28
28
  "react": "^16.9.0 || ^17.0.1"
29
29
  },
30
- "gitHead": "94999e533968aa575e92106dffa8bbbb8e7ac71d"
30
+ "gitHead": "d35b2d43cbc90ecb7665c682a2de13733bc03eb0"
31
31
  }
@@ -1,4 +0,0 @@
1
- var transitions = {"appear":"modal__appear_1bcll","enter":"modal__enter_1bcll","appearActive":"modal__appearActive_1bcll","enterActive":"modal__enterActive_1bcll","exit":"modal__exit_1bcll","exitActive":"modal__exitActive_1bcll","exitDone":"modal__exitDone_1bcll"};
2
- require('./transitions.css')
3
-
4
- export { transitions as t };
@@ -1,4 +0,0 @@
1
- var transitions = {"appear":"modal__appear_1bcll","enter":"modal__enter_1bcll","appearActive":"modal__appearActive_1bcll","enterActive":"modal__enterActive_1bcll","exit":"modal__exit_1bcll","exitActive":"modal__exitActive_1bcll","exitDone":"modal__exitDone_1bcll"};
2
- require('./transitions.css')
3
-
4
- export { transitions as t };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var transitions = {"appear":"modal__appear_1bcll","enter":"modal__enter_1bcll","appearActive":"modal__appearActive_1bcll","enterActive":"modal__enterActive_1bcll","exit":"modal__exit_1bcll","exitActive":"modal__exitActive_1bcll","exitDone":"modal__exitDone_1bcll"};
4
- require('./transitions.css')
5
-
6
- exports.transitions = transitions;