@alfalab/core-components 46.0.0-beta.3 → 46.0.0-beta.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.
- package/base-modal/Component.js +1 -2
- package/base-modal/cssm/Component.js +1 -2
- package/base-modal/esm/Component.js +1 -2
- package/base-modal/esm/index.js +0 -1
- package/base-modal/modern/Component.js +1 -2
- package/base-modal/modern/index.js +0 -1
- package/bottom-sheet/component.js +9 -3
- package/bottom-sheet/cssm/component.js +9 -3
- package/bottom-sheet/esm/component.js +10 -4
- package/bottom-sheet/modern/component.js +9 -4
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/international-phone-input/cssm/index-136acbb1.d.ts +28 -0
- package/international-phone-input/esm/index-136acbb1.d.ts +28 -0
- package/international-phone-input/index-136acbb1.d.ts +28 -0
- package/international-phone-input/modern/index-136acbb1.d.ts +28 -0
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/notification/Component.js +1 -2
- package/notification/cssm/Component.js +1 -2
- package/notification/esm/Component.js +1 -2
- package/notification/esm/index.js +0 -1
- package/notification/modern/Component.js +1 -2
- package/notification/modern/index.js +0 -1
- package/notification-manager/component.js +1 -2
- package/notification-manager/cssm/component.js +1 -2
- package/notification-manager/esm/component.js +1 -2
- package/notification-manager/esm/index.js +0 -1
- package/notification-manager/modern/component.js +1 -2
- package/notification-manager/modern/index.js +0 -1
- package/package.json +1 -2
- package/picker-button/cssm/index-bdb4c6b9.d.ts +13 -1
- package/picker-button/esm/index-bdb4c6b9.d.ts +13 -1
- package/picker-button/index-bdb4c6b9.d.ts +13 -1
- package/picker-button/modern/index-bdb4c6b9.d.ts +13 -1
- package/popover/Component.js +1 -2
- package/popover/cssm/Component.js +1 -2
- package/popover/esm/Component.js +1 -2
- package/popover/esm/index.js +0 -1
- package/popover/modern/Component.js +1 -2
- package/popover/modern/index.js +0 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/stack/component.js +4 -4
- package/stack/context.d.ts +29 -0
- package/stack/context.js +34 -0
- package/stack/cssm/component.js +4 -4
- package/stack/cssm/context.d.ts +29 -0
- package/stack/cssm/context.js +34 -0
- package/stack/cssm/index.d.ts +1 -0
- package/stack/cssm/index.js +3 -0
- package/stack/esm/component.js +1 -1
- package/stack/esm/context.d.ts +29 -0
- package/stack/esm/context.js +31 -0
- package/stack/esm/index.d.ts +1 -0
- package/stack/esm/index.js +1 -1
- package/stack/index.d.ts +1 -0
- package/stack/index.js +3 -0
- package/stack/modern/component.js +1 -1
- package/stack/modern/context.d.ts +29 -0
- package/stack/modern/context.js +31 -0
- package/stack/modern/index.d.ts +1 -0
- package/stack/modern/index.js +1 -1
- package/textarea/Component.js +1 -1
- package/textarea/components/PseudoTextArea.js +1 -1
- package/textarea/components/index.d.ts +1 -1
- package/textarea/components/index.js +1 -1
- package/textarea/esm/Component.js +1 -1
- package/textarea/esm/components/PseudoTextArea.js +1 -1
- package/textarea/esm/components/index.d.ts +1 -1
- package/textarea/esm/components/index.js +1 -1
- package/textarea/esm/index.js +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +76 -215
- package/toast/components/base-toast/component.js +1 -2
- package/toast/cssm/components/base-toast/component.js +1 -2
- package/toast/esm/Component.responsive.js +0 -1
- package/toast/esm/components/base-toast/component.js +1 -2
- package/toast/esm/components/base-toast/index.js +0 -1
- package/toast/esm/desktop/Component.desktop.js +0 -1
- package/toast/esm/desktop/index.js +0 -1
- package/toast/esm/index.js +0 -1
- package/toast/esm/mobile/Component.mobile.js +0 -1
- package/toast/esm/mobile/index.js +0 -1
- package/toast/modern/Component.responsive.js +0 -1
- package/toast/modern/components/base-toast/component.js +1 -2
- package/toast/modern/components/base-toast/index.js +0 -1
- package/toast/modern/desktop/Component.desktop.js +0 -1
- package/toast/modern/desktop/index.js +0 -1
- package/toast/modern/index.js +0 -1
- package/toast/modern/mobile/Component.mobile.js +0 -1
- package/toast/modern/mobile/index.js +0 -1
- package/toast-plate/components/base-toast-plate/component.js +1 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/Component.responsive.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/desktop/Component.desktop.js +1 -1
- package/toast-plate/esm/desktop/index.js +1 -1
- package/toast-plate/esm/index-307da6d7.d.ts +1 -1
- package/toast-plate/esm/index.js +1 -1
- package/toast-plate/esm/mobile/Component.mobile.js +1 -1
- package/toast-plate/esm/mobile/index.js +1 -1
- package/toast-plate/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/Component.responsive.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/modern/desktop/Component.desktop.js +1 -1
- package/toast-plate/modern/desktop/index.js +1 -1
- package/toast-plate/modern/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/index.js +1 -1
- package/toast-plate/modern/mobile/Component.mobile.js +1 -1
- package/toast-plate/modern/mobile/index.js +1 -1
- package/universal-date-input/cssm/index-5712fce2.d.ts +13 -1
- package/universal-date-input/esm/index-5712fce2.d.ts +13 -1
- package/universal-date-input/index-5712fce2.d.ts +13 -1
- package/universal-date-input/modern/index-5712fce2.d.ts +13 -1
- package/international-phone-input/cssm/index-7ca84eff.d.ts +0 -15
- package/international-phone-input/esm/index-7ca84eff.d.ts +0 -15
- package/international-phone-input/index-7ca84eff.d.ts +0 -15
- package/international-phone-input/modern/index-7ca84eff.d.ts +0 -15
- /package/confirmation/{countdown-section-80b2f871.d.ts → countdown-section-f9e4f884.d.ts} +0 -0
- /package/confirmation/{countdown-section-80b2f871.js → countdown-section-f9e4f884.js} +0 -0
- /package/confirmation/esm/{countdown-section-acc1051f.d.ts → countdown-section-540da1e3.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-acc1051f.js → countdown-section-540da1e3.js} +0 -0
- /package/confirmation/modern/{countdown-section-91463948.d.ts → countdown-section-d3385b29.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-91463948.js → countdown-section-d3385b29.js} +0 -0
- /package/gallery/{buttons-2d32d0ff.d.ts → buttons-0e0683d9.d.ts} +0 -0
- /package/gallery/{buttons-2d32d0ff.js → buttons-0e0683d9.js} +0 -0
- /package/gallery/esm/{buttons-7f3fd122.d.ts → buttons-eabdb51b.d.ts} +0 -0
- /package/gallery/esm/{buttons-7f3fd122.js → buttons-eabdb51b.js} +0 -0
- /package/gallery/esm/{slide-296478be.d.ts → slide-a8f6ccc1.d.ts} +0 -0
- /package/gallery/esm/{slide-296478be.js → slide-a8f6ccc1.js} +0 -0
- /package/gallery/modern/{buttons-efa9898e.d.ts → buttons-062ff167.d.ts} +0 -0
- /package/gallery/modern/{buttons-efa9898e.js → buttons-062ff167.js} +0 -0
- /package/gallery/modern/{slide-7d442501.d.ts → slide-b5566e19.d.ts} +0 -0
- /package/gallery/modern/{slide-7d442501.js → slide-b5566e19.js} +0 -0
- /package/gallery/{slide-4fbf6ff4.d.ts → slide-3d8ed06b.d.ts} +0 -0
- /package/gallery/{slide-4fbf6ff4.js → slide-3d8ed06b.js} +0 -0
- /package/modal/esm/{layout.module-8c2ad581.js → layout.module-ed84e654.js} +0 -0
- /package/modal/{layout.module-9c7f42a7.js → layout.module-74d56d9e.js} +0 -0
- /package/modal/modern/{layout.module-7b9f84d6.js → layout.module-169c9cd4.js} +0 -0
- /package/select/esm/{hook-74e64a0c.d.ts → hook-43f97773.d.ts} +0 -0
- /package/select/esm/{hook-74e64a0c.js → hook-43f97773.js} +0 -0
- /package/select/{hook-0bb52889.d.ts → hook-47df637e.d.ts} +0 -0
- /package/select/{hook-0bb52889.js → hook-47df637e.js} +0 -0
- /package/select/modern/{hook-6af684e1.d.ts → hook-72d63281.d.ts} +0 -0
- /package/select/modern/{hook-6af684e1.js → hook-72d63281.js} +0 -0
- /package/side-panel/esm/{layout.module-42bf261d.js → layout.module-72cc1a7a.js} +0 -0
- /package/side-panel/{layout.module-2ea47a88.js → layout.module-cfb65ab1.js} +0 -0
- /package/side-panel/modern/{layout.module-39651e51.js → layout.module-3503b091.js} +0 -0
- /package/textarea/{PseudoTextArea-53ba3572.d.ts → PseudoTextArea-7681334c.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-53ba3572.js → PseudoTextArea-7681334c.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-278ebb87.d.ts → PseudoTextArea-850a55b5.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-278ebb87.js → PseudoTextArea-850a55b5.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-0d65e973.d.ts → PseudoTextArea-c51ed577.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-0d65e973.js → PseudoTextArea-c51ed577.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-32d52205.d.ts → getDataTestId-f4dc32c7.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-32d52205.js → getDataTestId-f4dc32c7.js} +0 -0
- /package/toast-plate/{getDataTestId-1de39d74.d.ts → getDataTestId-442368bd.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-1de39d74.js → getDataTestId-442368bd.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-dd00ab19.d.ts → getDataTestId-16038735.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-dd00ab19.js → getDataTestId-16038735.js} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createContext } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Набор констант для z-index соответствующих классов компонентов.
|
|
5
|
+
* Значения выбраны по приоритету.
|
|
6
|
+
*/
|
|
7
|
+
const stackingOrder = {
|
|
8
|
+
/**
|
|
9
|
+
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
10
|
+
*/
|
|
11
|
+
FOCUSED: 2,
|
|
12
|
+
/**
|
|
13
|
+
* Значение по-умолчанию
|
|
14
|
+
*/
|
|
15
|
+
DEFAULT: 10,
|
|
16
|
+
/**
|
|
17
|
+
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
18
|
+
*/
|
|
19
|
+
POPOVER: 50,
|
|
20
|
+
/**
|
|
21
|
+
* Для модальных окон с оверлеем
|
|
22
|
+
*/
|
|
23
|
+
MODAL: 100,
|
|
24
|
+
/**
|
|
25
|
+
* Для тостов и нотификаций
|
|
26
|
+
*/
|
|
27
|
+
TOAST: 1000,
|
|
28
|
+
};
|
|
29
|
+
const StackingContext = createContext(stackingOrder.DEFAULT);
|
|
30
|
+
|
|
31
|
+
export { StackingContext, stackingOrder };
|
package/stack/modern/index.d.ts
CHANGED
package/stack/modern/index.js
CHANGED
package/textarea/Component.js
CHANGED
|
@@ -8,7 +8,7 @@ var cn = require('classnames');
|
|
|
8
8
|
var coreComponentsFormControl = require('../form-control');
|
|
9
9
|
var coreComponentsShared = require('../shared');
|
|
10
10
|
var hooks = require('@alfalab/hooks');
|
|
11
|
-
var components_PseudoTextArea = require('./PseudoTextArea-
|
|
11
|
+
var components_PseudoTextArea = require('./PseudoTextArea-7681334c.js');
|
|
12
12
|
var consts = require('./consts.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
require('react');
|
|
4
4
|
require('classnames');
|
|
5
5
|
require('../consts.js');
|
|
6
|
-
var components_PseudoTextArea = require('../PseudoTextArea-
|
|
6
|
+
var components_PseudoTextArea = require('../PseudoTextArea-7681334c.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../PseudoTextArea-
|
|
1
|
+
export * from "../PseudoTextArea-7681334c";
|
|
@@ -6,7 +6,7 @@ import cn from 'classnames';
|
|
|
6
6
|
import { FormControl } from '../../form-control/esm';
|
|
7
7
|
import { getDataTestId } from '../../shared/esm';
|
|
8
8
|
import { useMedia, useFocus } from '@alfalab/hooks';
|
|
9
|
-
import { s as styles, P as PseudoTextArea } from './PseudoTextArea-
|
|
9
|
+
import { s as styles, P as PseudoTextArea } from './PseudoTextArea-850a55b5.js';
|
|
10
10
|
import { SIZE_TO_CLASSNAME_MAP } from './consts.js';
|
|
11
11
|
|
|
12
12
|
var defaultColors = {"input":"textarea__input_1ig8s","hasInnerLabel":"textarea__hasInnerLabel_1ig8s","disableUserInput":"textarea__disableUserInput_1ig8s","error":"textarea__error_1ig8s","textarea":"textarea__textarea_1ig8s","hint":"textarea__hint_1ig8s"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../PseudoTextArea-
|
|
1
|
+
export * from "../PseudoTextArea-850a55b5";
|
package/textarea/esm/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import cn from 'classnames';
|
|
|
5
5
|
import { FormControl } from '../../form-control/modern';
|
|
6
6
|
import { getDataTestId } from '../../shared/modern';
|
|
7
7
|
import { useMedia, useFocus } from '@alfalab/hooks';
|
|
8
|
-
import { s as styles, P as PseudoTextArea } from './PseudoTextArea-
|
|
8
|
+
import { s as styles, P as PseudoTextArea } from './PseudoTextArea-c51ed577.js';
|
|
9
9
|
import { SIZE_TO_CLASSNAME_MAP } from './consts.js';
|
|
10
10
|
|
|
11
11
|
const defaultColors = {"input":"textarea__input_1ig8s","hasInnerLabel":"textarea__hasInnerLabel_1ig8s","disableUserInput":"textarea__disableUserInput_1ig8s","error":"textarea__error_1ig8s","textarea":"textarea__textarea_1ig8s","hint":"textarea__hint_1ig8s"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../PseudoTextArea-
|
|
1
|
+
export * from "../PseudoTextArea-c51ed577";
|
package/textarea/modern/index.js
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
.
|
|
2
|
-
background: #e7e8ea;
|
|
3
|
-
} .card-image__loaded_bvs5x {
|
|
4
|
-
background: transparent
|
|
5
|
-
}.backdrop__backdrop_14p7c {
|
|
6
|
-
-webkit-tap-highlight-color: transparent;
|
|
7
|
-
} .backdrop__appear_14p7c,
|
|
8
|
-
.backdrop__enter_14p7c {
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
} .backdrop__appearActive_14p7c,
|
|
11
|
-
.backdrop__enterActive_14p7c,
|
|
12
|
-
.backdrop__appearDone_14p7c,
|
|
13
|
-
.backdrop__enterDone_14p7c {
|
|
14
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
15
|
-
} .backdrop__exit_14p7c {
|
|
16
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
17
|
-
} .backdrop__exitActive_14p7c,
|
|
18
|
-
.backdrop__exitDone_14p7c {
|
|
19
|
-
background-color: transparent;
|
|
20
|
-
}.badge__component_1x6bo.badge__background-accent_1x6bo {
|
|
1
|
+
.badge__component_1x6bo.badge__background-accent_1x6bo {
|
|
21
2
|
background-color: #f83a2a;
|
|
22
3
|
color: rgba(255, 255, 255, 0.94);
|
|
23
4
|
} .badge__component_1x6bo.badge__background-specialbg-secondary-transparent_1x6bo {
|
|
@@ -77,6 +58,25 @@
|
|
|
77
58
|
background-color: #fff;
|
|
78
59
|
} .badge__dot_1x6bo.badge__outlineCount_1x6bo {
|
|
79
60
|
border: 1px solid #121213;
|
|
61
|
+
}.backdrop__backdrop_14p7c {
|
|
62
|
+
-webkit-tap-highlight-color: transparent;
|
|
63
|
+
} .backdrop__appear_14p7c,
|
|
64
|
+
.backdrop__enter_14p7c {
|
|
65
|
+
background-color: transparent;
|
|
66
|
+
} .backdrop__appearActive_14p7c,
|
|
67
|
+
.backdrop__enterActive_14p7c,
|
|
68
|
+
.backdrop__appearDone_14p7c,
|
|
69
|
+
.backdrop__enterDone_14p7c {
|
|
70
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
71
|
+
} .backdrop__exit_14p7c {
|
|
72
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
73
|
+
} .backdrop__exitActive_14p7c,
|
|
74
|
+
.backdrop__exitDone_14p7c {
|
|
75
|
+
background-color: transparent;
|
|
76
|
+
}.card-image__cardImage_bvs5x {
|
|
77
|
+
background: #e7e8ea;
|
|
78
|
+
} .card-image__loaded_bvs5x {
|
|
79
|
+
background: transparent
|
|
80
80
|
}.divider__component_wc83h {
|
|
81
81
|
border-bottom: 1px solid #353539;
|
|
82
82
|
}.dropzone__component_14isj {
|
|
@@ -168,7 +168,14 @@
|
|
|
168
168
|
background: #fff;
|
|
169
169
|
} .hatching-progress-bar__accent_uc0xr {
|
|
170
170
|
background: #f83a2a;
|
|
171
|
-
}.
|
|
171
|
+
}.icon-view__component_14i8j {
|
|
172
|
+
color: rgba(238, 238, 251, 0.55)
|
|
173
|
+
} .icon-view__bg_14i8j {
|
|
174
|
+
fill: #1c1c1e;
|
|
175
|
+
} .icon-view__border_14i8j {
|
|
176
|
+
stroke: rgba(225, 225, 248, 0.09);
|
|
177
|
+
fill: transparent;
|
|
178
|
+
}.indicator__component_1nsoq {
|
|
172
179
|
color: rgba(255, 255, 255, 0.94);
|
|
173
180
|
background-color: #f83a2a;
|
|
174
181
|
} .indicator__red_1nsoq {
|
|
@@ -186,14 +193,7 @@
|
|
|
186
193
|
color: rgba(255, 255, 255, 0.94)
|
|
187
194
|
} .indicator__grey_1nsoq.indicator__border_1nsoq {
|
|
188
195
|
outline: 2px solid #121213;
|
|
189
|
-
}
|
|
190
|
-
color: rgba(238, 238, 251, 0.55)
|
|
191
|
-
} .icon-view__bg_14i8j {
|
|
192
|
-
fill: #1c1c1e;
|
|
193
|
-
} .icon-view__border_14i8j {
|
|
194
|
-
stroke: rgba(225, 225, 248, 0.09);
|
|
195
|
-
fill: transparent;
|
|
196
|
-
}@keyframes loader__blink_1pw7m {
|
|
196
|
+
}@keyframes loader__blink_1pw7m {
|
|
197
197
|
}.link__primary_ntmi4 {
|
|
198
198
|
color: rgba(255, 255, 255, 0.94);
|
|
199
199
|
border-bottom-color: rgba(255, 255, 255, 0.94)
|
|
@@ -300,7 +300,25 @@
|
|
|
300
300
|
100% {
|
|
301
301
|
background: rgba(222, 222, 238, 0.13);
|
|
302
302
|
}
|
|
303
|
-
}.
|
|
303
|
+
}.slider__component_jbeda .noUi-base:hover .noUi-connects {
|
|
304
|
+
background: rgba(222, 222, 238, 0.13);
|
|
305
|
+
} .slider__component_jbeda .noUi-base:hover .noUi-connect {
|
|
306
|
+
background: #f83a2a;
|
|
307
|
+
} .slider__component_jbeda .noUi-handle:hover .noUi-touch-area {
|
|
308
|
+
background: #ff503e;
|
|
309
|
+
} .slider__component_jbeda .noUi-handle:active .noUi-touch-area {
|
|
310
|
+
background: #fd624e;
|
|
311
|
+
} .slider__component_jbeda .noUi-connects {
|
|
312
|
+
background: rgba(222, 222, 238, 0.13);
|
|
313
|
+
} .slider__component_jbeda .noUi-connect {
|
|
314
|
+
background: #f83a2a;
|
|
315
|
+
} .slider__component_jbeda .noUi-handle {
|
|
316
|
+
border: 2px solid transparent;
|
|
317
|
+
} .slider__component_jbeda .noUi-touch-area {
|
|
318
|
+
background: #f83a2a;
|
|
319
|
+
} .slider__component_jbeda .noUi-pips {
|
|
320
|
+
color: rgba(238, 238, 251, 0.55);
|
|
321
|
+
}.segmented-control__wrapper_z5389 {
|
|
304
322
|
background-color: rgba(225, 225, 248, 0.09);
|
|
305
323
|
} .segmented-control__segment_z5389.segmented-control__selected_z5389 {
|
|
306
324
|
color: rgba(255, 255, 255, 0.94);
|
|
@@ -334,24 +352,6 @@
|
|
|
334
352
|
color: rgba(3, 3, 6, 0.88)
|
|
335
353
|
} .segmented-control__segment_1j9aq:not(:first-child):before {
|
|
336
354
|
background-color: rgba(15, 25, 55, 0.1);
|
|
337
|
-
}.slider__component_jbeda .noUi-base:hover .noUi-connects {
|
|
338
|
-
background: rgba(222, 222, 238, 0.13);
|
|
339
|
-
} .slider__component_jbeda .noUi-base:hover .noUi-connect {
|
|
340
|
-
background: #f83a2a;
|
|
341
|
-
} .slider__component_jbeda .noUi-handle:hover .noUi-touch-area {
|
|
342
|
-
background: #ff503e;
|
|
343
|
-
} .slider__component_jbeda .noUi-handle:active .noUi-touch-area {
|
|
344
|
-
background: #fd624e;
|
|
345
|
-
} .slider__component_jbeda .noUi-connects {
|
|
346
|
-
background: rgba(222, 222, 238, 0.13);
|
|
347
|
-
} .slider__component_jbeda .noUi-connect {
|
|
348
|
-
background: #f83a2a;
|
|
349
|
-
} .slider__component_jbeda .noUi-handle {
|
|
350
|
-
border: 2px solid transparent;
|
|
351
|
-
} .slider__component_jbeda .noUi-touch-area {
|
|
352
|
-
background: #f83a2a;
|
|
353
|
-
} .slider__component_jbeda .noUi-pips {
|
|
354
|
-
color: rgba(238, 238, 251, 0.55);
|
|
355
355
|
}.spinner__component_15bi5 {
|
|
356
356
|
color: #fff;
|
|
357
357
|
}
|
|
@@ -359,6 +359,34 @@
|
|
|
359
359
|
}
|
|
360
360
|
.spinner__component_1b5um {
|
|
361
361
|
color: #121213;
|
|
362
|
+
}.status-badge__positive-checkmark_77dqz {
|
|
363
|
+
background-color: #17d055;
|
|
364
|
+
} .status-badge__negative-cross_77dqz,
|
|
365
|
+
.status-badge__negative-alert_77dqz,
|
|
366
|
+
.status-badge__negative-block_77dqz {
|
|
367
|
+
background-color: #ff4837;
|
|
368
|
+
} .status-badge__attention-alert_77dqz {
|
|
369
|
+
background-color: #fda136;
|
|
370
|
+
} .status-badge__neutral-information_77dqz,
|
|
371
|
+
.status-badge__neutral-operation_77dqz,
|
|
372
|
+
.status-badge__neutral-cross_77dqz {
|
|
373
|
+
background-color: #898991;
|
|
374
|
+
}
|
|
375
|
+
.status-badge__component_dkjbi {
|
|
376
|
+
color: #fff;
|
|
377
|
+
}
|
|
378
|
+
.status-badge__positive-checkmark_1ez6y {
|
|
379
|
+
background-color: #0cc44d;
|
|
380
|
+
} .status-badge__negative-cross_1ez6y,
|
|
381
|
+
.status-badge__negative-alert_1ez6y,
|
|
382
|
+
.status-badge__negative-block_1ez6y {
|
|
383
|
+
background-color: #ff4837;
|
|
384
|
+
} .status-badge__attention-alert_1ez6y {
|
|
385
|
+
background-color: #fa9313;
|
|
386
|
+
} .status-badge__neutral-information_1ez6y,
|
|
387
|
+
.status-badge__neutral-operation_1ez6y,
|
|
388
|
+
.status-badge__neutral-cross_1ez6y {
|
|
389
|
+
background-color: #898991;
|
|
362
390
|
}.status__soft_1keqd.status__green_1keqd {
|
|
363
391
|
background: #d1f1d7;
|
|
364
392
|
color: #0d9336;
|
|
@@ -396,171 +424,4 @@
|
|
|
396
424
|
background: #09b9be;
|
|
397
425
|
} .status__contrast_1keqd.status__purple_1keqd {
|
|
398
426
|
background: #897eff;
|
|
399
|
-
}.status-badge__positive-checkmark_77dqz {
|
|
400
|
-
background-color: #17d055;
|
|
401
|
-
} .status-badge__negative-cross_77dqz,
|
|
402
|
-
.status-badge__negative-alert_77dqz,
|
|
403
|
-
.status-badge__negative-block_77dqz {
|
|
404
|
-
background-color: #ff4837;
|
|
405
|
-
} .status-badge__attention-alert_77dqz {
|
|
406
|
-
background-color: #fda136;
|
|
407
|
-
} .status-badge__neutral-information_77dqz,
|
|
408
|
-
.status-badge__neutral-operation_77dqz,
|
|
409
|
-
.status-badge__neutral-cross_77dqz {
|
|
410
|
-
background-color: #898991;
|
|
411
|
-
}
|
|
412
|
-
.status-badge__component_dkjbi {
|
|
413
|
-
color: #fff;
|
|
414
|
-
}
|
|
415
|
-
.status-badge__positive-checkmark_1ez6y {
|
|
416
|
-
background-color: #0cc44d;
|
|
417
|
-
} .status-badge__negative-cross_1ez6y,
|
|
418
|
-
.status-badge__negative-alert_1ez6y,
|
|
419
|
-
.status-badge__negative-block_1ez6y {
|
|
420
|
-
background-color: #ff4837;
|
|
421
|
-
} .status-badge__attention-alert_1ez6y {
|
|
422
|
-
background-color: #fa9313;
|
|
423
|
-
} .status-badge__neutral-information_1ez6y,
|
|
424
|
-
.status-badge__neutral-operation_1ez6y,
|
|
425
|
-
.status-badge__neutral-cross_1ez6y {
|
|
426
|
-
background-color: #898991;
|
|
427
|
-
}.underlay__background-accent_hkejj {
|
|
428
|
-
background-color: #ef3124;
|
|
429
|
-
} .underlay__background-info_hkejj {
|
|
430
|
-
background-color: #001c3c;
|
|
431
|
-
} .underlay__background-attention-muted_hkejj {
|
|
432
|
-
background-color: #36291f;
|
|
433
|
-
} .underlay__background-positive-muted_hkejj {
|
|
434
|
-
background-color: #232d25;
|
|
435
|
-
} .underlay__background-negative-muted_hkejj {
|
|
436
|
-
background-color: #392523;
|
|
437
|
-
} .underlay__background-primary_hkejj {
|
|
438
|
-
background-color: #0e0e0e;
|
|
439
|
-
} .underlay__background-primary-inverted_hkejj {
|
|
440
|
-
background-color: #fff;
|
|
441
|
-
} .underlay__background-secondary_hkejj {
|
|
442
|
-
background-color: #1c1c1e;
|
|
443
|
-
} .underlay__background-secondary-inverted_hkejj {
|
|
444
|
-
background-color: #f2f3f5;
|
|
445
|
-
} .underlay__background-tertiary_hkejj {
|
|
446
|
-
background-color: #27272a;
|
|
447
|
-
} .underlay__background-tertiary-inverted_hkejj {
|
|
448
|
-
background-color: #e7e8ea;
|
|
449
|
-
} .underlay__background-quaternary_hkejj {
|
|
450
|
-
background-color: #36363a;
|
|
451
|
-
} .underlay__background-quaternary-inverted_hkejj {
|
|
452
|
-
background-color: #dcdee2;
|
|
453
|
-
} .underlay__background-specialbg-component_hkejj {
|
|
454
|
-
background-color: rgba(255, 255, 255, 0.1);
|
|
455
|
-
} .underlay__background-specialbg-component-inverted_hkejj {
|
|
456
|
-
background-color: rgba(11, 31, 53, 0.07);
|
|
457
|
-
} .underlay__background-specialbg-primary-grouped_hkejj {
|
|
458
|
-
background-color: #1c1c1e;
|
|
459
|
-
} .underlay__background-specialbg-secondary-grouped_hkejj {
|
|
460
|
-
background-color: #27272a;
|
|
461
|
-
} .underlay__background-specialbg-tertiary-grouped_hkejj {
|
|
462
|
-
background-color: #36363a;
|
|
463
|
-
} .underlay__background-specialbg-secondary-transparent_hkejj {
|
|
464
|
-
background-color: rgba(214, 214, 229, 0.07);
|
|
465
|
-
} .underlay__background-specialbg-secondary-transparent-inverted_hkejj {
|
|
466
|
-
background-color: rgba(38, 55, 88, 0.06);
|
|
467
|
-
} .underlay__background-specialbg-tertiary-transparent_hkejj {
|
|
468
|
-
background-color: rgba(222, 222, 240, 0.12);
|
|
469
|
-
} .underlay__background-specialbg-tertiary-transparent-inverted_hkejj {
|
|
470
|
-
background-color: rgba(30, 43, 68, 0.08);
|
|
471
|
-
} .underlay__shadow-xs_hkejj {
|
|
472
|
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
473
|
-
} .underlay__shadow-s_hkejj {
|
|
474
|
-
box-shadow: 0 12px 16px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04),
|
|
475
|
-
0 0 1px rgba(0, 0, 0, 0.04);
|
|
476
|
-
} .underlay__shadow-m_hkejj {
|
|
477
|
-
box-shadow: 0 20px 24px rgba(0, 0, 0, 0.08), 0 12px 16px rgba(0, 0, 0, 0.04),
|
|
478
|
-
0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
479
|
-
} .underlay__shadow-l_hkejj {
|
|
480
|
-
box-shadow: 0 24px 32px rgba(0, 0, 0, 0.08), 0 20px 24px rgba(0, 0, 0, 0.08),
|
|
481
|
-
0 12px 16px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
482
|
-
} .underlay__shadow-xl_hkejj {
|
|
483
|
-
box-shadow: 0 32px 40px rgba(0, 0, 0, 0.08), 0 24px 32px rgba(0, 0, 0, 0.08),
|
|
484
|
-
0 20px 24px rgba(0, 0, 0, 0.08), 0 12px 16px rgba(0, 0, 0, 0.04),
|
|
485
|
-
0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
486
|
-
} .underlay__shadow-xs-hard_hkejj {
|
|
487
|
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
488
|
-
} .underlay__shadow-s-hard_hkejj {
|
|
489
|
-
box-shadow: 0 12px 16px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.16),
|
|
490
|
-
0 0 1px rgba(0, 0, 0, 0.16);
|
|
491
|
-
} .underlay__shadow-m-hard_hkejj {
|
|
492
|
-
box-shadow: 0 20px 24px rgba(0, 0, 0, 0.2), 0 12px 16px rgba(0, 0, 0, 0.16),
|
|
493
|
-
0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
494
|
-
} .underlay__shadow-l-hard_hkejj {
|
|
495
|
-
box-shadow: 0 24px 32px rgba(0, 0, 0, 0.2), 0 20px 24px rgba(0, 0, 0, 0.2),
|
|
496
|
-
0 12px 16px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
497
|
-
} .underlay__shadow-xl-hard_hkejj {
|
|
498
|
-
box-shadow: 0 32px 40px rgba(0, 0, 0, 0.2), 0 24px 32px rgba(0, 0, 0, 0.2),
|
|
499
|
-
0 20px 24px rgba(0, 0, 0, 0.2), 0 12px 16px rgba(0, 0, 0, 0.16),
|
|
500
|
-
0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
501
|
-
} .underlay__shadow-xs-up_hkejj {
|
|
502
|
-
box-shadow: 0 0 4px rgba(0, 0, 0, 0.02), 0 -2px 4px rgba(0, 0, 0, 0.04);
|
|
503
|
-
} .underlay__shadow-s-up_hkejj {
|
|
504
|
-
box-shadow: 0 0 8px rgba(0, 0, 0, 0.04), 0 -4px 8px rgba(0, 0, 0, 0.08);
|
|
505
|
-
} .underlay__shadow-m-up_hkejj {
|
|
506
|
-
box-shadow: 0 0 16px rgba(0, 0, 0, 0.08), 0 -8px 16px rgba(0, 0, 0, 0.16);
|
|
507
|
-
} .underlay__shadow-l-up_hkejj {
|
|
508
|
-
box-shadow: 0 0 24px rgba(0, 0, 0, 0.12), 0 -12px 24px rgba(0, 0, 0, 0.24);
|
|
509
|
-
} .underlay__shadow-xl-up_hkejj {
|
|
510
|
-
box-shadow: 0 0 32px rgba(0, 0, 0, 0.16), 0 -16px 32px rgba(0, 0, 0, 0.32);
|
|
511
|
-
} .underlay__shadow-xs-hard-up_hkejj {
|
|
512
|
-
box-shadow: 0 0 4px rgba(0, 0, 0, 0.02), 0 -2px 4px rgba(0, 0, 0, 0.04),
|
|
513
|
-
0 -2px 4px rgba(0, 0, 0, 0.16);
|
|
514
|
-
} .underlay__shadow-s-hard-up_hkejj {
|
|
515
|
-
box-shadow: 0 0 8px rgba(0, 0, 0, 0.04), 0 -4px 8px rgba(0, 0, 0, 0.08),
|
|
516
|
-
0 -4px 8px rgba(0, 0, 0, 0.16);
|
|
517
|
-
} .underlay__shadow-m-hard-up_hkejj {
|
|
518
|
-
box-shadow: 0 0 16px rgba(0, 0, 0, 0.08), 0 -8px 16px rgba(0, 0, 0, 0.16),
|
|
519
|
-
0 -8px 16px rgba(0, 0, 0, 0.16);
|
|
520
|
-
} .underlay__shadow-l-hard-up_hkejj {
|
|
521
|
-
box-shadow: 0 0 24px rgba(0, 0, 0, 0.12), 0 -12px 24px rgba(0, 0, 0, 0.24),
|
|
522
|
-
0 -12px 24px rgba(0, 0, 0, 0.16);
|
|
523
|
-
} .underlay__shadow-xl-hard-up_hkejj {
|
|
524
|
-
box-shadow: 0 0 32px rgba(0, 0, 0, 0.16), 0 -16px 32px rgba(0, 0, 0, 0.32),
|
|
525
|
-
0 -16px 32px rgba(0, 0, 0, 0.16);
|
|
526
|
-
} .underlay__border-color-accent_hkejj {
|
|
527
|
-
border-color: #f83a2a;
|
|
528
|
-
} .underlay__border-color-key_hkejj {
|
|
529
|
-
border-color: #fff;
|
|
530
|
-
} .underlay__border-color-key-inverted_hkejj {
|
|
531
|
-
border-color: #121213;
|
|
532
|
-
} .underlay__border-color-link_hkejj {
|
|
533
|
-
border-color: #3193fc;
|
|
534
|
-
} .underlay__border-color-primary_hkejj {
|
|
535
|
-
border-color: #353539;
|
|
536
|
-
} .underlay__border-color-primary-inverted_hkejj {
|
|
537
|
-
border-color: #d2d3d9;
|
|
538
|
-
} .underlay__border-color-secondary_hkejj {
|
|
539
|
-
border-color: #29292c;
|
|
540
|
-
} .underlay__border-color-secondary-inverted_hkejj {
|
|
541
|
-
border-color: #e7e8eb;
|
|
542
|
-
} .underlay__border-color-tertiary_hkejj {
|
|
543
|
-
border-color: #212124;
|
|
544
|
-
} .underlay__border-color-tertiary-inverted_hkejj {
|
|
545
|
-
border-color: #edeef0;
|
|
546
|
-
} .underlay__border-color-underline_hkejj {
|
|
547
|
-
border-color: #4a4a51;
|
|
548
|
-
} .underlay__border-color-underline-inverted_hkejj {
|
|
549
|
-
border-color: #babbc2;
|
|
550
|
-
} .underlay__border-color-graphic-attention_hkejj {
|
|
551
|
-
border-color: #fda136;
|
|
552
|
-
} .underlay__border-color-graphic-link_hkejj {
|
|
553
|
-
border-color: #3193fc;
|
|
554
|
-
} .underlay__border-color-graphic-negative_hkejj {
|
|
555
|
-
border-color: #ff4837;
|
|
556
|
-
} .underlay__border-color-graphic-positive_hkejj {
|
|
557
|
-
border-color: #17d055;
|
|
558
|
-
} .underlay__border-color-specialbg-secondary-transparent_hkejj {
|
|
559
|
-
border-color: rgba(225, 225, 248, 0.09);
|
|
560
|
-
} .underlay__border-color-specialbg-secondary-transparent-inverted_hkejj {
|
|
561
|
-
border-color: rgba(30, 43, 68, 0.08);
|
|
562
|
-
} .underlay__border-color-specialbg-tertiary-transparent_hkejj {
|
|
563
|
-
border-color: rgba(222, 222, 238, 0.13);
|
|
564
|
-
} .underlay__border-color-specialbg-tertiary-transparent-inverted_hkejj {
|
|
565
|
-
border-color: rgba(15, 25, 55, 0.1);
|
|
566
427
|
}
|
|
@@ -9,7 +9,6 @@ var coreComponentsPopover = require('../../../popover');
|
|
|
9
9
|
var coreComponentsPortal = require('../../../portal');
|
|
10
10
|
var coreComponentsStack = require('../../../stack');
|
|
11
11
|
var hooks = require('@alfalab/hooks');
|
|
12
|
-
var stackContext = require('@alfalab/stack-context');
|
|
13
12
|
|
|
14
13
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
14
|
|
|
@@ -29,7 +28,7 @@ var CSS_TRANSITION_CLASS_NAMES = {
|
|
|
29
28
|
var noop = function () { };
|
|
30
29
|
var BaseToast = React.forwardRef(function (_a, ref) {
|
|
31
30
|
var _b;
|
|
32
|
-
var anchorElement = _a.anchorElement, position = _a.position, offset = _a.offset, open = _a.open, _c = _a.autoCloseDelay, autoCloseDelay = _c === void 0 ? 3000 : _c, className = _a.className, titleClassName = _a.titleClassName, bottomOffset = _a.bottomOffset, _d = _a.style, style = _d === void 0 ? {} : _d, block = _a.block, _e = _a.zIndex, zIndex = _e === void 0 ?
|
|
31
|
+
var anchorElement = _a.anchorElement, position = _a.position, offset = _a.offset, open = _a.open, _c = _a.autoCloseDelay, autoCloseDelay = _c === void 0 ? 3000 : _c, className = _a.className, titleClassName = _a.titleClassName, bottomOffset = _a.bottomOffset, _d = _a.style, style = _d === void 0 ? {} : _d, block = _a.block, _e = _a.zIndex, zIndex = _e === void 0 ? coreComponentsStack.stackingOrder.TOAST : _e, ToastPlate = _a.ToastPlate, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onTouchStart = _a.onTouchStart, onClose = _a.onClose, getPortalContainer = _a.getPortalContainer, useAnchorWidth = _a.useAnchorWidth, _f = _a.closeWithClickOutside, closeWithClickOutside = _f === void 0 ? true : _f, fallbackPlacements = _a.fallbackPlacements, restProps = tslib.__rest(_a, ["anchorElement", "position", "offset", "open", "autoCloseDelay", "className", "titleClassName", "bottomOffset", "style", "block", "zIndex", "ToastPlate", "onMouseEnter", "onMouseLeave", "onTouchStart", "onClose", "getPortalContainer", "useAnchorWidth", "closeWithClickOutside", "fallbackPlacements"]);
|
|
33
32
|
var plateRef = React.useRef(null);
|
|
34
33
|
var timerId = React.useRef(0);
|
|
35
34
|
var prevOpen = hooks.usePrevious(open);
|
|
@@ -9,7 +9,6 @@ var coreComponentsPopover = require('../../../../popover/cssm');
|
|
|
9
9
|
var coreComponentsPortal = require('../../../../portal/cssm');
|
|
10
10
|
var coreComponentsStack = require('../../../../stack/cssm');
|
|
11
11
|
var hooks = require('@alfalab/hooks');
|
|
12
|
-
var stackContext = require('@alfalab/stack-context');
|
|
13
12
|
var styles = require('./index.module.css');
|
|
14
13
|
|
|
15
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -28,7 +27,7 @@ var CSS_TRANSITION_CLASS_NAMES = {
|
|
|
28
27
|
var noop = function () { };
|
|
29
28
|
var BaseToast = React.forwardRef(function (_a, ref) {
|
|
30
29
|
var _b;
|
|
31
|
-
var anchorElement = _a.anchorElement, position = _a.position, offset = _a.offset, open = _a.open, _c = _a.autoCloseDelay, autoCloseDelay = _c === void 0 ? 3000 : _c, className = _a.className, titleClassName = _a.titleClassName, bottomOffset = _a.bottomOffset, _d = _a.style, style = _d === void 0 ? {} : _d, block = _a.block, _e = _a.zIndex, zIndex = _e === void 0 ?
|
|
30
|
+
var anchorElement = _a.anchorElement, position = _a.position, offset = _a.offset, open = _a.open, _c = _a.autoCloseDelay, autoCloseDelay = _c === void 0 ? 3000 : _c, className = _a.className, titleClassName = _a.titleClassName, bottomOffset = _a.bottomOffset, _d = _a.style, style = _d === void 0 ? {} : _d, block = _a.block, _e = _a.zIndex, zIndex = _e === void 0 ? coreComponentsStack.stackingOrder.TOAST : _e, ToastPlate = _a.ToastPlate, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onTouchStart = _a.onTouchStart, onClose = _a.onClose, getPortalContainer = _a.getPortalContainer, useAnchorWidth = _a.useAnchorWidth, _f = _a.closeWithClickOutside, closeWithClickOutside = _f === void 0 ? true : _f, fallbackPlacements = _a.fallbackPlacements, restProps = tslib.__rest(_a, ["anchorElement", "position", "offset", "open", "autoCloseDelay", "className", "titleClassName", "bottomOffset", "style", "block", "zIndex", "ToastPlate", "onMouseEnter", "onMouseLeave", "onTouchStart", "onClose", "getPortalContainer", "useAnchorWidth", "closeWithClickOutside", "fallbackPlacements"]);
|
|
32
31
|
var plateRef = React.useRef(null);
|
|
33
32
|
var timerId = React.useRef(0);
|
|
34
33
|
var prevOpen = hooks.usePrevious(open);
|
|
@@ -5,9 +5,8 @@ import { CSSTransition } from 'react-transition-group';
|
|
|
5
5
|
import cn from 'classnames';
|
|
6
6
|
import { Popover } from '../../../../popover/esm';
|
|
7
7
|
import { Portal } from '../../../../portal/esm';
|
|
8
|
-
import { Stack } from '../../../../stack/esm';
|
|
8
|
+
import { stackingOrder, Stack } from '../../../../stack/esm';
|
|
9
9
|
import { usePrevious, useClickOutside } from '@alfalab/hooks';
|
|
10
|
-
import { stackingOrder } from '@alfalab/stack-context';
|
|
11
10
|
|
|
12
11
|
var styles = {"toastPlate":"toast__toastPlate_16l0f","title":"toast__title_16l0f","popoverInner":"toast__popoverInner_16l0f","block":"toast__block_16l0f","fixed":"toast__fixed_16l0f","enter":"toast__enter_16l0f","enterActive":"toast__enterActive_16l0f","exit":"toast__exit_16l0f","exitActive":"toast__exitActive_16l0f"};
|
|
13
12
|
require('./index.css');
|
|
@@ -9,7 +9,6 @@ import '../../../popover/esm';
|
|
|
9
9
|
import '../../../portal/esm';
|
|
10
10
|
import '../../../stack/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
-
import '@alfalab/stack-context';
|
|
13
12
|
|
|
14
13
|
var DefaultToastPlateDesktop = forwardRef(function (props, ref) { return (React.createElement(ToastPlateDesktop, __assign({ ref: ref }, props))); });
|
|
15
14
|
var ToastDesktop = forwardRef(function (_a, ref) {
|
package/toast/esm/index.js
CHANGED
|
@@ -9,7 +9,6 @@ import '../../../popover/esm';
|
|
|
9
9
|
import '../../../portal/esm';
|
|
10
10
|
import '../../../stack/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
-
import '@alfalab/stack-context';
|
|
13
12
|
|
|
14
13
|
var DefaultToastPlateMobile = forwardRef(function (props, ref) { return (React.createElement(ToastPlateMobile, __assign({ ref: ref }, props))); });
|
|
15
14
|
var ToastMobile = forwardRef(function (_a, ref) {
|
|
@@ -11,7 +11,6 @@ import '../../popover/modern';
|
|
|
11
11
|
import '../../portal/modern';
|
|
12
12
|
import '../../stack/modern';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import '@alfalab/stack-context';
|
|
15
14
|
import '../../toast-plate/modern/mobile';
|
|
16
15
|
|
|
17
16
|
const Toast = forwardRef(({ children, breakpoint = 1024, ...restProps }, ref) => {
|
|
@@ -4,9 +4,8 @@ import { CSSTransition } from 'react-transition-group';
|
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { Popover } from '../../../../popover/modern';
|
|
6
6
|
import { Portal } from '../../../../portal/modern';
|
|
7
|
-
import { Stack } from '../../../../stack/modern';
|
|
7
|
+
import { Stack, stackingOrder } from '../../../../stack/modern';
|
|
8
8
|
import { usePrevious, useClickOutside } from '@alfalab/hooks';
|
|
9
|
-
import { stackingOrder } from '@alfalab/stack-context';
|
|
10
9
|
|
|
11
10
|
const styles = {"toastPlate":"toast__toastPlate_16l0f","title":"toast__title_16l0f","popoverInner":"toast__popoverInner_16l0f","block":"toast__block_16l0f","fixed":"toast__fixed_16l0f","enter":"toast__enter_16l0f","enterActive":"toast__enterActive_16l0f","exit":"toast__exit_16l0f","exitActive":"toast__exitActive_16l0f"};
|
|
12
11
|
require('./index.css');
|
|
@@ -8,7 +8,6 @@ import '../../../popover/modern';
|
|
|
8
8
|
import '../../../portal/modern';
|
|
9
9
|
import '../../../stack/modern';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
-
import '@alfalab/stack-context';
|
|
12
11
|
|
|
13
12
|
const DefaultToastPlateDesktop = forwardRef((props, ref) => (React.createElement(ToastPlateDesktop, { ref: ref, ...props })));
|
|
14
13
|
const ToastDesktop = forwardRef(({ ToastPlate = DefaultToastPlateDesktop, ...restProps }, ref) => (React.createElement(BaseToast, { ToastPlate: ToastPlate, ...restProps, ref: ref })));
|