@alfalab/core-components-notification 6.2.5 → 6.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
+ /* eslint-disable no-plusplus, no-param-reassign */
5
+ import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
4
6
  import { BaseButtonProps } from "./typings-9211a437";
5
7
  declare const isClient: () => boolean;
6
8
  declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
@@ -16,9 +18,39 @@ declare const inputUtils: {
16
18
  * Возвращает true, если значение равно null или undefined
17
19
  */
18
20
  declare function isNil(value: unknown): boolean;
21
+ /**
22
+ * Выбор значения между min max границами
23
+ */
24
+ declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
25
+ declare function noop(): void;
19
26
  declare const fnUtils: {
27
+ clamp: typeof clamp;
28
+ noop: typeof noop;
20
29
  isNil: typeof isNil;
21
30
  };
31
+ /**
32
+ * Запрещает каретке становиться за указанные границы
33
+ */
34
+ declare function caretGuard(guard: (value: string, selection: readonly [
35
+ from: number,
36
+ to: number
37
+ ]) => [
38
+ from: number,
39
+ to: number
40
+ ]): MaskitoPlugin;
41
+ /**
42
+ * Запрещает удалять указанный префикс
43
+ */
44
+ declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
45
+ /**
46
+ * Препроцессор необходим для правильной вставки/автокомплита телефонного номера
47
+ */
48
+ declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
49
+ declare const maskUtils: {
50
+ insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
51
+ prefixPostprocessor: typeof prefixPostprocessor;
52
+ caretGuard: typeof caretGuard;
53
+ };
22
54
  type SpinnerProps = {
23
55
  /**
24
56
  * Управление видимостью компонента
@@ -52,5 +84,5 @@ declare const Spinner: FC<SpinnerProps>;
52
84
  */
53
85
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
54
86
  declare const BaseButton: React.ForwardRefExoticComponent<BaseButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
55
- export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
87
+ export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, maskUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
56
88
  export * from "./createPaddingStyle-72dda473";
package/Component.js CHANGED
@@ -20,7 +20,7 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
20
20
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
21
21
  var elementClosest__default = /*#__PURE__*/_interopDefaultCompat(elementClosest);
22
22
 
23
- var styles = {"notificationComponent":"notification__notificationComponent_1czs7","isVisible":"notification__isVisible_1czs7","isClosing":"notification__isClosing_1czs7","toastContent":"notification__toastContent_1czs7","actionSection":"notification__actionSection_1czs7"};
23
+ var styles = {"notificationComponent":"notification__notificationComponent_jcafo","isVisible":"notification__isVisible_jcafo","isClosing":"notification__isClosing_jcafo","toastContent":"notification__toastContent_jcafo","actionSection":"notification__actionSection_jcafo"};
24
24
  require('./index.css')
25
25
 
26
26
  var notificationClassNameSelector = ".".concat(styles.notificationComponent);
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
+ /* eslint-disable no-plusplus, no-param-reassign */
5
+ import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
4
6
  import { BaseButtonProps } from "./typings-9211a437";
5
7
  declare const isClient: () => boolean;
6
8
  declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
@@ -16,9 +18,39 @@ declare const inputUtils: {
16
18
  * Возвращает true, если значение равно null или undefined
17
19
  */
18
20
  declare function isNil(value: unknown): boolean;
21
+ /**
22
+ * Выбор значения между min max границами
23
+ */
24
+ declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
25
+ declare function noop(): void;
19
26
  declare const fnUtils: {
27
+ clamp: typeof clamp;
28
+ noop: typeof noop;
20
29
  isNil: typeof isNil;
21
30
  };
31
+ /**
32
+ * Запрещает каретке становиться за указанные границы
33
+ */
34
+ declare function caretGuard(guard: (value: string, selection: readonly [
35
+ from: number,
36
+ to: number
37
+ ]) => [
38
+ from: number,
39
+ to: number
40
+ ]): MaskitoPlugin;
41
+ /**
42
+ * Запрещает удалять указанный префикс
43
+ */
44
+ declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
45
+ /**
46
+ * Препроцессор необходим для правильной вставки/автокомплита телефонного номера
47
+ */
48
+ declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
49
+ declare const maskUtils: {
50
+ insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
51
+ prefixPostprocessor: typeof prefixPostprocessor;
52
+ caretGuard: typeof caretGuard;
53
+ };
22
54
  type SpinnerProps = {
23
55
  /**
24
56
  * Управление видимостью компонента
@@ -52,5 +84,5 @@ declare const Spinner: FC<SpinnerProps>;
52
84
  */
53
85
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
54
86
  declare const BaseButton: React.ForwardRefExoticComponent<BaseButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
55
- export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
87
+ export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, maskUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
56
88
  export * from "./createPaddingStyle-72dda473";
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
+ /* eslint-disable no-plusplus, no-param-reassign */
5
+ import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
4
6
  import { BaseButtonProps } from "./typings-9211a437";
5
7
  declare const isClient: () => boolean;
6
8
  declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
@@ -16,9 +18,39 @@ declare const inputUtils: {
16
18
  * Возвращает true, если значение равно null или undefined
17
19
  */
18
20
  declare function isNil(value: unknown): boolean;
21
+ /**
22
+ * Выбор значения между min max границами
23
+ */
24
+ declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
25
+ declare function noop(): void;
19
26
  declare const fnUtils: {
27
+ clamp: typeof clamp;
28
+ noop: typeof noop;
20
29
  isNil: typeof isNil;
21
30
  };
31
+ /**
32
+ * Запрещает каретке становиться за указанные границы
33
+ */
34
+ declare function caretGuard(guard: (value: string, selection: readonly [
35
+ from: number,
36
+ to: number
37
+ ]) => [
38
+ from: number,
39
+ to: number
40
+ ]): MaskitoPlugin;
41
+ /**
42
+ * Запрещает удалять указанный префикс
43
+ */
44
+ declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
45
+ /**
46
+ * Препроцессор необходим для правильной вставки/автокомплита телефонного номера
47
+ */
48
+ declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
49
+ declare const maskUtils: {
50
+ insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
51
+ prefixPostprocessor: typeof prefixPostprocessor;
52
+ caretGuard: typeof caretGuard;
53
+ };
22
54
  type SpinnerProps = {
23
55
  /**
24
56
  * Управление видимостью компонента
@@ -52,5 +84,5 @@ declare const Spinner: FC<SpinnerProps>;
52
84
  */
53
85
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
54
86
  declare const BaseButton: React.ForwardRefExoticComponent<BaseButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
55
- export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
87
+ export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, maskUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
56
88
  export * from "./createPaddingStyle-72dda473";
package/esm/Component.js CHANGED
@@ -9,7 +9,7 @@ import { stackingOrder, Stack } from '@alfalab/core-components-stack/esm';
9
9
  import { ToastPlateDesktop } from '@alfalab/core-components-toast-plate/esm/desktop';
10
10
  import { useClickOutside } from './utils/index.js';
11
11
 
12
- var styles = {"notificationComponent":"notification__notificationComponent_1czs7","isVisible":"notification__isVisible_1czs7","isClosing":"notification__isClosing_1czs7","toastContent":"notification__toastContent_1czs7","actionSection":"notification__actionSection_1czs7"};
12
+ var styles = {"notificationComponent":"notification__notificationComponent_jcafo","isVisible":"notification__isVisible_jcafo","isClosing":"notification__isClosing_jcafo","toastContent":"notification__toastContent_jcafo","actionSection":"notification__actionSection_jcafo"};
13
13
  require('./index.css')
14
14
 
15
15
  var notificationClassNameSelector = ".".concat(styles.notificationComponent);
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mjoso */
1
+ /* hash: 4ct1v */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -21,7 +21,7 @@
21
21
  } :root {
22
22
  } :root {
23
23
  --notification-desktop-content-width: 278px;
24
- } .notification__notificationComponent_1czs7 {
24
+ } .notification__notificationComponent_jcafo {
25
25
  visibility: hidden;
26
26
  right: var(--gap-s);
27
27
  transform: translate(0, -500px);
@@ -30,26 +30,26 @@
30
30
  -webkit-user-select: none;
31
31
  user-select: none;
32
32
  transition: transform 0.4s ease-out
33
- } @media screen and (min-width: 600px) { .notification__notificationComponent_1czs7 {
33
+ } @media screen and (min-width: 600px) { .notification__notificationComponent_jcafo {
34
34
  right: var(--gap-4xl);
35
35
  width: auto;
36
36
  transform: translate(calc(100% + var(--gap-4xl)), 0)
37
37
  }
38
- } .notification__notificationComponent_1czs7.notification__isVisible_1czs7 {
38
+ } .notification__notificationComponent_jcafo.notification__isVisible_jcafo {
39
39
  visibility: visible;
40
40
  transform: translate(0, 0);
41
- } .notification__notificationComponent_1czs7.notification__isClosing_1czs7 {
41
+ } .notification__notificationComponent_jcafo.notification__isClosing_jcafo {
42
42
  transition: transform 0.1s ease-out;
43
43
  transform: translate(100vw, 0)
44
- } @media screen and (min-width: 600px) { .notification__notificationComponent_1czs7.notification__isClosing_1czs7 {
44
+ } @media screen and (min-width: 600px) { .notification__notificationComponent_jcafo.notification__isClosing_jcafo {
45
45
  transform: translate(calc(100% + var(--gap-4xl)), 0)
46
46
  }
47
- } .notification__notificationComponent_1czs7.notification__notificationComponent_1czs7 {
47
+ } .notification__notificationComponent_jcafo.notification__notificationComponent_jcafo {
48
48
  position: fixed;
49
- } @media screen and (min-width: 600px) { .notification__toastContent_1czs7 {
49
+ } @media screen and (min-width: 600px) { .notification__toastContent_jcafo {
50
50
  width: var(--notification-desktop-content-width)
51
51
  }
52
- } .notification__actionSection_1czs7 {
52
+ } .notification__actionSection_jcafo {
53
53
  min-width: 104px;
54
54
  min-height: 48px;
55
55
  padding: 0 var(--gap-xs);
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mjoso */
1
+ /* hash: 4ct1v */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -21,7 +21,7 @@
21
21
  } :root {
22
22
  } :root {
23
23
  --notification-desktop-content-width: 278px;
24
- } .notification__notificationComponent_1czs7 {
24
+ } .notification__notificationComponent_jcafo {
25
25
  visibility: hidden;
26
26
  right: var(--gap-s);
27
27
  transform: translate(0, -500px);
@@ -30,26 +30,26 @@
30
30
  -webkit-user-select: none;
31
31
  user-select: none;
32
32
  transition: transform 0.4s ease-out
33
- } @media screen and (min-width: 600px) { .notification__notificationComponent_1czs7 {
33
+ } @media screen and (min-width: 600px) { .notification__notificationComponent_jcafo {
34
34
  right: var(--gap-4xl);
35
35
  width: auto;
36
36
  transform: translate(calc(100% + var(--gap-4xl)), 0)
37
37
  }
38
- } .notification__notificationComponent_1czs7.notification__isVisible_1czs7 {
38
+ } .notification__notificationComponent_jcafo.notification__isVisible_jcafo {
39
39
  visibility: visible;
40
40
  transform: translate(0, 0);
41
- } .notification__notificationComponent_1czs7.notification__isClosing_1czs7 {
41
+ } .notification__notificationComponent_jcafo.notification__isClosing_jcafo {
42
42
  transition: transform 0.1s ease-out;
43
43
  transform: translate(100vw, 0)
44
- } @media screen and (min-width: 600px) { .notification__notificationComponent_1czs7.notification__isClosing_1czs7 {
44
+ } @media screen and (min-width: 600px) { .notification__notificationComponent_jcafo.notification__isClosing_jcafo {
45
45
  transform: translate(calc(100% + var(--gap-4xl)), 0)
46
46
  }
47
- } .notification__notificationComponent_1czs7.notification__notificationComponent_1czs7 {
47
+ } .notification__notificationComponent_jcafo.notification__notificationComponent_jcafo {
48
48
  position: fixed;
49
- } @media screen and (min-width: 600px) { .notification__toastContent_1czs7 {
49
+ } @media screen and (min-width: 600px) { .notification__toastContent_jcafo {
50
50
  width: var(--notification-desktop-content-width)
51
51
  }
52
- } .notification__actionSection_1czs7 {
52
+ } .notification__actionSection_jcafo {
53
53
  min-width: 104px;
54
54
  min-height: 48px;
55
55
  padding: 0 var(--gap-xs);
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC } from "react";
4
+ /* eslint-disable no-plusplus, no-param-reassign */
5
+ import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
4
6
  import { BaseButtonProps } from "./typings-9211a437";
5
7
  declare const isClient: () => boolean;
6
8
  declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
@@ -16,9 +18,39 @@ declare const inputUtils: {
16
18
  * Возвращает true, если значение равно null или undefined
17
19
  */
18
20
  declare function isNil(value: unknown): boolean;
21
+ /**
22
+ * Выбор значения между min max границами
23
+ */
24
+ declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
25
+ declare function noop(): void;
19
26
  declare const fnUtils: {
27
+ clamp: typeof clamp;
28
+ noop: typeof noop;
20
29
  isNil: typeof isNil;
21
30
  };
31
+ /**
32
+ * Запрещает каретке становиться за указанные границы
33
+ */
34
+ declare function caretGuard(guard: (value: string, selection: readonly [
35
+ from: number,
36
+ to: number
37
+ ]) => [
38
+ from: number,
39
+ to: number
40
+ ]): MaskitoPlugin;
41
+ /**
42
+ * Запрещает удалять указанный префикс
43
+ */
44
+ declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
45
+ /**
46
+ * Препроцессор необходим для правильной вставки/автокомплита телефонного номера
47
+ */
48
+ declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
49
+ declare const maskUtils: {
50
+ insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
51
+ prefixPostprocessor: typeof prefixPostprocessor;
52
+ caretGuard: typeof caretGuard;
53
+ };
22
54
  type SpinnerProps = {
23
55
  /**
24
56
  * Управление видимостью компонента
@@ -52,5 +84,5 @@ declare const Spinner: FC<SpinnerProps>;
52
84
  */
53
85
  declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
54
86
  declare const BaseButton: React.ForwardRefExoticComponent<BaseButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
55
- export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
87
+ export { isClient, getDataTestId, easingFns, inputUtils, fnUtils, maskUtils, SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
56
88
  export * from "./createPaddingStyle-72dda473";
@@ -8,7 +8,7 @@ import { Stack, stackingOrder } from '@alfalab/core-components-stack/modern';
8
8
  import { ToastPlateDesktop } from '@alfalab/core-components-toast-plate/modern/desktop';
9
9
  import { useClickOutside } from './utils/index.js';
10
10
 
11
- const styles = {"notificationComponent":"notification__notificationComponent_1czs7","isVisible":"notification__isVisible_1czs7","isClosing":"notification__isClosing_1czs7","toastContent":"notification__toastContent_1czs7","actionSection":"notification__actionSection_1czs7"};
11
+ const styles = {"notificationComponent":"notification__notificationComponent_jcafo","isVisible":"notification__isVisible_jcafo","isClosing":"notification__isClosing_jcafo","toastContent":"notification__toastContent_jcafo","actionSection":"notification__actionSection_jcafo"};
12
12
  require('./index.css')
13
13
 
14
14
  const notificationClassNameSelector = `.${styles.notificationComponent}`;
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mjoso */
1
+ /* hash: 4ct1v */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -21,7 +21,7 @@
21
21
  } :root {
22
22
  } :root {
23
23
  --notification-desktop-content-width: 278px;
24
- } .notification__notificationComponent_1czs7 {
24
+ } .notification__notificationComponent_jcafo {
25
25
  visibility: hidden;
26
26
  right: var(--gap-s);
27
27
  transform: translate(0, -500px);
@@ -30,26 +30,26 @@
30
30
  -webkit-user-select: none;
31
31
  user-select: none;
32
32
  transition: transform 0.4s ease-out
33
- } @media screen and (min-width: 600px) { .notification__notificationComponent_1czs7 {
33
+ } @media screen and (min-width: 600px) { .notification__notificationComponent_jcafo {
34
34
  right: var(--gap-4xl);
35
35
  width: auto;
36
36
  transform: translate(calc(100% + var(--gap-4xl)), 0)
37
37
  }
38
- } .notification__notificationComponent_1czs7.notification__isVisible_1czs7 {
38
+ } .notification__notificationComponent_jcafo.notification__isVisible_jcafo {
39
39
  visibility: visible;
40
40
  transform: translate(0, 0);
41
- } .notification__notificationComponent_1czs7.notification__isClosing_1czs7 {
41
+ } .notification__notificationComponent_jcafo.notification__isClosing_jcafo {
42
42
  transition: transform 0.1s ease-out;
43
43
  transform: translate(100vw, 0)
44
- } @media screen and (min-width: 600px) { .notification__notificationComponent_1czs7.notification__isClosing_1czs7 {
44
+ } @media screen and (min-width: 600px) { .notification__notificationComponent_jcafo.notification__isClosing_jcafo {
45
45
  transform: translate(calc(100% + var(--gap-4xl)), 0)
46
46
  }
47
- } .notification__notificationComponent_1czs7.notification__notificationComponent_1czs7 {
47
+ } .notification__notificationComponent_jcafo.notification__notificationComponent_jcafo {
48
48
  position: fixed;
49
- } @media screen and (min-width: 600px) { .notification__toastContent_1czs7 {
49
+ } @media screen and (min-width: 600px) { .notification__toastContent_jcafo {
50
50
  width: var(--notification-desktop-content-width)
51
51
  }
52
- } .notification__actionSection_1czs7 {
52
+ } .notification__actionSection_jcafo {
53
53
  min-width: 104px;
54
54
  min-height: 48px;
55
55
  padding: 0 var(--gap-xs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-notification",
3
- "version": "6.2.5",
3
+ "version": "6.2.7",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@alfalab/core-components-portal": "^3.2.0",
18
18
  "@alfalab/core-components-stack": "^4.1.0",
19
- "@alfalab/core-components-toast-plate": "^6.0.4",
19
+ "@alfalab/core-components-toast-plate": "^6.0.6",
20
20
  "classnames": "^2.3.1",
21
21
  "element-closest": "^3.0.2",
22
22
  "react-merge-refs": "^1.1.0",