@alfalab/core-components-custom-picker-button 1.0.0
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/Component-2aef4eba.d.ts +50 -0
- package/Component-3885b0d7.d.ts +71 -0
- package/Component-3e68f8db.d.ts +11 -0
- package/Component-3ebe4754.d.ts +176 -0
- package/Component-5e1b8383.d.ts +4 -0
- package/Component-bdb4c6b9.d.ts +12 -0
- package/Component-ebda875c.d.ts +142 -0
- package/Component.desktop.d.ts +6 -0
- package/Component.desktop.js +28 -0
- package/Component.mobile-ae13210f.d.ts +7 -0
- package/Component.mobile-b2c0420d.d.ts +35 -0
- package/Component.mobile.d.ts +6 -0
- package/Component.mobile.js +28 -0
- package/Component.responsive-2aef4eba.d.ts +28 -0
- package/Component.responsive.d.ts +22 -0
- package/Component.responsive.js +28 -0
- package/Context-bdb4c6b9.d.ts +4 -0
- package/ResponsiveContext-baf4875b.d.ts +5 -0
- package/component-3885b0d7.d.ts +43 -0
- package/consts-f777ba1a.d.ts +2 -0
- package/cssm/Component-2aef4eba.d.ts +50 -0
- package/cssm/Component-3885b0d7.d.ts +71 -0
- package/cssm/Component-3e68f8db.d.ts +11 -0
- package/cssm/Component-3ebe4754.d.ts +176 -0
- package/cssm/Component-5e1b8383.d.ts +4 -0
- package/cssm/Component-bdb4c6b9.d.ts +12 -0
- package/cssm/Component-ebda875c.d.ts +142 -0
- package/cssm/Component.desktop.d.ts +6 -0
- package/cssm/Component.desktop.js +29 -0
- package/cssm/Component.mobile-ae13210f.d.ts +7 -0
- package/cssm/Component.mobile-b2c0420d.d.ts +35 -0
- package/cssm/Component.mobile.d.ts +6 -0
- package/cssm/Component.mobile.js +29 -0
- package/cssm/Component.responsive-2aef4eba.d.ts +28 -0
- package/cssm/Component.responsive.d.ts +22 -0
- package/cssm/Component.responsive.js +29 -0
- package/cssm/Context-bdb4c6b9.d.ts +4 -0
- package/cssm/ResponsiveContext-baf4875b.d.ts +5 -0
- package/cssm/component-3885b0d7.d.ts +43 -0
- package/cssm/consts-f777ba1a.d.ts +2 -0
- package/cssm/desktop.d.ts +2 -0
- package/cssm/desktop.js +17 -0
- package/cssm/field/Component.d.ts +11 -0
- package/cssm/field/Component.js +31 -0
- package/cssm/field/index.d.ts +1 -0
- package/cssm/field/index.js +15 -0
- package/cssm/field/index.module.css +27 -0
- package/cssm/hook-3e68f8db.d.ts +62 -0
- package/cssm/index-136acbb1.d.ts +28 -0
- package/cssm/index-2aef4eba.d.ts +5 -0
- package/cssm/index-3885b0d7.d.ts +3 -0
- package/cssm/index-3e68f8db.d.ts +100 -0
- package/cssm/index-3ebe4754.d.ts +1 -0
- package/cssm/index-425c8522.d.ts +6 -0
- package/cssm/index-701e77da.d.ts +4 -0
- package/cssm/index-bdb4c6b9.d.ts +2 -0
- package/cssm/index-e81c389f.d.ts +3 -0
- package/cssm/index-ebda875c.d.ts +37 -0
- package/cssm/index-f12ee135.d.ts +3 -0
- package/cssm/index.d.ts +2 -0
- package/cssm/index.js +21 -0
- package/cssm/mobile.d.ts +2 -0
- package/cssm/mobile.js +17 -0
- package/cssm/responsive.d.ts +2 -0
- package/cssm/responsive.js +21 -0
- package/cssm/types-5e678ff2.d.ts +219 -0
- package/cssm/types-ebda875c.d.ts +113 -0
- package/cssm/typings-5e1b8383.d.ts +549 -0
- package/cssm/typings-bdb4c6b9.d.ts +52 -0
- package/cssm/utils-1574ad8b.d.ts +29 -0
- package/cssm/utils-5e1b8383.d.ts +38 -0
- package/cssm/utils-b64479aa.d.ts +8 -0
- package/desktop.d.ts +2 -0
- package/desktop.js +16 -0
- package/esm/Component-2aef4eba.d.ts +50 -0
- package/esm/Component-3885b0d7.d.ts +71 -0
- package/esm/Component-3e68f8db.d.ts +11 -0
- package/esm/Component-3ebe4754.d.ts +176 -0
- package/esm/Component-5e1b8383.d.ts +4 -0
- package/esm/Component-bdb4c6b9.d.ts +12 -0
- package/esm/Component-ebda875c.d.ts +142 -0
- package/esm/Component.desktop.d.ts +6 -0
- package/esm/Component.desktop.js +20 -0
- package/esm/Component.mobile-ae13210f.d.ts +7 -0
- package/esm/Component.mobile-b2c0420d.d.ts +35 -0
- package/esm/Component.mobile.d.ts +6 -0
- package/esm/Component.mobile.js +20 -0
- package/esm/Component.responsive-2aef4eba.d.ts +28 -0
- package/esm/Component.responsive.d.ts +22 -0
- package/esm/Component.responsive.js +20 -0
- package/esm/Context-bdb4c6b9.d.ts +4 -0
- package/esm/ResponsiveContext-baf4875b.d.ts +5 -0
- package/esm/component-3885b0d7.d.ts +43 -0
- package/esm/consts-f777ba1a.d.ts +2 -0
- package/esm/desktop.d.ts +2 -0
- package/esm/desktop.js +8 -0
- package/esm/field/Component.d.ts +11 -0
- package/esm/field/Component.js +23 -0
- package/esm/field/index.css +28 -0
- package/esm/field/index.d.ts +1 -0
- package/esm/field/index.js +6 -0
- package/esm/hook-3e68f8db.d.ts +62 -0
- package/esm/index-136acbb1.d.ts +28 -0
- package/esm/index-2aef4eba.d.ts +5 -0
- package/esm/index-3885b0d7.d.ts +3 -0
- package/esm/index-3e68f8db.d.ts +100 -0
- package/esm/index-3ebe4754.d.ts +1 -0
- package/esm/index-425c8522.d.ts +6 -0
- package/esm/index-701e77da.d.ts +4 -0
- package/esm/index-bdb4c6b9.d.ts +2 -0
- package/esm/index-e81c389f.d.ts +3 -0
- package/esm/index-ebda875c.d.ts +37 -0
- package/esm/index-f12ee135.d.ts +3 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +12 -0
- package/esm/mobile.d.ts +2 -0
- package/esm/mobile.js +8 -0
- package/esm/responsive.d.ts +2 -0
- package/esm/responsive.js +12 -0
- package/esm/types-5e678ff2.d.ts +219 -0
- package/esm/types-ebda875c.d.ts +113 -0
- package/esm/typings-5e1b8383.d.ts +549 -0
- package/esm/typings-bdb4c6b9.d.ts +52 -0
- package/esm/utils-1574ad8b.d.ts +29 -0
- package/esm/utils-5e1b8383.d.ts +38 -0
- package/esm/utils-b64479aa.d.ts +8 -0
- package/field/Component.d.ts +11 -0
- package/field/Component.js +32 -0
- package/field/index.css +28 -0
- package/field/index.d.ts +1 -0
- package/field/index.js +14 -0
- package/hook-3e68f8db.d.ts +62 -0
- package/index-136acbb1.d.ts +28 -0
- package/index-2aef4eba.d.ts +5 -0
- package/index-3885b0d7.d.ts +3 -0
- package/index-3e68f8db.d.ts +100 -0
- package/index-3ebe4754.d.ts +1 -0
- package/index-425c8522.d.ts +6 -0
- package/index-701e77da.d.ts +4 -0
- package/index-bdb4c6b9.d.ts +2 -0
- package/index-e81c389f.d.ts +3 -0
- package/index-ebda875c.d.ts +37 -0
- package/index-f12ee135.d.ts +3 -0
- package/index.d.ts +2 -0
- package/index.js +20 -0
- package/mobile.d.ts +2 -0
- package/mobile.js +16 -0
- package/modern/Component-2aef4eba.d.ts +50 -0
- package/modern/Component-3885b0d7.d.ts +71 -0
- package/modern/Component-3e68f8db.d.ts +11 -0
- package/modern/Component-3ebe4754.d.ts +176 -0
- package/modern/Component-5e1b8383.d.ts +4 -0
- package/modern/Component-bdb4c6b9.d.ts +12 -0
- package/modern/Component-ebda875c.d.ts +142 -0
- package/modern/Component.desktop.d.ts +6 -0
- package/modern/Component.desktop.js +16 -0
- package/modern/Component.mobile-ae13210f.d.ts +7 -0
- package/modern/Component.mobile-b2c0420d.d.ts +35 -0
- package/modern/Component.mobile.d.ts +6 -0
- package/modern/Component.mobile.js +16 -0
- package/modern/Component.responsive-2aef4eba.d.ts +28 -0
- package/modern/Component.responsive.d.ts +22 -0
- package/modern/Component.responsive.js +18 -0
- package/modern/Context-bdb4c6b9.d.ts +4 -0
- package/modern/ResponsiveContext-baf4875b.d.ts +5 -0
- package/modern/component-3885b0d7.d.ts +43 -0
- package/modern/consts-f777ba1a.d.ts +2 -0
- package/modern/desktop.d.ts +2 -0
- package/modern/desktop.js +7 -0
- package/modern/field/Component.d.ts +11 -0
- package/modern/field/Component.js +23 -0
- package/modern/field/index.css +28 -0
- package/modern/field/index.d.ts +1 -0
- package/modern/field/index.js +5 -0
- package/modern/hook-3e68f8db.d.ts +62 -0
- package/modern/index-136acbb1.d.ts +28 -0
- package/modern/index-2aef4eba.d.ts +5 -0
- package/modern/index-3885b0d7.d.ts +3 -0
- package/modern/index-3e68f8db.d.ts +100 -0
- package/modern/index-3ebe4754.d.ts +1 -0
- package/modern/index-425c8522.d.ts +6 -0
- package/modern/index-701e77da.d.ts +4 -0
- package/modern/index-bdb4c6b9.d.ts +2 -0
- package/modern/index-e81c389f.d.ts +3 -0
- package/modern/index-ebda875c.d.ts +37 -0
- package/modern/index-f12ee135.d.ts +3 -0
- package/modern/index.d.ts +2 -0
- package/modern/index.js +11 -0
- package/modern/mobile.d.ts +2 -0
- package/modern/mobile.js +7 -0
- package/modern/responsive.d.ts +2 -0
- package/modern/responsive.js +11 -0
- package/modern/types-5e678ff2.d.ts +219 -0
- package/modern/types-ebda875c.d.ts +113 -0
- package/modern/typings-5e1b8383.d.ts +549 -0
- package/modern/typings-bdb4c6b9.d.ts +52 -0
- package/modern/utils-1574ad8b.d.ts +29 -0
- package/modern/utils-5e1b8383.d.ts +38 -0
- package/modern/utils-b64479aa.d.ts +8 -0
- package/package.json +27 -0
- package/responsive.d.ts +2 -0
- package/responsive.js +20 -0
- package/send-stats.js +82 -0
- package/types-5e678ff2.d.ts +219 -0
- package/types-ebda875c.d.ts +113 -0
- package/typings-5e1b8383.d.ts +549 -0
- package/typings-bdb4c6b9.d.ts +52 -0
- package/utils-1574ad8b.d.ts +29 -0
- package/utils-5e1b8383.d.ts +38 -0
- package/utils-b64479aa.d.ts +8 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC, RefObject, ReactNode } from "react";
|
|
4
|
+
import { NavigationBarProps } from "./index-e81c389f";
|
|
5
|
+
import { SwipeableHandlers } from "react-swipeable";
|
|
6
|
+
import { BackdropProps } from "./index-ebda875c";
|
|
7
|
+
import { BottomSheetProps } from "./types-5e678ff2";
|
|
8
|
+
type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
|
|
9
|
+
headerRef: RefObject<HTMLDivElement>;
|
|
10
|
+
};
|
|
11
|
+
declare const Header: FC<HeaderProps>;
|
|
12
|
+
type FooterProps = {
|
|
13
|
+
/**
|
|
14
|
+
* ΠΠΎΠ½ΡΠ΅Π½Ρ ΡΡΡΠ΅ΡΠ°
|
|
15
|
+
*/
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Π€ΠΈΠΊΡΠΈΡΡΠ΅Ρ ΡΡΡΠ΅Ρ
|
|
19
|
+
*/
|
|
20
|
+
sticky?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* ΠΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΊΠ»Π°ΡΡ
|
|
23
|
+
*/
|
|
24
|
+
className?: string;
|
|
25
|
+
};
|
|
26
|
+
declare const Footer: FC<FooterProps>;
|
|
27
|
+
type SwipeableBackdropProps = BackdropProps & {
|
|
28
|
+
/**
|
|
29
|
+
* ΠΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΡΡΡ Π±ΡΠΊΠ΄ΡΠΎΠΏΠ°
|
|
30
|
+
*/
|
|
31
|
+
opacity?: number;
|
|
32
|
+
/**
|
|
33
|
+
* ΠΠ±ΡΠ°Π±ΠΎΡΡΠΈΠΊΠΈ ΡΠ²Π°ΠΉΠΏΠ°
|
|
34
|
+
*/
|
|
35
|
+
handlers?: SwipeableHandlers;
|
|
36
|
+
/**
|
|
37
|
+
* ΠΡΠ΅ΠΌΡ Π°Π½ΠΈΠΌΠ°ΡΠΈΠΈ opacity
|
|
38
|
+
*/
|
|
39
|
+
opacityTimeout?: number;
|
|
40
|
+
};
|
|
41
|
+
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
42
|
+
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
export { HeaderProps, Header, FooterProps, Footer, SwipeableBackdropProps, SwipeableBackdrop, BottomSheet };
|
package/esm/desktop.d.ts
ADDED
package/esm/desktop.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { CustomPickerButtonDesktop } from './Component.desktop.js';
|
|
2
|
+
import 'tslib';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
5
|
+
import './field/Component.js';
|
|
6
|
+
import 'classnames';
|
|
7
|
+
import '@alfalab/core-components-custom-button/esm';
|
|
8
|
+
import '@alfalab/core-components-picker-button/esm';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CustomButtonProps } from "@alfalab/core-components-custom-button";
|
|
3
|
+
import { PickerButtonSize, PickerButtonVariant } from "../index-2aef4eba";
|
|
4
|
+
import { FieldProps as BaseFieldProps } from "../typings-5e1b8383";
|
|
5
|
+
type FieldProps = Pick<BaseFieldProps, 'open' | 'label' | 'innerProps'> & CustomButtonProps & {
|
|
6
|
+
buttonSize?: PickerButtonSize;
|
|
7
|
+
buttonVariant?: PickerButtonVariant;
|
|
8
|
+
showArrow?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const Field: ({ buttonSize, buttonVariant, backgroundColor, contentColor, stateType, label, open, rightAddons, innerProps, className, showArrow, ...restProps }: FieldProps) => JSX.Element;
|
|
11
|
+
export { Field };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __rest, __assign } from 'tslib';
|
|
2
|
+
import React, { Fragment } from 'react';
|
|
3
|
+
import cn from 'classnames';
|
|
4
|
+
import { CustomButton } from '@alfalab/core-components-custom-button/esm';
|
|
5
|
+
import { getIcon } from '@alfalab/core-components-picker-button/esm';
|
|
6
|
+
|
|
7
|
+
var styles = {"iconContainer":"custom-picker-button__iconContainer_z6y60","addonsContainer":"custom-picker-button__addonsContainer_z6y60","showControlIcon":"custom-picker-button__showControlIcon_z6y60","open":"custom-picker-button__open_z6y60"};
|
|
8
|
+
require('./index.css')
|
|
9
|
+
|
|
10
|
+
var Field = function (_a) {
|
|
11
|
+
var _b;
|
|
12
|
+
var _c = _a.buttonSize, buttonSize = _c === void 0 ? 'm' : _c, _d = _a.buttonVariant, buttonVariant = _d === void 0 ? 'default' : _d, backgroundColor = _a.backgroundColor, contentColor = _a.contentColor, stateType = _a.stateType, label = _a.label, open = _a.open, rightAddons = _a.rightAddons, innerProps = _a.innerProps, className = _a.className, _e = _a.showArrow, showArrow = _e === void 0 ? true : _e, restProps = __rest(_a, ["buttonSize", "buttonVariant", "backgroundColor", "contentColor", "stateType", "label", "open", "rightAddons", "innerProps", "className", "showArrow"]);
|
|
13
|
+
var Icon = getIcon(buttonVariant, buttonSize);
|
|
14
|
+
var buttonProps = __assign(__assign({}, restProps), innerProps);
|
|
15
|
+
return (React.createElement(CustomButton, __assign({}, buttonProps, { rightAddons: React.createElement(Fragment, null,
|
|
16
|
+
rightAddons && (React.createElement("span", { className: cn(styles.addonsContainer, (_b = {},
|
|
17
|
+
_b[styles.showControlIcon] = showArrow || buttonVariant === 'compact',
|
|
18
|
+
_b)) }, rightAddons)),
|
|
19
|
+
(showArrow || buttonVariant === 'compact') && (React.createElement("span", { className: cn(styles.iconContainer, buttonVariant !== 'compact' && open && styles.open) },
|
|
20
|
+
React.createElement(Icon, { "data-test-id": 'custom-picker-button-icon' })))), block: true, size: buttonSize, backgroundColor: backgroundColor, contentColor: contentColor, stateType: stateType, className: className }), buttonVariant !== 'compact' && label));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { Field };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* hash: 81i0w */
|
|
2
|
+
:root {
|
|
3
|
+
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
|
|
8
|
+
/* Hard */
|
|
9
|
+
|
|
10
|
+
/* Up */
|
|
11
|
+
|
|
12
|
+
/* Hard up */
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
--gap-2xs: 4px;
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
--arrow-transform: rotate(180deg);
|
|
19
|
+
} .custom-picker-button__iconContainer_z6y60 {
|
|
20
|
+
display: flex;
|
|
21
|
+
transition: transform 0.15s ease-in-out;
|
|
22
|
+
} .custom-picker-button__addonsContainer_z6y60 {
|
|
23
|
+
display: flex
|
|
24
|
+
} .custom-picker-button__addonsContainer_z6y60.custom-picker-button__showControlIcon_z6y60 {
|
|
25
|
+
margin-right: var(--gap-2xs);
|
|
26
|
+
} .custom-picker-button__open_z6y60 {
|
|
27
|
+
transform: var(--arrow-transform);
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseSelectProps, OptionShape } from "./index-3e68f8db";
|
|
3
|
+
type UseSelectWithApplyProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Π‘ΠΏΠΈΡΠΎΠΊ Π²ΡΠ±ΡΠ°Π½Π½ΡΡ
ΠΏΡΠ½ΠΊΡΠΎΠ²
|
|
6
|
+
*/
|
|
7
|
+
selected: BaseSelectProps['selected'];
|
|
8
|
+
/**
|
|
9
|
+
* Π‘ΠΏΠΈΡΠΎΠΊ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² Π²ΡΠ±ΠΎΡΠ°
|
|
10
|
+
*/
|
|
11
|
+
options: BaseSelectProps['options'];
|
|
12
|
+
/**
|
|
13
|
+
* ΠΠ±ΡΠ°Π±ΠΎΡΡΠΈΠΊ Π²ΡΠ±ΠΎΡΠ°
|
|
14
|
+
*/
|
|
15
|
+
onChange: BaseSelectProps['onChange'];
|
|
16
|
+
/**
|
|
17
|
+
* ΠΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ Π²ΡΠΏΠ°Π΄Π°ΡΡΠ΅Π³ΠΎ ΠΌΠ΅Π½Ρ
|
|
18
|
+
*/
|
|
19
|
+
OptionsList?: BaseSelectProps['OptionsList'];
|
|
20
|
+
/**
|
|
21
|
+
* ΠΡΠΎΠΏΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΠΏΡΠΎΠΊΠΈΠ½ΡΡΡ Π² ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ ΡΠΏΠΈΡΠΊΠ°
|
|
22
|
+
*/
|
|
23
|
+
optionsListProps?: BaseSelectProps['optionsListProps'];
|
|
24
|
+
/**
|
|
25
|
+
* ΠΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ ΠΊΠ½ΠΎΠΏΠΊΡ ΠΎΡΠΈΡΡΠΊΠΈ
|
|
26
|
+
*/
|
|
27
|
+
showClear?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* ΠΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ ΠΏΡΠ½ΠΊΡ "ΠΡΠ±ΡΠ°ΡΡ Π²ΡΠ΅"
|
|
30
|
+
*/
|
|
31
|
+
showSelectAll?: boolean;
|
|
32
|
+
};
|
|
33
|
+
declare const SELECT_ALL_KEY = "select_all";
|
|
34
|
+
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, }: UseSelectWithApplyProps): {
|
|
35
|
+
OptionsList: import("react").ForwardRefExoticComponent<import("./index-3e68f8db").OptionsListProps & {
|
|
36
|
+
showClear?: boolean | undefined;
|
|
37
|
+
onClose?: (() => void) | undefined;
|
|
38
|
+
selectedDraft?: OptionShape[] | undefined;
|
|
39
|
+
OptionsList?: import("react").FC<import("./index-3e68f8db").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined; /**
|
|
40
|
+
* ΠΡΠΎΠΏΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΠΏΡΠΎΠΊΠΈΠ½ΡΡΡ Π² ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ ΡΠΏΠΈΡΠΊΠ°
|
|
41
|
+
*/
|
|
42
|
+
Footer?: import("react").FC<import("./Component-ebda875c").FooterProps> | undefined;
|
|
43
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
44
|
+
optionsListProps: {
|
|
45
|
+
OptionsList: import("react").FC<import("./index-3e68f8db").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
46
|
+
showClear: boolean;
|
|
47
|
+
onClear: () => void;
|
|
48
|
+
onApply: () => void;
|
|
49
|
+
onClose: () => void;
|
|
50
|
+
selectedDraft: OptionShape[];
|
|
51
|
+
};
|
|
52
|
+
allowUnselect: boolean;
|
|
53
|
+
multiple: boolean;
|
|
54
|
+
options: (OptionShape | import("./index-3e68f8db").GroupShape | {
|
|
55
|
+
key: string;
|
|
56
|
+
content: string;
|
|
57
|
+
})[];
|
|
58
|
+
onChange: (payload: import("./index-3e68f8db").BaseSelectChangePayload) => void;
|
|
59
|
+
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
60
|
+
};
|
|
61
|
+
export * from "./Component-5e1b8383";
|
|
62
|
+
export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
|
|
@@ -0,0 +1,28 @@
|
|
|
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 };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "./Component.responsive-2aef4eba";
|
|
2
|
+
export { PickerButtonResponsive as PickerButton };
|
|
3
|
+
export type { PickerButtonResponsiveProps as PickerButtonProps };
|
|
4
|
+
export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-2aef4eba";
|
|
5
|
+
export { getIcon } from "./index-701e77da";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
import { FormControlProps } from "./Component-3ebe4754";
|
|
5
|
+
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
|
|
6
|
+
type SelectFieldProps = Omit<FormControlProps, "size"> & Record<string, unknown>;
|
|
7
|
+
type SelectProps = Omit<BaseSelectProps, "fieldProps"> & {
|
|
8
|
+
/**
|
|
9
|
+
* ΠΡΠΎΠΏΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΠΏΡΠΎΠΊΠΈΠ½ΡΡΡ Π² ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ ΠΏΠΎΠ»Ρ
|
|
10
|
+
*/
|
|
11
|
+
fieldProps?: SelectFieldProps;
|
|
12
|
+
};
|
|
13
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "fieldProps"> & {
|
|
14
|
+
fieldProps?: SelectFieldProps | undefined;
|
|
15
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
17
|
+
type useSelectWithLoadingProps = {
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
visibleOptions?: BaseSelectProps["visibleOptions"];
|
|
20
|
+
Option?: React.FC<OptionProps>;
|
|
21
|
+
};
|
|
22
|
+
declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
|
|
23
|
+
Option: (props: OptionProps) => JSX.Element;
|
|
24
|
+
options: OptionShape[];
|
|
25
|
+
} | null;
|
|
26
|
+
type OptionsFetcherResponse = {
|
|
27
|
+
options: OptionShape[];
|
|
28
|
+
hasMore: boolean;
|
|
29
|
+
};
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
31
|
+
type useLazyLoadingProps = {
|
|
32
|
+
/** ΠΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² Π½Π° "ΡΡΡΠ°Π½ΠΈΡΠ΅" */
|
|
33
|
+
limit?: number;
|
|
34
|
+
/** ΠΠ°ΡΠ°Π»ΡΠ½ΡΠΉ Π½ΠΎΠΌΠ΅Ρ "ΡΡΡΠ°Π½ΠΈΡΡ" */
|
|
35
|
+
initialOffset?: number;
|
|
36
|
+
/** Π‘ΠΊΠ΅Π»Π΅ΡΠΎΠ½ Π·Π°Π³ΡΡΠΆΠ°Π΅ΠΌΡΡ
ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² */
|
|
37
|
+
skeleton?: React.ReactNode;
|
|
38
|
+
/** ΠΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ ΠΏΡΠ½ΠΊΡΠ° ΠΌΠ΅Π½Ρ */
|
|
39
|
+
Option?: React.FC<OptionProps>;
|
|
40
|
+
/**
|
|
41
|
+
* Π€ΡΠ½ΠΊΡΠΈΡ-Π·Π°Π³ΡΡΠ·ΡΠΈΠΊ ΠΎΠΏΡΠΈΠΉ.
|
|
42
|
+
* @param offset - ΡΠ΅ΠΊΡΡΠ°Ρ ΡΡΡΠ°Π½ΠΈΡΠ°
|
|
43
|
+
* @param limit - ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² Π½Π° ΡΡΡΠ°Π½ΠΈΡΠ΅
|
|
44
|
+
* @param queryString - ΡΡΡΠΎΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅, ΠΏΡΠΎΠ±ΡΠ°ΡΡΠ²Π°Π΅ΠΌΡΠ΅ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈΠ· ΠΊΠ°ΡΡΠΎΠΌΠ½ΠΎΠ³ΠΎ ΠΈΠ½ΠΏΡΡΠ°, ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½ΠΎΠ³ΠΎ Π² Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΊΠ΅ OptionsList
|
|
45
|
+
* @returns Promise<{
|
|
46
|
+
* options - ΡΠΏΠΈΡΠΎΠΊ ΠΎΠΏΡΠΈΠΉ ΡΠ»Π΅Π΄ΡΡΡΠ΅ΠΉ "ΡΡΡΠ°Π½ΠΈΡΡ". ΠΠ½ΠΈ Π°ΠΏΠΏΠ΅Π½Π΄ΡΡΡΡ ΠΊ ΠΏΡΠ΅Π΄ΡΠ΄ΡΡΠΈΠΌ
|
|
47
|
+
* hasMore - ΡΠΊΠ°Π·ΡΠ²Π°Π΅Ρ, Π΅ΡΡΡ Π»ΠΈ Π΅ΡΠ΅ Π½Π΅Π·Π°Π³ΡΡΠΆΠ΅Π½Π½ΡΠ΅ ΡΠ»Π΅ΠΌΠ΅Π½ΡΡ (Π² ΡΠ»ΡΡΠ°Π΅ false ΠΏΠ΅ΡΠ΅ΡΡΠ°Π΅Ρ Π·Π°Π³ΡΡΠΆΠ°ΡΡ "ΡΠ»Π΅Π΄ΡΡΡΡΡ ΡΡΡΠ°Π½ΠΈΡΡ")
|
|
48
|
+
* }>
|
|
49
|
+
*/
|
|
50
|
+
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
51
|
+
};
|
|
52
|
+
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
|
|
53
|
+
optionsProps: {
|
|
54
|
+
Option: (props: OptionProps) => JSX.Element;
|
|
55
|
+
options: OptionShape[];
|
|
56
|
+
optionsListProps: {
|
|
57
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
58
|
+
inputProps: {
|
|
59
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
60
|
+
value: string;
|
|
61
|
+
}) => void;
|
|
62
|
+
value: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
onOpen: (payload: {
|
|
66
|
+
open?: boolean;
|
|
67
|
+
}) => void;
|
|
68
|
+
};
|
|
69
|
+
reset: () => void;
|
|
70
|
+
};
|
|
71
|
+
type SkeletonProps = {
|
|
72
|
+
/**
|
|
73
|
+
* Π€Π»Π°Π³, ΡΠ²Π½ΠΎ Π·Π°Π΄Π°ΡΡΠΈΠΉ ΡΠΎΡΡΠΎΡΠ½ΠΈΠ΅, ΠΏΡΠΈ ΠΊΠΎΡΠΎΡΠΎΠΌ ΠΊΠΎΠ½ΡΠ΅Π½Ρ Π·Π°ΠΊΡΡΠ²Π°Π΅ΡΡΡ ΠΏΡΠ΅Π»ΠΎΠ°Π΄Π΅ΡΠΎΠΌ
|
|
74
|
+
*/
|
|
75
|
+
visible?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Π€Π»Π°Π³ ΡΠ²Π½ΠΎΠ³ΠΎ Π²ΠΊΠ»ΡΡΠ΅Π½ΠΈΡ Π°Π½ΠΈΠΌΠ°ΡΠΈΠΈ ΡΠΊΠ΅Π»Π΅ΡΠ°
|
|
78
|
+
*/
|
|
79
|
+
animate?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* ΠΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΊΠ»Π°ΡΡ
|
|
82
|
+
*/
|
|
83
|
+
className?: string;
|
|
84
|
+
/**
|
|
85
|
+
* ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ Π΄Π»Ρ ΡΠΈΡΡΠ΅ΠΌ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠ³ΠΎ ΡΠ΅ΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ
|
|
86
|
+
*/
|
|
87
|
+
dataTestId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* ΠΠΎΡΠ΅ΡΠ½ΠΈΠ΅ ΡΠ»Π΅ΠΌΠ΅Π½ΡΡ.
|
|
90
|
+
*/
|
|
91
|
+
children?: ReactNode;
|
|
92
|
+
};
|
|
93
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
94
|
+
export { SelectFieldProps, SelectProps, Select, useSelectWithLoading, useLazyLoading, SkeletonProps, Skeleton };
|
|
95
|
+
export * from "./index-ebda875c";
|
|
96
|
+
export * from "./Component-3885b0d7";
|
|
97
|
+
export * from "./Component-5e1b8383";
|
|
98
|
+
export * from "./hook-3e68f8db";
|
|
99
|
+
export * from "./typings-5e1b8383";
|
|
100
|
+
export * from "./utils-5e1b8383";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component-3ebe4754";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type BackgroundColorType = 'accent' | 'info' | 'attention-muted' | 'positive-muted' | 'negative-muted' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'quaternary' | 'quaternary-inverted' | 'specialbg-component' | 'specialbg-component-inverted' | 'specialbg-primary-grouped' | 'specialbg-secondary-grouped' | 'specialbg-tertiary-grouped' | 'specialbg-secondary-transparent' | 'specialbg-secondary-transparent-inverted' | 'specialbg-tertiary-transparent' | 'specialbg-tertiary-transparent-inverted';
|
|
2
|
+
type BorderColorType = 'accent' | 'key' | 'key-inverted' | 'link' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'underline' | 'underline-inverted' | 'graphic-attention' | 'graphic-link' | 'graphic-negative' | 'graphic-positive' | 'specialbg-secondary-transparent' | 'specialbg-secondary-transparent-inverted' | 'specialbg-tertiary-transparent' | 'specialbg-tertiary-transparent-inverted';
|
|
3
|
+
type GraphicColorType = 'accent' | 'link' | 'attention' | 'positive' | 'negative' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'quaternary' | 'quaternary-inverted' | 'static-light' | 'static-accent' | 'static-dark';
|
|
4
|
+
type ShadowType = 'shadow-xs' | 'shadow-s' | 'shadow-m' | 'shadow-l' | 'shadow-xl' | 'shadow-xs-hard' | 'shadow-s-hard' | 'shadow-m-hard' | 'shadow-l-hard' | 'shadow-xl-hard' | 'shadow-xs-up' | 'shadow-s-up' | 'shadow-m-up' | 'shadow-l-up' | 'shadow-xl-up' | 'shadow-xs-hard-up' | 'shadow-s-hard-up' | 'shadow-m-hard-up' | 'shadow-l-hard-up' | 'shadow-xl-hard-up';
|
|
5
|
+
type GapType = '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
|
|
6
|
+
export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ButtonHTMLAttributes, ElementType, FC } from "react";
|
|
5
|
+
interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
/**
|
|
7
|
+
* ΠΠΈΠ΄ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΠ°
|
|
8
|
+
*/
|
|
9
|
+
view: "desktop" | "mobile";
|
|
10
|
+
/**
|
|
11
|
+
* ΠΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΊΠ»Π°ΡΡ
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* ΠΠΎΠ·ΠΈΡΠΈΡ ΠΊΡΠ΅ΡΡΠΈΠΊΠ°
|
|
16
|
+
*/
|
|
17
|
+
align?: "left" | "right";
|
|
18
|
+
/**
|
|
19
|
+
* Π€ΠΈΠΊΡΠΈΡΡΠ΅Ρ ΠΊΡΠ΅ΡΡΠΈΠΊ
|
|
20
|
+
*/
|
|
21
|
+
sticky?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* ΠΠΊΠΎΠ½ΠΊΠ°
|
|
24
|
+
*/
|
|
25
|
+
icon?: ElementType;
|
|
26
|
+
/**
|
|
27
|
+
* ΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ Π΄Π»Ρ ΡΠΈΡΡΠ΅ΠΌ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠ³ΠΎ ΡΠ΅ΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ
|
|
28
|
+
*/
|
|
29
|
+
dataTestId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* ΠΠΎΠ»Π»Π±ΡΠΊ Π·Π°ΠΊΡΡΡΠΈΡ.
|
|
32
|
+
*/
|
|
33
|
+
onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
34
|
+
}
|
|
35
|
+
declare const Closer: FC<CloserProps>;
|
|
36
|
+
export { CloserProps, Closer };
|
|
37
|
+
export * from "./Component-ebda875c";
|
package/esm/index.d.ts
ADDED
package/esm/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { CustomPickerButtonResponsive as CustomPickerButton } from './Component.responsive.js';
|
|
2
|
+
import 'tslib';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@alfalab/core-components-mq/esm';
|
|
5
|
+
import './Component.desktop.js';
|
|
6
|
+
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
7
|
+
import './field/Component.js';
|
|
8
|
+
import 'classnames';
|
|
9
|
+
import '@alfalab/core-components-custom-button/esm';
|
|
10
|
+
import '@alfalab/core-components-picker-button/esm';
|
|
11
|
+
import './Component.mobile.js';
|
|
12
|
+
import '@alfalab/core-components-picker-button/esm/mobile';
|
package/esm/mobile.d.ts
ADDED
package/esm/mobile.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { CustomPickerButtonMobile } from './Component.mobile.js';
|
|
2
|
+
import 'tslib';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@alfalab/core-components-picker-button/esm/mobile';
|
|
5
|
+
import './field/Component.js';
|
|
6
|
+
import 'classnames';
|
|
7
|
+
import '@alfalab/core-components-custom-button/esm';
|
|
8
|
+
import '@alfalab/core-components-picker-button/esm';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { CustomPickerButtonResponsive } from './Component.responsive.js';
|
|
2
|
+
import 'tslib';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@alfalab/core-components-mq/esm';
|
|
5
|
+
import './Component.desktop.js';
|
|
6
|
+
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
7
|
+
import './field/Component.js';
|
|
8
|
+
import 'classnames';
|
|
9
|
+
import '@alfalab/core-components-custom-button/esm';
|
|
10
|
+
import '@alfalab/core-components-picker-button/esm';
|
|
11
|
+
import './Component.mobile.js';
|
|
12
|
+
import '@alfalab/core-components-picker-button/esm/mobile';
|