@alfalab/core-components 47.0.0-beta.1 → 47.0.0-beta.2
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 +2 -1
- package/base-modal/cssm/Component.js +2 -1
- package/base-modal/esm/Component.js +2 -1
- package/base-modal/esm/index.js +1 -0
- package/base-modal/modern/Component.js +2 -1
- package/base-modal/modern/index.js +1 -0
- package/calendar-range/utils.js +3 -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/icon-button/Component.d.ts +10 -0
- package/icon-button/Component.js +4 -3
- package/icon-button/cssm/Component.d.ts +10 -0
- package/icon-button/cssm/Component.js +2 -1
- package/icon-button/cssm/default.module.css +35 -3
- package/icon-button/cssm/inverted.module.css +35 -3
- package/icon-button/default.css +35 -3
- package/icon-button/esm/Component.d.ts +10 -0
- package/icon-button/esm/Component.js +4 -3
- package/icon-button/esm/default.css +35 -3
- package/icon-button/esm/inverted.css +35 -3
- package/icon-button/inverted.css +35 -3
- package/icon-button/modern/Component.d.ts +10 -0
- package/icon-button/modern/Component.js +4 -3
- package/icon-button/modern/default.css +35 -3
- package/icon-button/modern/inverted.css +35 -3
- package/input/components/base-input/Component.d.ts +2 -2
- package/input/cssm/components/base-input/Component.d.ts +2 -2
- package/input/esm/components/base-input/Component.d.ts +2 -2
- package/input/modern/components/base-input/Component.d.ts +2 -2
- package/international-phone-input/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/Component.responsive.d.ts +4 -4
- package/international-phone-input/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/cssm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/cssm/Component.responsive.d.ts +4 -4
- package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/cssm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/cssm/types.d.ts +1 -1
- package/international-phone-input/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/cssm/utils-89376c31.d.ts +1 -1
- package/international-phone-input/esm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/esm/Component.responsive.d.ts +4 -4
- package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/esm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/esm/types.d.ts +1 -1
- package/international-phone-input/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/esm/utils-89376c31.d.ts +1 -1
- package/international-phone-input/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
- package/international-phone-input/modern/Component.responsive.d.ts +4 -4
- package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts +1 -1
- package/international-phone-input/modern/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/types.d.ts +1 -1
- package/international-phone-input/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/modern/utils-89376c31.d.ts +1 -1
- package/international-phone-input/types.d.ts +1 -1
- package/international-phone-input/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
- package/international-phone-input/utils-89376c31.d.ts +1 -1
- 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 +2 -1
- package/notification/cssm/Component.js +2 -1
- package/notification/esm/Component.js +2 -1
- package/notification/esm/index.js +1 -0
- package/notification/modern/Component.js +2 -1
- package/notification/modern/index.js +1 -0
- package/notification-manager/component.js +2 -1
- package/notification-manager/cssm/component.js +2 -1
- package/notification-manager/esm/component.js +2 -1
- package/notification-manager/esm/index.js +1 -0
- package/notification-manager/modern/component.js +2 -1
- package/notification-manager/modern/index.js +1 -0
- package/package.json +2 -1
- package/picker-button/Component-0f35b62f.d.ts +5 -0
- package/picker-button/Component-c44170fe.d.ts +2 -2
- package/picker-button/cssm/Component-0f35b62f.d.ts +5 -0
- package/picker-button/cssm/Component-c44170fe.d.ts +2 -2
- package/picker-button/cssm/field/Component.d.ts +1 -1
- package/picker-button/cssm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/cssm/utils-89376c31.d.ts +1 -1
- package/picker-button/esm/Component-0f35b62f.d.ts +5 -0
- package/picker-button/esm/Component-c44170fe.d.ts +2 -2
- package/picker-button/esm/field/Component.d.ts +1 -1
- package/picker-button/esm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/esm/utils-89376c31.d.ts +1 -1
- package/picker-button/field/Component.d.ts +1 -1
- package/picker-button/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/Component-0f35b62f.d.ts +5 -0
- package/picker-button/modern/Component-c44170fe.d.ts +2 -2
- package/picker-button/modern/field/Component.d.ts +1 -1
- package/picker-button/modern/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/modern/utils-89376c31.d.ts +1 -1
- package/picker-button/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
- package/picker-button/utils-89376c31.d.ts +1 -1
- package/popover/Component.js +2 -1
- package/popover/cssm/Component.js +2 -1
- package/popover/esm/Component.js +2 -1
- package/popover/esm/index.js +1 -0
- package/popover/modern/Component.js +2 -1
- package/popover/modern/index.js +1 -0
- package/select/components/base-select/Component.js +2 -2
- package/select/components/options-list/Component.js +2 -2
- package/select/components/virtual-options-list/Component.js +4 -2
- package/select/cssm/components/base-select/Component.js +2 -2
- package/select/cssm/components/options-list/Component.js +2 -2
- package/select/cssm/components/virtual-options-list/Component.js +4 -2
- package/select/cssm/typings.d.ts +32 -0
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/options-list/Component.js +2 -2
- package/select/esm/components/virtual-options-list/Component.js +4 -2
- package/select/esm/typings.d.ts +32 -0
- package/select/modern/components/base-select/Component.js +2 -2
- package/select/modern/components/options-list/Component.js +2 -2
- package/select/modern/components/virtual-options-list/Component.js +2 -2
- package/select/modern/typings.d.ts +32 -0
- package/select/typings.d.ts +32 -0
- package/stack/component.js +4 -4
- package/stack/cssm/component.js +4 -4
- package/stack/cssm/index.d.ts +0 -1
- package/stack/cssm/index.js +0 -3
- package/stack/esm/component.js +1 -1
- package/stack/esm/index.d.ts +0 -1
- package/stack/esm/index.js +1 -1
- package/stack/index.d.ts +0 -1
- package/stack/index.js +0 -3
- package/stack/modern/component.js +1 -1
- package/stack/modern/index.d.ts +0 -1
- package/stack/modern/index.js +1 -1
- package/status/Component.d.ts +2 -1
- package/status/Component.js +2 -2
- package/status/cssm/Component.d.ts +2 -1
- package/status/cssm/Component.js +1 -1
- package/status/cssm/index.module.css +74 -29
- package/status/esm/Component.d.ts +2 -1
- package/status/esm/Component.js +2 -2
- package/status/esm/index.css +55 -27
- package/status/index.css +55 -27
- package/status/modern/Component.d.ts +2 -1
- package/status/modern/Component.js +2 -2
- package/status/modern/index.css +55 -27
- package/themes/click.css +0 -1516
- package/themes/compiled/mobile-dark-bluetint.css +210 -50
- package/themes/corp.css +0 -1516
- package/themes/intranet.css +0 -1516
- package/themes/mobile.css +0 -1516
- package/themes/site.css +0 -1516
- package/toast/components/base-toast/component.js +2 -1
- package/toast/cssm/components/base-toast/component.js +2 -1
- package/toast/esm/Component.responsive.js +1 -0
- package/toast/esm/components/base-toast/component.js +2 -1
- package/toast/esm/components/base-toast/index.js +1 -0
- package/toast/esm/desktop/Component.desktop.js +1 -0
- package/toast/esm/desktop/index.js +1 -0
- package/toast/esm/index.js +1 -0
- package/toast/esm/mobile/Component.mobile.js +1 -0
- package/toast/esm/mobile/index.js +1 -0
- package/toast/modern/Component.responsive.js +1 -0
- package/toast/modern/components/base-toast/component.js +2 -1
- package/toast/modern/components/base-toast/index.js +1 -0
- package/toast/modern/desktop/Component.desktop.js +1 -0
- package/toast/modern/desktop/index.js +1 -0
- package/toast/modern/index.js +1 -0
- package/toast/modern/mobile/Component.mobile.js +1 -0
- package/toast/modern/mobile/index.js +1 -0
- 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 +1 -13
- package/universal-date-input/esm/index-5712fce2.d.ts +1 -13
- package/universal-date-input/index-5712fce2.d.ts +1 -13
- package/universal-date-input/modern/index-5712fce2.d.ts +1 -13
- package/international-phone-input/cssm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/esm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/index-136acbb1.d.ts +0 -28
- package/international-phone-input/modern/index-136acbb1.d.ts +0 -28
- package/picker-button/Component-1fe708ea.d.ts +0 -5
- package/picker-button/cssm/Component-1fe708ea.d.ts +0 -5
- package/picker-button/esm/Component-1fe708ea.d.ts +0 -5
- package/picker-button/modern/Component-1fe708ea.d.ts +0 -5
- package/stack/context.d.ts +0 -29
- package/stack/context.js +0 -34
- package/stack/cssm/context.d.ts +0 -29
- package/stack/cssm/context.js +0 -34
- package/stack/esm/context.d.ts +0 -29
- package/stack/esm/context.js +0 -31
- package/stack/modern/context.d.ts +0 -29
- package/stack/modern/context.js +0 -31
- /package/gallery/{buttons-36b3ca68.d.ts → buttons-2c587253.d.ts} +0 -0
- /package/gallery/{buttons-36b3ca68.js → buttons-2c587253.js} +0 -0
- /package/gallery/esm/{buttons-49e609ab.d.ts → buttons-fb317559.d.ts} +0 -0
- /package/gallery/esm/{buttons-49e609ab.js → buttons-fb317559.js} +0 -0
- /package/gallery/esm/{slide-01af06f1.d.ts → slide-cb44c8ba.d.ts} +0 -0
- /package/gallery/esm/{slide-01af06f1.js → slide-cb44c8ba.js} +0 -0
- /package/gallery/modern/{buttons-9e01c41d.d.ts → buttons-0d4c9cc6.d.ts} +0 -0
- /package/gallery/modern/{buttons-9e01c41d.js → buttons-0d4c9cc6.js} +0 -0
- /package/gallery/modern/{slide-0932c021.d.ts → slide-3771e01f.d.ts} +0 -0
- /package/gallery/modern/{slide-0932c021.js → slide-3771e01f.js} +0 -0
- /package/gallery/{slide-cbb98cfd.d.ts → slide-a4b1c89f.d.ts} +0 -0
- /package/gallery/{slide-cbb98cfd.js → slide-a4b1c89f.js} +0 -0
- /package/modal/esm/{layout.module-8f4bb5c4.js → layout.module-5977466c.js} +0 -0
- /package/modal/{layout.module-dd4e6f62.js → layout.module-74b07012.js} +0 -0
- /package/modal/modern/{layout.module-6bc66458.js → layout.module-565c309a.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-1e8085ca.d.ts → getDataTestId-32922464.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-1e8085ca.js → getDataTestId-32922464.js} +0 -0
- /package/toast-plate/{getDataTestId-4ff6c5ff.d.ts → getDataTestId-64de4ccf.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-4ff6c5ff.js → getDataTestId-64de4ccf.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-11ebf806.d.ts → getDataTestId-4d724a67.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-11ebf806.js → getDataTestId-4d724a67.js} +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FC, ReactNode } from "react";
|
|
3
|
-
/**
|
|
4
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
5
|
-
* Значения выбраны по приоритету.
|
|
6
|
-
*/
|
|
7
|
-
declare const stackingOrder: {
|
|
8
|
-
FOCUSED: number;
|
|
9
|
-
DEFAULT: number;
|
|
10
|
-
POPOVER: number;
|
|
11
|
-
MODAL: number;
|
|
12
|
-
TOAST: number;
|
|
13
|
-
};
|
|
14
|
-
declare const StackingContext: import("react").Context<number>;
|
|
15
|
-
type StackProps = {
|
|
16
|
-
/**
|
|
17
|
-
* Render prop, в который передается функция.
|
|
18
|
-
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
19
|
-
*/
|
|
20
|
-
children: (value: number) => ReactNode;
|
|
21
|
-
/**
|
|
22
|
-
* Исходное значение для z-index.
|
|
23
|
-
* @default 5
|
|
24
|
-
*/
|
|
25
|
-
value?: number;
|
|
26
|
-
};
|
|
27
|
-
declare const Stack: FC<StackProps>;
|
|
28
|
-
export { stackingOrder, StackingContext, StackProps, Stack };
|
package/stack/context.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
4
|
-
* Значения выбраны по приоритету.
|
|
5
|
-
*/
|
|
6
|
-
declare const stackingOrder: {
|
|
7
|
-
/**
|
|
8
|
-
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
9
|
-
*/
|
|
10
|
-
FOCUSED: number;
|
|
11
|
-
/**
|
|
12
|
-
* Значение по-умолчанию
|
|
13
|
-
*/
|
|
14
|
-
DEFAULT: number;
|
|
15
|
-
/**
|
|
16
|
-
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
17
|
-
*/
|
|
18
|
-
POPOVER: number;
|
|
19
|
-
/**
|
|
20
|
-
* Для модальных окон с оверлеем
|
|
21
|
-
*/
|
|
22
|
-
MODAL: number;
|
|
23
|
-
/**
|
|
24
|
-
* Для тостов и нотификаций
|
|
25
|
-
*/
|
|
26
|
-
TOAST: number;
|
|
27
|
-
};
|
|
28
|
-
declare const StackingContext: import("react").Context<number>;
|
|
29
|
-
export { stackingOrder, StackingContext };
|
package/stack/context.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
7
|
-
* Значения выбраны по приоритету.
|
|
8
|
-
*/
|
|
9
|
-
var stackingOrder = {
|
|
10
|
-
/**
|
|
11
|
-
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
12
|
-
*/
|
|
13
|
-
FOCUSED: 2,
|
|
14
|
-
/**
|
|
15
|
-
* Значение по-умолчанию
|
|
16
|
-
*/
|
|
17
|
-
DEFAULT: 10,
|
|
18
|
-
/**
|
|
19
|
-
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
20
|
-
*/
|
|
21
|
-
POPOVER: 50,
|
|
22
|
-
/**
|
|
23
|
-
* Для модальных окон с оверлеем
|
|
24
|
-
*/
|
|
25
|
-
MODAL: 100,
|
|
26
|
-
/**
|
|
27
|
-
* Для тостов и нотификаций
|
|
28
|
-
*/
|
|
29
|
-
TOAST: 1000,
|
|
30
|
-
};
|
|
31
|
-
var StackingContext = React.createContext(stackingOrder.DEFAULT);
|
|
32
|
-
|
|
33
|
-
exports.StackingContext = StackingContext;
|
|
34
|
-
exports.stackingOrder = stackingOrder;
|
package/stack/cssm/context.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
4
|
-
* Значения выбраны по приоритету.
|
|
5
|
-
*/
|
|
6
|
-
declare const stackingOrder: {
|
|
7
|
-
/**
|
|
8
|
-
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
9
|
-
*/
|
|
10
|
-
FOCUSED: number;
|
|
11
|
-
/**
|
|
12
|
-
* Значение по-умолчанию
|
|
13
|
-
*/
|
|
14
|
-
DEFAULT: number;
|
|
15
|
-
/**
|
|
16
|
-
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
17
|
-
*/
|
|
18
|
-
POPOVER: number;
|
|
19
|
-
/**
|
|
20
|
-
* Для модальных окон с оверлеем
|
|
21
|
-
*/
|
|
22
|
-
MODAL: number;
|
|
23
|
-
/**
|
|
24
|
-
* Для тостов и нотификаций
|
|
25
|
-
*/
|
|
26
|
-
TOAST: number;
|
|
27
|
-
};
|
|
28
|
-
declare const StackingContext: import("react").Context<number>;
|
|
29
|
-
export { stackingOrder, StackingContext };
|
package/stack/cssm/context.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
7
|
-
* Значения выбраны по приоритету.
|
|
8
|
-
*/
|
|
9
|
-
var stackingOrder = {
|
|
10
|
-
/**
|
|
11
|
-
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
12
|
-
*/
|
|
13
|
-
FOCUSED: 2,
|
|
14
|
-
/**
|
|
15
|
-
* Значение по-умолчанию
|
|
16
|
-
*/
|
|
17
|
-
DEFAULT: 10,
|
|
18
|
-
/**
|
|
19
|
-
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
20
|
-
*/
|
|
21
|
-
POPOVER: 50,
|
|
22
|
-
/**
|
|
23
|
-
* Для модальных окон с оверлеем
|
|
24
|
-
*/
|
|
25
|
-
MODAL: 100,
|
|
26
|
-
/**
|
|
27
|
-
* Для тостов и нотификаций
|
|
28
|
-
*/
|
|
29
|
-
TOAST: 1000,
|
|
30
|
-
};
|
|
31
|
-
var StackingContext = React.createContext(stackingOrder.DEFAULT);
|
|
32
|
-
|
|
33
|
-
exports.StackingContext = StackingContext;
|
|
34
|
-
exports.stackingOrder = stackingOrder;
|
package/stack/esm/context.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
4
|
-
* Значения выбраны по приоритету.
|
|
5
|
-
*/
|
|
6
|
-
declare const stackingOrder: {
|
|
7
|
-
/**
|
|
8
|
-
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
9
|
-
*/
|
|
10
|
-
FOCUSED: number;
|
|
11
|
-
/**
|
|
12
|
-
* Значение по-умолчанию
|
|
13
|
-
*/
|
|
14
|
-
DEFAULT: number;
|
|
15
|
-
/**
|
|
16
|
-
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
17
|
-
*/
|
|
18
|
-
POPOVER: number;
|
|
19
|
-
/**
|
|
20
|
-
* Для модальных окон с оверлеем
|
|
21
|
-
*/
|
|
22
|
-
MODAL: number;
|
|
23
|
-
/**
|
|
24
|
-
* Для тостов и нотификаций
|
|
25
|
-
*/
|
|
26
|
-
TOAST: number;
|
|
27
|
-
};
|
|
28
|
-
declare const StackingContext: import("react").Context<number>;
|
|
29
|
-
export { stackingOrder, StackingContext };
|
package/stack/esm/context.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { createContext } from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
5
|
-
* Значения выбраны по приоритету.
|
|
6
|
-
*/
|
|
7
|
-
var 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
|
-
var StackingContext = createContext(stackingOrder.DEFAULT);
|
|
30
|
-
|
|
31
|
-
export { StackingContext, stackingOrder };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
4
|
-
* Значения выбраны по приоритету.
|
|
5
|
-
*/
|
|
6
|
-
declare const stackingOrder: {
|
|
7
|
-
/**
|
|
8
|
-
* Для компонентов с возможностью фокуса: кнопки, поля ввода
|
|
9
|
-
*/
|
|
10
|
-
FOCUSED: number;
|
|
11
|
-
/**
|
|
12
|
-
* Значение по-умолчанию
|
|
13
|
-
*/
|
|
14
|
-
DEFAULT: number;
|
|
15
|
-
/**
|
|
16
|
-
* Компоненты, которые управляют своей позицией, например, поповер, тултип
|
|
17
|
-
*/
|
|
18
|
-
POPOVER: number;
|
|
19
|
-
/**
|
|
20
|
-
* Для модальных окон с оверлеем
|
|
21
|
-
*/
|
|
22
|
-
MODAL: number;
|
|
23
|
-
/**
|
|
24
|
-
* Для тостов и нотификаций
|
|
25
|
-
*/
|
|
26
|
-
TOAST: number;
|
|
27
|
-
};
|
|
28
|
-
declare const StackingContext: import("react").Context<number>;
|
|
29
|
-
export { stackingOrder, StackingContext };
|
package/stack/modern/context.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|