@alfalab/core-components-side-panel 7.0.4 → 7.0.5

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 (166) hide show
  1. package/Component.responsive.d.ts +11 -11
  2. package/Context.d.ts +0 -1
  3. package/components/content/Component.d.ts +1 -1
  4. package/components/content/Component.desktop.d.ts +1 -1
  5. package/components/content/Component.mobile.d.ts +1 -1
  6. package/components/content/desktop.css +2 -2
  7. package/components/content/desktop.module.css.js +1 -1
  8. package/components/content/index.css +3 -3
  9. package/components/content/index.module.css.js +1 -1
  10. package/components/content/mobile.css +2 -2
  11. package/components/content/mobile.module.css.js +1 -1
  12. package/components/controls/index.css +1 -1
  13. package/components/controls/index.module.css.js +1 -1
  14. package/components/footer/Component.d.ts +1 -1
  15. package/components/footer/Component.desktop.d.ts +1 -1
  16. package/components/footer/Component.mobile.d.ts +1 -1
  17. package/components/footer/desktop.css +2 -2
  18. package/components/footer/desktop.module.css.js +1 -1
  19. package/components/footer/index.css +3 -3
  20. package/components/footer/index.module.css.js +1 -1
  21. package/components/footer/layout.css +16 -16
  22. package/components/footer/layout.module.css.js +1 -1
  23. package/components/footer/mobile.css +3 -3
  24. package/components/footer/mobile.module.css.js +1 -1
  25. package/components/footer/mobile.module.css.js.map +1 -1
  26. package/components/header/Component.d.ts +1 -1
  27. package/components/header/desktop.css +3 -3
  28. package/components/header/desktop.module.css.js +1 -1
  29. package/components/header/index.css +13 -13
  30. package/components/header/index.module.css.js +1 -1
  31. package/components/header/mobile.css +4 -4
  32. package/components/header/mobile.module.css.js +1 -1
  33. package/cssm/Component.responsive.d.ts +11 -11
  34. package/cssm/Context.d.ts +0 -1
  35. package/cssm/components/content/Component.d.ts +1 -1
  36. package/cssm/components/content/Component.desktop.d.ts +1 -1
  37. package/cssm/components/content/Component.mobile.d.ts +1 -1
  38. package/cssm/components/footer/Component.d.ts +1 -1
  39. package/cssm/components/footer/Component.desktop.d.ts +1 -1
  40. package/cssm/components/footer/Component.mobile.d.ts +1 -1
  41. package/cssm/components/header/Component.d.ts +1 -1
  42. package/cssm/desktop/Component.desktop.d.ts +6 -6
  43. package/cssm/desktop/Component.desktop.js +3 -1
  44. package/cssm/desktop/Component.desktop.js.map +1 -1
  45. package/cssm/mobile/Component.mobile.d.ts +3 -3
  46. package/cssm/typings.d.ts +2 -2
  47. package/desktop/Component.desktop.d.ts +6 -6
  48. package/desktop/Component.desktop.js +3 -1
  49. package/desktop/Component.desktop.js.map +1 -1
  50. package/desktop/desktop.css +2 -2
  51. package/desktop/desktop.module.css.js +1 -1
  52. package/desktop/transitions.desktop.css +6 -6
  53. package/desktop/transitions.desktop.module.css.js +1 -1
  54. package/esm/Component.responsive.d.ts +11 -11
  55. package/esm/Context.d.ts +0 -1
  56. package/esm/components/content/Component.d.ts +1 -1
  57. package/esm/components/content/Component.desktop.d.ts +1 -1
  58. package/esm/components/content/Component.mobile.d.ts +1 -1
  59. package/esm/components/content/desktop.css +2 -2
  60. package/esm/components/content/desktop.module.css.js +1 -1
  61. package/esm/components/content/index.css +3 -3
  62. package/esm/components/content/index.module.css.js +1 -1
  63. package/esm/components/content/mobile.css +2 -2
  64. package/esm/components/content/mobile.module.css.js +1 -1
  65. package/esm/components/controls/index.css +1 -1
  66. package/esm/components/controls/index.module.css.js +1 -1
  67. package/esm/components/footer/Component.d.ts +1 -1
  68. package/esm/components/footer/Component.desktop.d.ts +1 -1
  69. package/esm/components/footer/Component.mobile.d.ts +1 -1
  70. package/esm/components/footer/desktop.css +2 -2
  71. package/esm/components/footer/desktop.module.css.js +1 -1
  72. package/esm/components/footer/index.css +3 -3
  73. package/esm/components/footer/index.module.css.js +1 -1
  74. package/esm/components/footer/layout.css +16 -16
  75. package/esm/components/footer/layout.module.css.js +1 -1
  76. package/esm/components/footer/mobile.css +3 -3
  77. package/esm/components/footer/mobile.module.css.js +1 -1
  78. package/esm/components/footer/mobile.module.css.js.map +1 -1
  79. package/esm/components/header/Component.d.ts +1 -1
  80. package/esm/components/header/desktop.css +3 -3
  81. package/esm/components/header/desktop.module.css.js +1 -1
  82. package/esm/components/header/index.css +13 -13
  83. package/esm/components/header/index.module.css.js +1 -1
  84. package/esm/components/header/mobile.css +4 -4
  85. package/esm/components/header/mobile.module.css.js +1 -1
  86. package/esm/desktop/Component.desktop.d.ts +6 -6
  87. package/esm/desktop/Component.desktop.js +3 -1
  88. package/esm/desktop/Component.desktop.js.map +1 -1
  89. package/esm/desktop/desktop.css +2 -2
  90. package/esm/desktop/desktop.module.css.js +1 -1
  91. package/esm/desktop/transitions.desktop.css +6 -6
  92. package/esm/desktop/transitions.desktop.module.css.js +1 -1
  93. package/esm/mobile/Component.mobile.d.ts +3 -3
  94. package/esm/mobile/mobile.css +4 -4
  95. package/esm/mobile/mobile.module.css.js +1 -1
  96. package/esm/mobile/transitions.mobile.css +7 -7
  97. package/esm/mobile/transitions.mobile.module.css.js +1 -1
  98. package/esm/typings.d.ts +2 -2
  99. package/mobile/Component.mobile.d.ts +3 -3
  100. package/mobile/mobile.css +4 -4
  101. package/mobile/mobile.module.css.js +1 -1
  102. package/mobile/transitions.mobile.css +7 -7
  103. package/mobile/transitions.mobile.module.css.js +1 -1
  104. package/modern/Component.responsive.d.ts +11 -11
  105. package/modern/Context.d.ts +0 -1
  106. package/modern/components/content/Component.d.ts +1 -1
  107. package/modern/components/content/Component.desktop.d.ts +1 -1
  108. package/modern/components/content/Component.mobile.d.ts +1 -1
  109. package/modern/components/content/desktop.css +2 -2
  110. package/modern/components/content/desktop.module.css.js +1 -1
  111. package/modern/components/content/index.css +3 -3
  112. package/modern/components/content/index.module.css.js +1 -1
  113. package/modern/components/content/mobile.css +2 -2
  114. package/modern/components/content/mobile.module.css.js +1 -1
  115. package/modern/components/controls/index.css +1 -1
  116. package/modern/components/controls/index.module.css.js +1 -1
  117. package/modern/components/footer/Component.d.ts +1 -1
  118. package/modern/components/footer/Component.desktop.d.ts +1 -1
  119. package/modern/components/footer/Component.mobile.d.ts +1 -1
  120. package/modern/components/footer/desktop.css +2 -2
  121. package/modern/components/footer/desktop.module.css.js +1 -1
  122. package/modern/components/footer/index.css +3 -3
  123. package/modern/components/footer/index.module.css.js +1 -1
  124. package/modern/components/footer/layout.css +16 -16
  125. package/modern/components/footer/layout.module.css.js +1 -1
  126. package/modern/components/footer/mobile.css +3 -3
  127. package/modern/components/footer/mobile.module.css.js +1 -1
  128. package/modern/components/footer/mobile.module.css.js.map +1 -1
  129. package/modern/components/header/Component.d.ts +1 -1
  130. package/modern/components/header/desktop.css +3 -3
  131. package/modern/components/header/desktop.module.css.js +1 -1
  132. package/modern/components/header/index.css +13 -13
  133. package/modern/components/header/index.module.css.js +1 -1
  134. package/modern/components/header/mobile.css +4 -4
  135. package/modern/components/header/mobile.module.css.js +1 -1
  136. package/modern/desktop/Component.desktop.d.ts +6 -6
  137. package/modern/desktop/Component.desktop.js +3 -1
  138. package/modern/desktop/Component.desktop.js.map +1 -1
  139. package/modern/desktop/desktop.css +2 -2
  140. package/modern/desktop/desktop.module.css.js +1 -1
  141. package/modern/desktop/transitions.desktop.css +6 -6
  142. package/modern/desktop/transitions.desktop.module.css.js +1 -1
  143. package/modern/mobile/Component.mobile.d.ts +3 -3
  144. package/modern/mobile/mobile.css +4 -4
  145. package/modern/mobile/mobile.module.css.js +1 -1
  146. package/modern/mobile/transitions.mobile.css +7 -7
  147. package/modern/mobile/transitions.mobile.module.css.js +1 -1
  148. package/modern/typings.d.ts +2 -2
  149. package/moderncssm/Component.responsive.d.ts +11 -11
  150. package/moderncssm/Context.d.ts +0 -1
  151. package/moderncssm/components/content/Component.d.ts +1 -1
  152. package/moderncssm/components/content/Component.desktop.d.ts +1 -1
  153. package/moderncssm/components/content/Component.mobile.d.ts +1 -1
  154. package/moderncssm/components/footer/Component.d.ts +1 -1
  155. package/moderncssm/components/footer/Component.desktop.d.ts +1 -1
  156. package/moderncssm/components/footer/Component.mobile.d.ts +1 -1
  157. package/moderncssm/components/header/Component.d.ts +1 -1
  158. package/moderncssm/desktop/Component.desktop.d.ts +6 -6
  159. package/moderncssm/desktop/Component.desktop.js +3 -1
  160. package/moderncssm/desktop/Component.desktop.js.map +1 -1
  161. package/moderncssm/mobile/Component.mobile.d.ts +3 -3
  162. package/moderncssm/typings.d.ts +2 -2
  163. package/package.json +7 -7
  164. package/src/desktop/Component.desktop.tsx +3 -1
  165. package/src/vars.css +1 -1
  166. package/typings.d.ts +2 -2
