@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
|
@@ -9,6 +9,7 @@ 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');
|
|
12
13
|
|
|
13
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
15
|
|
|
@@ -28,7 +29,7 @@ var CSS_TRANSITION_CLASS_NAMES = {
|
|
|
28
29
|
var noop = function () { };
|
|
29
30
|
var BaseToast = React.forwardRef(function (_a, ref) {
|
|
30
31
|
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 ?
|
|
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 ? stackContext.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
33
|
var plateRef = React.useRef(null);
|
|
33
34
|
var timerId = React.useRef(0);
|
|
34
35
|
var prevOpen = hooks.usePrevious(open);
|
|
@@ -9,6 +9,7 @@ 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');
|
|
12
13
|
var styles = require('./index.module.css');
|
|
13
14
|
|
|
14
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -27,7 +28,7 @@ var CSS_TRANSITION_CLASS_NAMES = {
|
|
|
27
28
|
var noop = function () { };
|
|
28
29
|
var BaseToast = React.forwardRef(function (_a, ref) {
|
|
29
30
|
var _b;
|
|
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 ?
|
|
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 ? stackContext.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"]);
|
|
31
32
|
var plateRef = React.useRef(null);
|
|
32
33
|
var timerId = React.useRef(0);
|
|
33
34
|
var prevOpen = hooks.usePrevious(open);
|
|
@@ -5,8 +5,9 @@ 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 {
|
|
8
|
+
import { Stack } from '../../../../stack/esm';
|
|
9
9
|
import { usePrevious, useClickOutside } from '@alfalab/hooks';
|
|
10
|
+
import { stackingOrder } from '@alfalab/stack-context';
|
|
10
11
|
|
|
11
12
|
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"};
|
|
12
13
|
require('./index.css');
|
|
@@ -9,6 +9,7 @@ import '../../../popover/esm';
|
|
|
9
9
|
import '../../../portal/esm';
|
|
10
10
|
import '../../../stack/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
+
import '@alfalab/stack-context';
|
|
12
13
|
|
|
13
14
|
var DefaultToastPlateDesktop = forwardRef(function (props, ref) { return (React.createElement(ToastPlateDesktop, __assign({ ref: ref }, props))); });
|
|
14
15
|
var ToastDesktop = forwardRef(function (_a, ref) {
|
package/toast/esm/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import '../../../popover/esm';
|
|
|
9
9
|
import '../../../portal/esm';
|
|
10
10
|
import '../../../stack/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
+
import '@alfalab/stack-context';
|
|
12
13
|
|
|
13
14
|
var DefaultToastPlateMobile = forwardRef(function (props, ref) { return (React.createElement(ToastPlateMobile, __assign({ ref: ref }, props))); });
|
|
14
15
|
var ToastMobile = forwardRef(function (_a, ref) {
|
|
@@ -11,6 +11,7 @@ import '../../popover/modern';
|
|
|
11
11
|
import '../../portal/modern';
|
|
12
12
|
import '../../stack/modern';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
+
import '@alfalab/stack-context';
|
|
14
15
|
import '../../toast-plate/modern/mobile';
|
|
15
16
|
|
|
16
17
|
const Toast = forwardRef(({ children, breakpoint = 1024, ...restProps }, ref) => {
|
|
@@ -4,8 +4,9 @@ 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
|
|
7
|
+
import { Stack } from '../../../../stack/modern';
|
|
8
8
|
import { usePrevious, useClickOutside } from '@alfalab/hooks';
|
|
9
|
+
import { stackingOrder } from '@alfalab/stack-context';
|
|
9
10
|
|
|
10
11
|
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"};
|
|
11
12
|
require('./index.css');
|
|
@@ -8,6 +8,7 @@ import '../../../popover/modern';
|
|
|
8
8
|
import '../../../portal/modern';
|
|
9
9
|
import '../../../stack/modern';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
+
import '@alfalab/stack-context';
|
|
11
12
|
|
|
12
13
|
const DefaultToastPlateDesktop = forwardRef((props, ref) => (React.createElement(ToastPlateDesktop, { ref: ref, ...props })));
|
|
13
14
|
const ToastDesktop = forwardRef(({ ToastPlate = DefaultToastPlateDesktop, ...restProps }, ref) => (React.createElement(BaseToast, { ToastPlate: ToastPlate, ...restProps, ref: ref })));
|
package/toast/modern/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import '../../../popover/modern';
|
|
|
8
8
|
import '../../../portal/modern';
|
|
9
9
|
import '../../../stack/modern';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
+
import '@alfalab/stack-context';
|
|
11
12
|
|
|
12
13
|
const DefaultToastPlateMobile = forwardRef((props, ref) => (React.createElement(ToastPlateMobile, { ref: ref, ...props })));
|
|
13
14
|
const ToastMobile = forwardRef(({ ToastPlate = DefaultToastPlateMobile, ...restProps }, ref) => (React.createElement(BaseToast, { ToastPlate: ToastPlate, ...restProps, ref: ref })));
|
|
@@ -4,7 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsIconButton = require('../../../icon-button');
|
|
7
|
-
var getDataTestId = require('../../getDataTestId-
|
|
7
|
+
var getDataTestId = require('../../getDataTestId-64de4ccf.js');
|
|
8
8
|
require('@alfalab/hooks');
|
|
9
9
|
var coreComponentsStatusBadge = require('../../../status-badge');
|
|
10
10
|
var CrossMIcon = require('@alfalab/icons-glyph/CrossMIcon');
|
|
@@ -6,7 +6,7 @@ import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
|
6
6
|
import './components/base-toast-plate/component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../../icon-button/esm';
|
|
9
|
-
import './getDataTestId-
|
|
9
|
+
import './getDataTestId-32922464.js';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../../status-badge/esm';
|
|
12
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { IconButton } from '../../../../icon-button/esm';
|
|
5
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-32922464.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import { StatusBadge } from '../../../../status-badge/esm';
|
|
8
8
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import 'tslib';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../../icon-button/esm';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-32922464.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../../status-badge/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/esm';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-32922464.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../../icon-button/esm';
|
|
7
|
-
import '../getDataTestId-
|
|
7
|
+
import '../getDataTestId-32922464.js';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '../../../status-badge/esm';
|
|
10
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -66,6 +66,6 @@ declare const dom: {
|
|
|
66
66
|
preventDefault: typeof preventDefault;
|
|
67
67
|
};
|
|
68
68
|
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-
|
|
69
|
+
export * from "./getDataTestId-32922464";
|
|
70
70
|
export * from "./browser-a216f694";
|
|
71
71
|
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
package/toast-plate/esm/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import './desktop/Component.desktop.js';
|
|
|
6
6
|
import './components/base-toast-plate/component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../../icon-button/esm';
|
|
9
|
-
import './getDataTestId-
|
|
9
|
+
import './getDataTestId-32922464.js';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../../status-badge/esm';
|
|
12
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/esm';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-32922464.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -4,7 +4,7 @@ import 'react';
|
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../../icon-button/esm';
|
|
7
|
-
import '../getDataTestId-
|
|
7
|
+
import '../getDataTestId-32922464.js';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '../../../status-badge/esm';
|
|
10
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -66,6 +66,6 @@ declare const dom: {
|
|
|
66
66
|
preventDefault: typeof preventDefault;
|
|
67
67
|
};
|
|
68
68
|
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-
|
|
69
|
+
export * from "./getDataTestId-64de4ccf";
|
|
70
70
|
export * from "./browser-a216f694";
|
|
71
71
|
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -5,7 +5,7 @@ import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../icon-button/modern';
|
|
8
|
-
import './getDataTestId-
|
|
8
|
+
import './getDataTestId-4d724a67.js';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../status-badge/modern';
|
|
11
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { IconButton } from '../../../../icon-button/modern';
|
|
4
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-4d724a67.js';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import { StatusBadge } from '../../../../status-badge/modern';
|
|
7
7
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ export { BaseToastPlate } from './component.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../../icon-button/modern';
|
|
5
|
-
import '../../getDataTestId-
|
|
5
|
+
import '../../getDataTestId-4d724a67.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../../../../status-badge/modern';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../icon-button/modern';
|
|
5
|
-
import '../getDataTestId-
|
|
5
|
+
import '../getDataTestId-4d724a67.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../../../status-badge/modern';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import 'react';
|
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/modern';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-4d724a67.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/modern';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -66,6 +66,6 @@ declare const dom: {
|
|
|
66
66
|
preventDefault: typeof preventDefault;
|
|
67
67
|
};
|
|
68
68
|
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-
|
|
69
|
+
export * from "./getDataTestId-4d724a67";
|
|
70
70
|
export * from "./browser-a216f694";
|
|
71
71
|
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -5,7 +5,7 @@ import './desktop/Component.desktop.js';
|
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../icon-button/modern';
|
|
8
|
-
import './getDataTestId-
|
|
8
|
+
import './getDataTestId-4d724a67.js';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../status-badge/modern';
|
|
11
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../icon-button/modern';
|
|
5
|
-
import '../getDataTestId-
|
|
5
|
+
import '../getDataTestId-4d724a67.js';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../../../status-badge/modern';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -3,7 +3,7 @@ import 'react';
|
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/modern';
|
|
6
|
-
import '../getDataTestId-
|
|
6
|
+
import '../getDataTestId-4d724a67.js';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../../../status-badge/modern';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
@@ -750,18 +750,6 @@ declare const SIZE_TO_CLASSNAME_MAP: {
|
|
|
750
750
|
800: string;
|
|
751
751
|
1140: string;
|
|
752
752
|
};
|
|
753
|
-
/**
|
|
754
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
755
|
-
* Значения выбраны по приоритету.
|
|
756
|
-
*/
|
|
757
|
-
declare const stackingOrder: {
|
|
758
|
-
FOCUSED: number;
|
|
759
|
-
DEFAULT: number;
|
|
760
|
-
POPOVER: number;
|
|
761
|
-
MODAL: number;
|
|
762
|
-
TOAST: number;
|
|
763
|
-
};
|
|
764
|
-
declare const StackingContext: import("react").Context<number>;
|
|
765
753
|
type StackProps = {
|
|
766
754
|
/**
|
|
767
755
|
* Render prop, в который передается функция.
|
|
@@ -989,7 +977,7 @@ type YearsTableProps = {
|
|
|
989
977
|
responsive?: boolean;
|
|
990
978
|
};
|
|
991
979
|
declare const YearsTable: FC<YearsTableProps>;
|
|
992
|
-
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP,
|
|
980
|
+
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore, Typography, typographyPresets, TitleResponsive, getDefaultWeight, YearsTableProps, YearsTable };
|
|
993
981
|
export * from "./Component-5684a67d";
|
|
994
982
|
export type { SavedStyle, TitleProps, TextProps, Color };
|
|
995
983
|
export * from "./use-skeleton-1328ead9";
|
|
@@ -750,18 +750,6 @@ declare const SIZE_TO_CLASSNAME_MAP: {
|
|
|
750
750
|
800: string;
|
|
751
751
|
1140: string;
|
|
752
752
|
};
|
|
753
|
-
/**
|
|
754
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
755
|
-
* Значения выбраны по приоритету.
|
|
756
|
-
*/
|
|
757
|
-
declare const stackingOrder: {
|
|
758
|
-
FOCUSED: number;
|
|
759
|
-
DEFAULT: number;
|
|
760
|
-
POPOVER: number;
|
|
761
|
-
MODAL: number;
|
|
762
|
-
TOAST: number;
|
|
763
|
-
};
|
|
764
|
-
declare const StackingContext: import("react").Context<number>;
|
|
765
753
|
type StackProps = {
|
|
766
754
|
/**
|
|
767
755
|
* Render prop, в который передается функция.
|
|
@@ -989,7 +977,7 @@ type YearsTableProps = {
|
|
|
989
977
|
responsive?: boolean;
|
|
990
978
|
};
|
|
991
979
|
declare const YearsTable: FC<YearsTableProps>;
|
|
992
|
-
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP,
|
|
980
|
+
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore, Typography, typographyPresets, TitleResponsive, getDefaultWeight, YearsTableProps, YearsTable };
|
|
993
981
|
export * from "./Component-5684a67d";
|
|
994
982
|
export type { SavedStyle, TitleProps, TextProps, Color };
|
|
995
983
|
export * from "./use-skeleton-1328ead9";
|
|
@@ -750,18 +750,6 @@ declare const SIZE_TO_CLASSNAME_MAP: {
|
|
|
750
750
|
800: string;
|
|
751
751
|
1140: string;
|
|
752
752
|
};
|
|
753
|
-
/**
|
|
754
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
755
|
-
* Значения выбраны по приоритету.
|
|
756
|
-
*/
|
|
757
|
-
declare const stackingOrder: {
|
|
758
|
-
FOCUSED: number;
|
|
759
|
-
DEFAULT: number;
|
|
760
|
-
POPOVER: number;
|
|
761
|
-
MODAL: number;
|
|
762
|
-
TOAST: number;
|
|
763
|
-
};
|
|
764
|
-
declare const StackingContext: import("react").Context<number>;
|
|
765
753
|
type StackProps = {
|
|
766
754
|
/**
|
|
767
755
|
* Render prop, в который передается функция.
|
|
@@ -989,7 +977,7 @@ type YearsTableProps = {
|
|
|
989
977
|
responsive?: boolean;
|
|
990
978
|
};
|
|
991
979
|
declare const YearsTable: FC<YearsTableProps>;
|
|
992
|
-
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP,
|
|
980
|
+
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore, Typography, typographyPresets, TitleResponsive, getDefaultWeight, YearsTableProps, YearsTable };
|
|
993
981
|
export * from "./Component-5684a67d";
|
|
994
982
|
export type { SavedStyle, TitleProps, TextProps, Color };
|
|
995
983
|
export * from "./use-skeleton-1328ead9";
|
|
@@ -750,18 +750,6 @@ declare const SIZE_TO_CLASSNAME_MAP: {
|
|
|
750
750
|
800: string;
|
|
751
751
|
1140: string;
|
|
752
752
|
};
|
|
753
|
-
/**
|
|
754
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
755
|
-
* Значения выбраны по приоритету.
|
|
756
|
-
*/
|
|
757
|
-
declare const stackingOrder: {
|
|
758
|
-
FOCUSED: number;
|
|
759
|
-
DEFAULT: number;
|
|
760
|
-
POPOVER: number;
|
|
761
|
-
MODAL: number;
|
|
762
|
-
TOAST: number;
|
|
763
|
-
};
|
|
764
|
-
declare const StackingContext: import("react").Context<number>;
|
|
765
753
|
type StackProps = {
|
|
766
754
|
/**
|
|
767
755
|
* Render prop, в который передается функция.
|
|
@@ -989,7 +977,7 @@ type YearsTableProps = {
|
|
|
989
977
|
responsive?: boolean;
|
|
990
978
|
};
|
|
991
979
|
declare const YearsTable: FC<YearsTableProps>;
|
|
992
|
-
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP,
|
|
980
|
+
export { ResponsiveCalendarProps, ResponsiveCalendarProps as CalendarProps, CalendarResponsive, CalendarResponsive as Calendar, ModalMobile, ModalMobileProps, UseCalendarProps, useCalendar, Modal, ResponsiveContext, Content, ModalContext, SIZE_TO_CLASSNAME_MAP, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore, Typography, typographyPresets, TitleResponsive, getDefaultWeight, YearsTableProps, YearsTable };
|
|
993
981
|
export * from "./Component-5684a67d";
|
|
994
982
|
export type { SavedStyle, TitleProps, TextProps, Color };
|
|
995
983
|
export * from "./use-skeleton-1328ead9";
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|