@@ -9,48 +9,48 @@
9
9
  :root {
10
10
  --side-panel-footer-default-gap: var(--gap-16);
11
11
  }
12
- .side-panel__column_zfd9n {
12
+ .side-panel__column_1w9gh {
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  }
16
- .side-panel__column_zfd9n > *:not(:last-child):not(:only-child) {
16
+ .side-panel__column_1w9gh > *:not(:last-child):not(:only-child) {
17
17
  margin-bottom: var(--side-panel-footer-default-gap);
18
18
  }
19
- .side-panel__column_zfd9n.side-panel__gap-16_zfd9n > *:not(:last-child):not(:only-child) {
19
+ .side-panel__column_1w9gh.side-panel__gap-16_1w9gh > *:not(:last-child):not(:only-child) {
20
20
  margin-bottom: var(--gap-16);
21
21
  }
22
- .side-panel__column_zfd9n.side-panel__gap-24_zfd9n > *:not(:last-child):not(:only-child) {
22
+ .side-panel__column_1w9gh.side-panel__gap-24_1w9gh > *:not(:last-child):not(:only-child) {
23
23
  margin-bottom: var(--gap-24);
24
24
  }
25
- .side-panel__column_zfd9n.side-panel__gap-32_zfd9n > *:not(:last-child):not(:only-child) {
25
+ .side-panel__column_1w9gh.side-panel__gap-32_1w9gh > *:not(:last-child):not(:only-child) {
26
26
  margin-bottom: var(--gap-32);
27
27
  }
28
- .side-panel__start_zfd9n {
28
+ .side-panel__start_1w9gh {
29
29
  justify-content: flex-start;
30
30
  }
31
- .side-panel__center_zfd9n {
31
+ .side-panel__center_1w9gh {
32
32
  justify-content: center;
33
33
  }
34
- .side-panel__space-between_zfd9n {
34
+ .side-panel__space-between_1w9gh {
35
35
  justify-content: space-between;
36
36
  }
37
- .side-panel__space-between_zfd9n > * {
37
+ .side-panel__space-between_1w9gh > * {
38
38
  flex: 1;
39
39
  }
40
- .side-panel__start_zfd9n,
41
- .side-panel__center_zfd9n,
42
- .side-panel__space-between_zfd9n {
40
+ .side-panel__start_1w9gh,
41
+ .side-panel__center_1w9gh,
42
+ .side-panel__space-between_1w9gh {
43
43
  display: flex;
44
44
  }
45
- .side-panel__start_zfd9n > *:not(:last-child):not(:only-child), .side-panel__center_zfd9n > *:not(:last-child):not(:only-child), .side-panel__space-between_zfd9n > *:not(:last-child):not(:only-child) {
45
+ .side-panel__start_1w9gh > *:not(:last-child):not(:only-child), .side-panel__center_1w9gh > *:not(:last-child):not(:only-child), .side-panel__space-between_1w9gh > *:not(:last-child):not(:only-child) {
46
46
  margin-right: var(--side-panel-footer-default-gap);
47
47
  }
48
- .side-panel__start_zfd9n.side-panel__gap-16_zfd9n > *:not(:last-child):not(:only-child), .side-panel__center_zfd9n.side-panel__gap-16_zfd9n > *:not(:last-child):not(:only-child), .side-panel__space-between_zfd9n.side-panel__gap-16_zfd9n > *:not(:last-child):not(:only-child) {
48
+ .side-panel__start_1w9gh.side-panel__gap-16_1w9gh > *:not(:last-child):not(:only-child), .side-panel__center_1w9gh.side-panel__gap-16_1w9gh > *:not(:last-child):not(:only-child), .side-panel__space-between_1w9gh.side-panel__gap-16_1w9gh > *:not(:last-child):not(:only-child) {
49
49
  margin-right: var(--gap-16);
50
50
  }
51
- .side-panel__start_zfd9n.side-panel__gap-24_zfd9n > *:not(:last-child):not(:only-child), .side-panel__center_zfd9n.side-panel__gap-24_zfd9n > *:not(:last-child):not(:only-child), .side-panel__space-between_zfd9n.side-panel__gap-24_zfd9n > *:not(:last-child):not(:only-child) {
51
+ .side-panel__start_1w9gh.side-panel__gap-24_1w9gh > *:not(:last-child):not(:only-child), .side-panel__center_1w9gh.side-panel__gap-24_1w9gh > *:not(:last-child):not(:only-child), .side-panel__space-between_1w9gh.side-panel__gap-24_1w9gh > *:not(:last-child):not(:only-child) {
52
52
  margin-right: var(--gap-24);
53
53
  }
54
- .side-panel__start_zfd9n.side-panel__gap-32_zfd9n > *:not(:last-child):not(:only-child), .side-panel__center_zfd9n.side-panel__gap-32_zfd9n > *:not(:last-child):not(:only-child), .side-panel__space-between_zfd9n.side-panel__gap-32_zfd9n > *:not(:last-child):not(:only-child) {
54
+ .side-panel__start_1w9gh.side-panel__gap-32_1w9gh > *:not(:last-child):not(:only-child), .side-panel__center_1w9gh.side-panel__gap-32_1w9gh > *:not(:last-child):not(:only-child), .side-panel__space-between_1w9gh.side-panel__gap-32_1w9gh > *:not(:last-child):not(:only-child) {
55
55
  margin-right: var(--gap-32);
56
56
  }
@@ -1,6 +1,6 @@
1
1
  import './layout.css';
2
2
 
3
- var layoutStyles = {"column":"side-panel__column_zfd9n","gap-16":"side-panel__gap-16_zfd9n","gap-24":"side-panel__gap-24_zfd9n","gap-32":"side-panel__gap-32_zfd9n","start":"side-panel__start_zfd9n","center":"side-panel__center_zfd9n","space-between":"side-panel__space-between_zfd9n"};
3
+ var layoutStyles = {"column":"side-panel__column_1w9gh","gap-16":"side-panel__gap-16_1w9gh","gap-24":"side-panel__gap-24_1w9gh","gap-32":"side-panel__gap-32_1w9gh","start":"side-panel__start_1w9gh","center":"side-panel__center_1w9gh","space-between":"side-panel__space-between_1w9gh"};
4
4
 
5
5
  export { layoutStyles as default };
6
6
  //# sourceMappingURL=layout.module.css.js.map
@@ -6,14 +6,14 @@
6
6
  --gap-0: 0px;
7
7
  --gap-16: var(--gap-m);
8
8
  }
9
- .side-panel__footer_1x9qs {
9
+ .side-panel__footer_31br {
10
10
  padding: var(--gap-16);
11
11
  }
12
12
  @media (display-mode: standalone) {
13
- .side-panel__footer_1x9qs {
13
+ .side-panel__footer_31br {
14
14
  padding-bottom: calc(var(--sab) + var(--gap-16));
15
15
  }
16
16
  }
17
- .side-panel__sticky_1x9qs {
17
+ .side-panel__sticky_31br {
18
18
  bottom: var(--gap-0);
19
19
  }
@@ -1,6 +1,6 @@
1
1
  import './mobile.css';
2
2
 
3
- var styles = {"footer":"side-panel__footer_1x9qs","sticky":"side-panel__sticky_1x9qs"};
3
+ var styles = {"footer":"side-panel__footer_31br","sticky":"side-panel__sticky_31br"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=mobile.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mobile.module.css.js","sources":["../../src/components/footer/mobile.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/safe-area.css';\n@import '../../vars.css';\n\n.footer {\n padding: var(--gap-16);\n\n @media (display-mode: standalone) {\n padding-bottom: calc(var(--sab) + var(--gap-16));\n }\n}\n\n.sticky {\n bottom: var(--gap-0);\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,QAAQ,CAAC,0BAA0B,CAAC,QAAQ,CAAC,0BAA0B,CAAC;;;;"}
1
+ {"version":3,"file":"mobile.module.css.js","sources":["../../src/components/footer/mobile.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/safe-area.css';\n@import '../../vars.css';\n\n.footer {\n padding: var(--gap-16);\n\n @media (display-mode: standalone) {\n padding-bottom: calc(var(--sab) + var(--gap-16));\n }\n}\n\n.sticky {\n bottom: var(--gap-0);\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,QAAQ,CAAC,yBAAyB,CAAC,QAAQ,CAAC,yBAAyB,CAAC;;;;"}
@@ -1,4 +1,4 @@
1
1
  import { type FC } from 'react';
2
2
  import { type NavigationBarPrivateProps } from '@alfalab/core-components-navigation-bar-private/esm';
3
- export declare type HeaderProps = Omit<NavigationBarPrivateProps, 'size' | 'view' | 'parentRef'>;
3
+ export type HeaderProps = Omit<NavigationBarPrivateProps, 'size' | 'view' | 'parentRef'>;
4
4
  export declare const Header: FC<HeaderProps>;
@@ -14,16 +14,16 @@
14
14
  --side-panel-s-header-paddings: 28px 28px var(--gap-0);
15
15
  --side-panel-s-header-desktop-content-paddings: var(--gap-6) var(--gap-12) var(--gap-16);
16
16
  }
17
- .side-panel__size-500_1ymhr .side-panel__content_1ymhr {
17
+ .side-panel__size-500_ar6hi .side-panel__content_ar6hi {
18
18
  padding: var(--side-panel-s-header-desktop-content-paddings);
19
19
  font-size: 30px;
20
20
  line-height: 36px;
21
21
  font-weight: 700;
22
22
  font-family: var(--font-family-system);
23
23
  }
24
- .side-panel__size-500_1ymhr {
24
+ .side-panel__size-500_ar6hi {
25
25
  padding: var(--side-panel-s-header-paddings);
26
26
  }
27
- .side-panel__sticky_1ymhr {
27
+ .side-panel__sticky_ar6hi {
28
28
  top: var(--gap-0);
29
29
  }
@@ -1,6 +1,6 @@
1
1
  import './desktop.css';
2
2
 
3
- var desktopStyles = {"size-500":"side-panel__size-500_1ymhr","content":"side-panel__content_1ymhr","sticky":"side-panel__sticky_1ymhr"};
3
+ var desktopStyles = {"size-500":"side-panel__size-500_ar6hi","content":"side-panel__content_ar6hi","sticky":"side-panel__sticky_ar6hi"};
4
4
 
5
5
  export { desktopStyles as default };
6
6
  //# sourceMappingURL=desktop.module.css.js.map
@@ -7,38 +7,38 @@
7
7
  --side-panel-header-highlight-background: var(--color-light-modal-bg-primary);
8
8
  --side-panel-header-highlight-box-shadow: 0 1px 0 0 var(--color-light-neutral-300);
9
9
  }
10
- .side-panel__header_1fdwl {
10
+ .side-panel__header_1qjpd {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  transition:
14
14
  box-shadow 0.2s ease,
15
15
  background 0.2s ease;
16
16
  }
17
- .side-panel__header_1fdwl:not(.side-panel__hasContent_1fdwl) {
17
+ .side-panel__header_1qjpd:not(.side-panel__hasContent_1qjpd) {
18
18
  pointer-events: none;
19
19
  }
20
- .side-panel__highlighted_1fdwl {
20
+ .side-panel__highlighted_1qjpd {
21
21
  background: var(--side-panel-header-highlight-background);
22
22
  box-shadow: var(--side-panel-header-highlight-box-shadow);
23
23
  }
24
- .side-panel__sticky_1fdwl {
24
+ .side-panel__sticky_1qjpd {
25
25
  position: sticky;
26
26
  z-index: 1;
27
27
  }
28
- .side-panel__sticky_1fdwl.side-panel__hasContent_1fdwl {
28
+ .side-panel__sticky_1qjpd.side-panel__hasContent_1qjpd {
29
29
  background: var(--side-panel-header-background);
30
30
  }
31
- .side-panel__header_1fdwl.side-panel__backgroundImage_1fdwl {
31
+ .side-panel__header_1qjpd.side-panel__backgroundImage_1qjpd {
32
32
  background: center no-repeat;
33
33
  background-size: cover;
34
34
  }
35
- .side-panel__content_1fdwl {
35
+ .side-panel__content_1qjpd {
36
36
  flex-grow: 1;
37
37
  }
38
- .side-panel__title_1fdwl {
38
+ .side-panel__title_1qjpd {
39
39
  word-break: break-word;
40
40
  }
41
- .side-panel__addon_1fdwl {
41
+ .side-panel__addon_1qjpd {
42
42
  min-width: 48px;
43
43
  height: 48px;
44
44
  display: flex;
@@ -46,17 +46,17 @@
46
46
  align-items: center;
47
47
  pointer-events: all;
48
48
  }
49
- .side-panel__closer_1fdwl {
49
+ .side-panel__closer_1qjpd {
50
50
  margin-left: auto;
51
51
  }
52
- .side-panel__right_1fdwl {
52
+ .side-panel__right_1qjpd {
53
53
  justify-content: flex-end;
54
54
  text-align: right;
55
55
  }
56
- .side-panel__trim_1fdwl {
56
+ .side-panel__trim_1qjpd {
57
57
  overflow: hidden;
58
58
  }
59
- .side-panel__trim_1fdwl .side-panel__title_1fdwl {
59
+ .side-panel__trim_1qjpd .side-panel__title_1qjpd {
60
60
  overflow: hidden;
61
61
  white-space: nowrap;
62
62
  text-overflow: ellipsis;
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"header":"side-panel__header_1fdwl","hasContent":"side-panel__hasContent_1fdwl","highlighted":"side-panel__highlighted_1fdwl","sticky":"side-panel__sticky_1fdwl"};
3
+ var styles = {"header":"side-panel__header_1qjpd","hasContent":"side-panel__hasContent_1qjpd","highlighted":"side-panel__highlighted_1qjpd","sticky":"side-panel__sticky_1qjpd"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -19,18 +19,18 @@
19
19
  --side-panel-header-mobile-paddings: var(--side-panel-header-mobile-top-padding) var(--gap-8)
20
20
  var(--gap-4) var(--gap-8);
21
21
  }
22
- .side-panel__header_1bi61 {
22
+ .side-panel__header_1d9mc {
23
23
  padding: var(--side-panel-header-mobile-paddings);
24
24
  }
25
25
  @media (display-mode: standalone) {
26
- .side-panel__header_1bi61 {
26
+ .side-panel__header_1d9mc {
27
27
  padding-top: calc(var(--sat) + var(--side-panel-header-mobile-top-padding));
28
28
  }
29
29
  }
30
- .side-panel__sticky_1bi61 {
30
+ .side-panel__sticky_1d9mc {
31
31
  top: var(--gap-0);
32
32
  }
33
- .side-panel__content_1bi61 {
33
+ .side-panel__content_1d9mc {
34
34
  padding: var(--side-panel-header-mobile-content-paddings);
35
35
 
36
36
  font-size: 20px;
@@ -1,6 +1,6 @@
1
1
  import './mobile.css';
2
2
 
3
- var mobileStyles = {"header":"side-panel__header_1bi61","sticky":"side-panel__sticky_1bi61","content":"side-panel__content_1bi61"};
3
+ var mobileStyles = {"header":"side-panel__header_1d9mc","sticky":"side-panel__sticky_1d9mc","content":"side-panel__content_1d9mc"};
4
4
 
5
5
  export { mobileStyles as default };
6
6
  //# sourceMappingURL=mobile.module.css.js.map
@@ -5,7 +5,7 @@ import { ContentDesktop } from '../components/content/Component.desktop';
5
5
  import { type ControlsProps } from '../components/controls';
6
6
  import { FooterDesktop } from '../components/footer/Component.desktop';
7
7
  import { type HeaderProps } from '../components/header/Component';
8
- export declare type SidePanelDesktopProps = BaseModalProps & Pick<DrawerProps, 'placement' | 'nativeScrollbar' | 'contentTransitionProps'> & {
8
+ export type SidePanelDesktopProps = BaseModalProps & Pick<DrawerProps, 'placement' | 'nativeScrollbar' | 'contentTransitionProps'> & {
9
9
  /**
10
10
  * Ширина модального окна
11
11
  * @default "s"
@@ -22,26 +22,26 @@ declare const SidePanelDesktopComponent: React.ForwardRefExoticComponent<BaseMod
22
22
  * Ширина модального окна
23
23
  * @default "s"
24
24
  */
25
- size?: "s" | 500 | undefined;
25
+ size?: "s" | 500;
26
26
  /**
27
27
  * Управление наличием закрывающего крестика
28
28
  * @default false
29
29
  */
30
- hasCloser?: boolean | undefined;
30
+ hasCloser?: boolean;
31
31
  } & React.RefAttributes<HTMLDivElement>>;
32
- declare const HeaderDesktop: React.FC<Omit<HeaderProps, "subtitle" | "titleSize">>;
32
+ declare const HeaderDesktop: React.FC<Omit<HeaderProps, "titleSize" | "subtitle">>;
33
33
  declare const ControlsDesktop: React.FC<Omit<ControlsProps, "mobileLayout">>;
34
34
  declare const SidePanelDesktop: React.ForwardRefExoticComponent<BaseModalProps & Pick<DrawerProps, "placement" | "nativeScrollbar" | "contentTransitionProps"> & {
35
35
  /**
36
36
  * Ширина модального окна
37
37
  * @default "s"
38
38
  */
39
- size?: "s" | 500 | undefined;
39
+ size?: "s" | 500;
40
40
  /**
41
41
  * Управление наличием закрывающего крестика
42
42
  * @default false
43
43
  */
44
- hasCloser?: boolean | undefined;
44
+ hasCloser?: boolean;
45
45
  } & React.RefAttributes<HTMLDivElement>> & {
46
46
  Content: React.FC<import("../components/content/Component.desktop").ContentDesktopProps>;
47
47
  Header: React.FC<Omit<HeaderProps, "subtitle" | "titleSize">>;
@@ -35,7 +35,9 @@ var SidePanelDesktopComponent = forwardRef(function (_a, ref) {
35
35
  exitActive: exitCn,
36
36
  exitDone: exitCn,
37
37
  } }, contentTransitionProps) }), React.Children.map(children, function (child) {
38
- return isValidElement(child) ? cloneElement(child, { size: size }) : child;
38
+ return isValidElement(child)
39
+ ? cloneElement(child, { size: size })
40
+ : child;
39
41
  }))); };
40
42
  var renderWithContext = function () { return (React.createElement(ResponsiveContext.Provider, { value: contextValue }, renderContent())); };
41
43
  return responsiveContext ? renderContent() : renderWithContext();
@@ -1 +1 @@
1
- {"version":3,"file":"Component.desktop.js","sources":["../../src/desktop/Component.desktop.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, isValidElement, useContext, useRef } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { type BaseModalProps } from '@alfalab/core-components-base-modal';\nimport { Drawer, type DrawerProps } from '@alfalab/core-components-drawer';\n\nimport { ContentDesktop } from '../components/content/Component.desktop';\nimport { Controls, type ControlsProps } from '../components/controls';\nimport { FooterDesktop } from '../components/footer/Component.desktop';\nimport { Header, type HeaderProps } from '../components/header/Component';\nimport { SIZE_TO_CLASSNAME_MAP } from '../consts';\nimport { ResponsiveContext } from '../ResponsiveContext';\nimport { type TResponsiveModalContext } from '../typings';\n\nimport styles from './desktop.module.css';\nimport transitions from './transitions.desktop.module.css';\n\nexport type SidePanelDesktopProps = BaseModalProps &\n Pick<DrawerProps, 'placement' | 'nativeScrollbar' | 'contentTransitionProps'> & {\n /**\n * Ширина модального окна\n * @default \"s\"\n */\n size?: 's' | 500;\n\n /**\n * Управление наличием закрывающего крестика\n * @default false\n */\n hasCloser?: boolean;\n };\n\nconst SidePanelDesktopComponent = forwardRef<HTMLDivElement, SidePanelDesktopProps>(\n (\n {\n size = 500,\n children,\n className,\n wrapperClassName,\n contentTransitionProps = {},\n backdropProps,\n placement = 'right',\n dataTestId,\n ...restProps\n },\n ref,\n ) => {\n const responsiveContext = useContext(ResponsiveContext);\n const modalRef = useRef<HTMLElement>(null);\n\n const enterCn = cn({\n [transitions.appearRight]: placement === 'right',\n [transitions.appearLeft]: placement === 'left',\n });\n\n const exitCn = cn({\n [transitions.exitActiveRight]: placement === 'right',\n [transitions.exitActiveLeft]: placement === 'left',\n });\n\n const contextValue = React.useMemo<TResponsiveModalContext>(\n () => ({ size, view: 'desktop', dataTestId }),\n [size, dataTestId],\n );\n\n const renderContent = () => (\n <Drawer\n {...restProps}\n dataTestId={dataTestId}\n ref={mergeRefs([ref, modalRef])}\n placement={placement}\n wrapperClassName={wrapperClassName}\n className={cn(className, styles[SIZE_TO_CLASSNAME_MAP[size]], styles.hidden)}\n backdropProps={backdropProps}\n contentTransitionProps={{\n classNames: {\n appear: enterCn,\n enter: enterCn,\n appearActive: transitions.enterActive,\n enterActive: transitions.enterActive,\n exit: transitions.exit,\n exitActive: exitCn,\n exitDone: exitCn,\n },\n ...contentTransitionProps,\n }}\n >\n {React.Children.map(children, (child) =>\n isValidElement(child) ? cloneElement(child, { size }) : child,\n )}\n </Drawer>\n );\n\n const renderWithContext = () => (\n <ResponsiveContext.Provider value={contextValue}>\n {renderContent()}\n </ResponsiveContext.Provider>\n );\n\n return responsiveContext ? renderContent() : renderWithContext();\n },\n);\n\nconst HeaderDesktop = Header as React.FC<Omit<HeaderProps, 'titleSize' | 'subtitle'>>;\nconst ControlsDesktop = Controls as React.FC<Omit<ControlsProps, 'mobileLayout'>>;\n\nconst SidePanelDesktop = Object.assign(SidePanelDesktopComponent, {\n Content: ContentDesktop,\n Header: HeaderDesktop,\n Footer: FooterDesktop,\n Controls: ControlsDesktop,\n});\n\nexport {\n SidePanelDesktop,\n SidePanelDesktopComponent as SidePanelComponentDesktop,\n ContentDesktop,\n HeaderDesktop,\n FooterDesktop,\n ControlsDesktop,\n};\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"Component.desktop.js","sources":["../../src/desktop/Component.desktop.tsx"],"sourcesContent":["import React, { cloneElement, forwardRef, isValidElement, useContext, useRef } from 'react';\nimport mergeRefs from 'react-merge-refs';\nimport cn from 'classnames';\n\nimport { type BaseModalProps } from '@alfalab/core-components-base-modal';\nimport { Drawer, type DrawerProps } from '@alfalab/core-components-drawer';\n\nimport { ContentDesktop } from '../components/content/Component.desktop';\nimport { Controls, type ControlsProps } from '../components/controls';\nimport { FooterDesktop } from '../components/footer/Component.desktop';\nimport { Header, type HeaderProps } from '../components/header/Component';\nimport { SIZE_TO_CLASSNAME_MAP } from '../consts';\nimport { ResponsiveContext } from '../ResponsiveContext';\nimport { type TResponsiveModalContext } from '../typings';\n\nimport styles from './desktop.module.css';\nimport transitions from './transitions.desktop.module.css';\n\nexport type SidePanelDesktopProps = BaseModalProps &\n Pick<DrawerProps, 'placement' | 'nativeScrollbar' | 'contentTransitionProps'> & {\n /**\n * Ширина модального окна\n * @default \"s\"\n */\n size?: 's' | 500;\n\n /**\n * Управление наличием закрывающего крестика\n * @default false\n */\n hasCloser?: boolean;\n };\n\nconst SidePanelDesktopComponent = forwardRef<HTMLDivElement, SidePanelDesktopProps>(\n (\n {\n size = 500,\n children,\n className,\n wrapperClassName,\n contentTransitionProps = {},\n backdropProps,\n placement = 'right',\n dataTestId,\n ...restProps\n },\n ref,\n ) => {\n const responsiveContext = useContext(ResponsiveContext);\n const modalRef = useRef<HTMLElement>(null);\n\n const enterCn = cn({\n [transitions.appearRight]: placement === 'right',\n [transitions.appearLeft]: placement === 'left',\n });\n\n const exitCn = cn({\n [transitions.exitActiveRight]: placement === 'right',\n [transitions.exitActiveLeft]: placement === 'left',\n });\n\n const contextValue = React.useMemo<TResponsiveModalContext>(\n () => ({ size, view: 'desktop', dataTestId }),\n [size, dataTestId],\n );\n\n const renderContent = () => (\n <Drawer\n {...restProps}\n dataTestId={dataTestId}\n ref={mergeRefs([ref, modalRef])}\n placement={placement}\n wrapperClassName={wrapperClassName}\n className={cn(className, styles[SIZE_TO_CLASSNAME_MAP[size]], styles.hidden)}\n backdropProps={backdropProps}\n contentTransitionProps={{\n classNames: {\n appear: enterCn,\n enter: enterCn,\n appearActive: transitions.enterActive,\n enterActive: transitions.enterActive,\n exit: transitions.exit,\n exitActive: exitCn,\n exitDone: exitCn,\n },\n ...contentTransitionProps,\n }}\n >\n {React.Children.map(children, (child) =>\n isValidElement<{ size: unknown }>(child)\n ? cloneElement(child, { size })\n : child,\n )}\n </Drawer>\n );\n\n const renderWithContext = () => (\n <ResponsiveContext.Provider value={contextValue}>\n {renderContent()}\n </ResponsiveContext.Provider>\n );\n\n return responsiveContext ? renderContent() : renderWithContext();\n },\n);\n\nconst HeaderDesktop = Header as React.FC<Omit<HeaderProps, 'titleSize' | 'subtitle'>>;\nconst ControlsDesktop = Controls as React.FC<Omit<ControlsProps, 'mobileLayout'>>;\n\nconst SidePanelDesktop = Object.assign(SidePanelDesktopComponent, {\n Content: ContentDesktop,\n Header: HeaderDesktop,\n Footer: FooterDesktop,\n Controls: ControlsDesktop,\n});\n\nexport {\n SidePanelDesktop,\n SidePanelDesktopComponent as SidePanelComponentDesktop,\n ContentDesktop,\n HeaderDesktop,\n FooterDesktop,\n ControlsDesktop,\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAiCA,IAAM,yBAAyB,GAAG,UAAU,CACxC,UACI,EAUC,EACD,GAAG,EAAA;;AAVC,IAAA,IAAA,YAAU,EAAV,IAAI,GAAG,EAAA,KAAA,MAAA,GAAA,GAAG,KAAA,EACV,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,gBAAgB,GAAA,EAAA,CAAA,gBAAA,EAChB,8BAA2B,EAA3B,sBAAsB,GAAG,EAAA,KAAA,MAAA,GAAA,EAAE,KAAA,EAC3B,aAAa,mBAAA,EACb,EAAA,GAAA,EAAA,CAAA,SAAmB,EAAnB,SAAS,GAAA,EAAA,KAAA,MAAA,GAAG,OAAO,GAAA,EAAA,EACnB,UAAU,GAAA,EAAA,CAAA,UAAA,EACP,SAAS,GAAA,MAAA,CAAA,EAAA,EAThB,2HAUC,CADe;AAIhB,IAAA,IAAM,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC;AACvD,IAAA,IAAM,QAAQ,GAAG,MAAM,CAAc,IAAI,CAAC;IAE1C,IAAM,OAAO,GAAG,EAAE,EAAA,EAAA,GAAA,EAAA;AACd,QAAA,EAAA,CAAC,WAAW,CAAC,WAAW,CAAG,GAAA,SAAS,KAAK,OAAO;AAChD,QAAA,EAAA,CAAC,WAAW,CAAC,UAAU,CAAG,GAAA,SAAS,KAAK,MAAM;YAChD;IAEF,IAAM,MAAM,GAAG,EAAE,EAAA,EAAA,GAAA,EAAA;AACb,QAAA,EAAA,CAAC,WAAW,CAAC,eAAe,CAAG,GAAA,SAAS,KAAK,OAAO;AACpD,QAAA,EAAA,CAAC,WAAW,CAAC,cAAc,CAAG,GAAA,SAAS,KAAK,MAAM;YACpD;AAEF,IAAA,IAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAC9B,YAAM,EAAA,QAAC,EAAE,IAAI,EAAA,IAAA,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAA,UAAA,EAAE,EAAtC,EAAuC,EAC7C,CAAC,IAAI,EAAE,UAAU,CAAC,CACrB;IAED,IAAM,aAAa,GAAG,YAAA,EAAM,QACxB,KAAC,CAAA,aAAA,CAAA,MAAM,EACC,QAAA,CAAA,EAAA,EAAA,SAAS,EACb,EAAA,UAAU,EAAE,UAAU,EACtB,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,EAC/B,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,EAC5E,aAAa,EAAE,aAAa,EAC5B,sBAAsB,EAClB,QAAA,CAAA,EAAA,UAAU,EAAE;AACR,gBAAA,MAAM,EAAE,OAAO;AACf,gBAAA,KAAK,EAAE,OAAO;gBACd,YAAY,EAAE,WAAW,CAAC,WAAW;gBACrC,WAAW,EAAE,WAAW,CAAC,WAAW;gBACpC,IAAI,EAAE,WAAW,CAAC,IAAI;AACtB,gBAAA,UAAU,EAAE,MAAM;AAClB,gBAAA,QAAQ,EAAE,MAAM;aACnB,EACE,EAAA,sBAAsB,CAG5B,EAAA,CAAA,EAAA,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAA;QAChC,OAAA,cAAc,CAAoB,KAAK;cACjC,YAAY,CAAC,KAAK,EAAE,EAAE,IAAI,EAAA,IAAA,EAAE;AAC9B,cAAE,KAAK;AAFX,KAEW,CACd,CACI,EACZ,EAAA;IAED,IAAM,iBAAiB,GAAG,YAAM,EAAA,QAC5B,KAAC,CAAA,aAAA,CAAA,iBAAiB,CAAC,QAAQ,EAAA,EAAC,KAAK,EAAE,YAAY,IAC1C,aAAa,EAAE,CACS,EAChC,EAAA;IAED,OAAO,iBAAiB,GAAG,aAAa,EAAE,GAAG,iBAAiB,EAAE;AACpE,CAAC;AAGC,IAAA,aAAa,GAAG;AAChB,IAAA,eAAe,GAAG;AAExB,IAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,EAAE;AAC9D,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,QAAQ,EAAE,eAAe;AAC5B,CAAA;;;;"}
@@ -1,9 +1,9 @@
1
1
  :root {
2
2
  --side-panel-s-width: 500px;
3
3
  }
4
- .side-panel__size-500_1a6tr.side-panel__size-500_1a6tr {
4
+ .side-panel__size-500_w7uvm.side-panel__size-500_w7uvm {
5
5
  width: var(--side-panel-s-width);
6
6
  }
7
- .side-panel__hidden_1a6tr {
7
+ .side-panel__hidden_w7uvm {
8
8
  overflow-x: hidden;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import './desktop.css';
2
2
 
3
- var styles = {"size-500":"side-panel__size-500_1a6tr","hidden":"side-panel__hidden_1a6tr"};
3
+ var styles = {"size-500":"side-panel__size-500_w7uvm","hidden":"side-panel__hidden_w7uvm"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=desktop.module.css.js.map
@@ -1,14 +1,14 @@
1
- .side-panel__enterRight_1h7vs {
1
+ .side-panel__enterRight_1izc2 {
2
2
  opacity: 0;
3
3
  transform: translateX(15px);
4
4
  }
5
5
 
6
- .side-panel__enterLeft_1h7vs {
6
+ .side-panel__enterLeft_1izc2 {
7
7
  opacity: 0;
8
8
  transform: translateX(-15px);
9
9
  }
10
10
 
11
- .side-panel__enterActive_1h7vs {
11
+ .side-panel__enterActive_1izc2 {
12
12
  opacity: 1;
13
13
  transform: translateX(0);
14
14
  transition:
@@ -16,12 +16,12 @@
16
16
  transform 200ms ease-in;
17
17
  }
18
18
 
19
- .side-panel__exit_1h7vs {
19
+ .side-panel__exit_1izc2 {
20
20
  opacity: 1;
21
21
  transform: translateX(0);
22
22
  }
23
23
 
24
- .side-panel__exitActiveRight_1h7vs {
24
+ .side-panel__exitActiveRight_1izc2 {
25
25
  opacity: 0;
26
26
  transition:
27
27
  opacity 200ms ease-out,
@@ -29,7 +29,7 @@
29
29
  transform: translateX(15px);
30
30
  }
31
31
 
32
- .side-panel__exitActiveLeft_1h7vs {
32
+ .side-panel__exitActiveLeft_1izc2 {
33
33
  opacity: 0;
34
34
  transition:
35
35
  opacity 200ms ease-out,
@@ -1,6 +1,6 @@
1
1
  import './transitions.desktop.css';
2
2
 
3
- var transitions = {"enterActive":"side-panel__enterActive_1h7vs","exit":"side-panel__exit_1h7vs","exitActiveRight":"side-panel__exitActiveRight_1h7vs","exitActiveLeft":"side-panel__exitActiveLeft_1h7vs"};
3
+ var transitions = {"enterActive":"side-panel__enterActive_1izc2","exit":"side-panel__exit_1izc2","exitActiveRight":"side-panel__exitActiveRight_1izc2","exitActiveLeft":"side-panel__exitActiveLeft_1izc2"};
4
4
 
5
5
  export { transitions as default };
6
6
  //# sourceMappingURL=transitions.desktop.module.css.js.map
@@ -4,7 +4,7 @@ import { ContentMobile } from '../components/content/Component.mobile';
4
4
  import { type ControlsProps } from '../components/controls';
5
5
  import { FooterMobile } from '../components/footer/Component.mobile';
6
6
  import { Header } from '../components/header/Component';
7
- export declare type SidePanelMobileProps = BaseModalProps & {
7
+ export type SidePanelMobileProps = BaseModalProps & {
8
8
  /**
9
9
  * Управление наличием закрывающего крестика
10
10
  * @default false
@@ -16,7 +16,7 @@ declare const SidePanelMobileComponent: React.ForwardRefExoticComponent<BaseModa
16
16
  * Управление наличием закрывающего крестика
17
17
  * @default false
18
18
  */
19
- hasCloser?: boolean | undefined;
19
+ hasCloser?: boolean;
20
20
  } & React.RefAttributes<HTMLDivElement>>;
21
21
  declare const ControlsMobile: React.FC<Omit<ControlsProps, "mobileLayout">>;
22
22
  declare const SidePanelMobile: React.ForwardRefExoticComponent<BaseModalProps & {
@@ -24,7 +24,7 @@ declare const SidePanelMobile: React.ForwardRefExoticComponent<BaseModalProps &
24
24
  * Управление наличием закрывающего крестика
25
25
  * @default false
26
26
  */
27
- hasCloser?: boolean | undefined;
27
+ hasCloser?: boolean;
28
28
  } & React.RefAttributes<HTMLDivElement>> & {
29
29
  Content: React.FC<import("../components/content/Component").ContentProps>;
30
30
  Header: React.FC<import("../components/header/Component").HeaderProps>;
@@ -5,7 +5,7 @@
5
5
  :root {
6
6
  --gap-0: 0px;
7
7
  }
8
- .side-panel__component_ze3ks {
8
+ .side-panel__component_1w86s {
9
9
  top: var(--gap-0);
10
10
  height: 100%;
11
11
  width: 100%;
@@ -13,17 +13,17 @@
13
13
  overflow-y: auto;
14
14
  max-width: 600px;
15
15
  }
16
- .side-panel__component_ze3ks.side-panel__component_ze3ks {
16
+ .side-panel__component_1w86s.side-panel__component_1w86s {
17
17
  position: fixed;
18
18
  flex: 1;
19
19
  }
20
20
  @media (display-mode: standalone) {
21
- .side-panel__content_ze3ks {
21
+ .side-panel__content_1w86s {
22
22
  padding-top: var(--sat);
23
23
  padding-bottom: var(--sab);
24
24
  }
25
25
  }
26
- .side-panel__mobileContent_ze3ks {
26
+ .side-panel__mobileContent_1w86s {
27
27
  display: flex;
28
28
  flex-direction: column;
29
29
  width: 100%;
@@ -1,6 +1,6 @@
1
1
  import './mobile.css';
2
2
 
3
- var styles = {"component":"side-panel__component_ze3ks","content":"side-panel__content_ze3ks","mobileContent":"side-panel__mobileContent_ze3ks"};
3
+ var styles = {"component":"side-panel__component_1w86s","content":"side-panel__content_1w86s","mobileContent":"side-panel__mobileContent_1w86s"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=mobile.module.css.js.map
@@ -1,11 +1,11 @@
1
- .side-panel__appear_9ls7f,
2
- .side-panel__enter_9ls7f {
1
+ .side-panel__appear_krkz9,
2
+ .side-panel__enter_krkz9 {
3
3
  opacity: 0;
4
4
  transform: translateY(15px);
5
5
  }
6
6
 
7
- .side-panel__appearActive_9ls7f,
8
- .side-panel__enterActive_9ls7f {
7
+ .side-panel__appearActive_krkz9,
8
+ .side-panel__enterActive_krkz9 {
9
9
  opacity: 1;
10
10
  transform: translateY(0);
11
11
  transition:
@@ -13,13 +13,13 @@
13
13
  transform 200ms ease-in;
14
14
  }
15
15
 
16
- .side-panel__exit_9ls7f {
16
+ .side-panel__exit_krkz9 {
17
17
  opacity: 1;
18
18
  transform: translateY(0);
19
19
  }
20
20
 
21
- .side-panel__exitActive_9ls7f,
22
- .side-panel__exitDone_9ls7f {
21
+ .side-panel__exitActive_krkz9,
22
+ .side-panel__exitDone_krkz9 {
23
23
  opacity: 0;
24
24
  transform: translateY(15px);
25
25
  transition:
@@ -1,6 +1,6 @@
1
1
  import './transitions.mobile.css';
2
2
 
3
- var transitions = {"appear":"side-panel__appear_9ls7f","enter":"side-panel__enter_9ls7f","appearActive":"side-panel__appearActive_9ls7f","enterActive":"side-panel__enterActive_9ls7f","exit":"side-panel__exit_9ls7f","exitActive":"side-panel__exitActive_9ls7f","exitDone":"side-panel__exitDone_9ls7f"};
3
+ var transitions = {"appear":"side-panel__appear_krkz9","enter":"side-panel__enter_krkz9","appearActive":"side-panel__appearActive_krkz9","enterActive":"side-panel__enterActive_krkz9","exit":"side-panel__exit_krkz9","exitActive":"side-panel__exitActive_krkz9","exitDone":"side-panel__exitDone_krkz9"};
4
4
 
5
5
  export { transitions as default };
6
6
  //# sourceMappingURL=transitions.mobile.module.css.js.map
package/esm/typings.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export declare type View = 'desktop' | 'mobile';
2
- export declare type TResponsiveModalContext = {
1
+ export type View = 'desktop' | 'mobile';
2
+ export type TResponsiveModalContext = {
3
3
  view: View;
4
4
  size: 's' | 500;
5
5
  dataTestId?: string;
@@ -4,7 +4,7 @@ import { ContentMobile } from '../components/content/Component.mobile';
4
4
  import { type ControlsProps } from '../components/controls';
5
5
  import { FooterMobile } from '../components/footer/Component.mobile';
6
6
  import { Header } from '../components/header/Component';
7
- export declare type SidePanelMobileProps = BaseModalProps & {
7
+ export type SidePanelMobileProps = BaseModalProps & {
8
8
  /**
9
9
  * Управление наличием закрывающего крестика
10
10
  * @default false
@@ -16,7 +16,7 @@ declare const SidePanelMobileComponent: React.ForwardRefExoticComponent<BaseModa
16
16
  * Управление наличием закрывающего крестика
17
17
  * @default false
18
18
  */
19
- hasCloser?: boolean | undefined;
19
+ hasCloser?: boolean;
20
20
  } & React.RefAttributes<HTMLDivElement>>;
21
21
  declare const ControlsMobile: React.FC<Omit<ControlsProps, "mobileLayout">>;
22
22
  declare const SidePanelMobile: React.ForwardRefExoticComponent<BaseModalProps & {
@@ -24,7 +24,7 @@ declare const SidePanelMobile: React.ForwardRefExoticComponent<BaseModalProps &
24
24
  * Управление наличием закрывающего крестика
25
25
  * @default false
26
26
  */
27
- hasCloser?: boolean | undefined;
27
+ hasCloser?: boolean;
28
28
  } & React.RefAttributes<HTMLDivElement>> & {
29
29
  Content: React.FC<import("../components/content/Component").ContentProps>;
30
30
  Header: React.FC<import("../components/header/Component").HeaderProps>;
package/mobile/mobile.css CHANGED
@@ -5,7 +5,7 @@
5
5
  :root {
6
6
  --gap-0: 0px;
7
7
  }
8
- .side-panel__component_ze3ks {
8
+ .side-panel__component_1w86s {
9
9
  top: var(--gap-0);
10
10
  height: 100%;
11
11
  width: 100%;
@@ -13,17 +13,17 @@
13
13
  overflow-y: auto;
14
14
  max-width: 600px;
15
15
  }
16
- .side-panel__component_ze3ks.side-panel__component_ze3ks {
16
+ .side-panel__component_1w86s.side-panel__component_1w86s {
17
17
  position: fixed;
18
18
  flex: 1;
19
19
  }
20
20
  @media (display-mode: standalone) {
21
- .side-panel__content_ze3ks {
21
+ .side-panel__content_1w86s {
22
22
  padding-top: var(--sat);
23
23
  padding-bottom: var(--sab);
24
24
  }
25
25
  }
26
- .side-panel__mobileContent_ze3ks {
26
+ .side-panel__mobileContent_1w86s {
27
27
  display: flex;
28
28
  flex-direction: column;
29
29
  width: 100%;
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./mobile.css');
4
4
 
5
- var styles = {"component":"side-panel__component_ze3ks","content":"side-panel__content_ze3ks","mobileContent":"side-panel__mobileContent_ze3ks"};
5
+ var styles = {"component":"side-panel__component_1w86s","content":"side-panel__content_1w86s","mobileContent":"side-panel__mobileContent_1w86s"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=mobile.module.css.js.map