@alfalab/core-components-select 16.0.1 → 16.0.3
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.responsive.js +6 -5
- package/components/arrow/Component.js +1 -1
- package/components/arrow/index.css +3 -3
- package/components/base-checkmark/Component.js +1 -1
- package/components/base-checkmark/index.css +4 -4
- package/components/base-option/Component.js +1 -1
- package/components/base-option/index.css +13 -13
- package/components/base-select/Component.js +7 -6
- package/components/base-select/index.css +11 -11
- package/components/base-select/mobile.css +13 -13
- package/components/checkmark/Component.js +1 -1
- package/components/checkmark/index.css +10 -10
- package/components/checkmark-mobile/Component.js +1 -1
- package/components/checkmark-mobile/index.css +6 -6
- package/components/field/Component.js +1 -1
- package/components/field/index.css +12 -12
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +5 -5
- package/components/optgroup/Component.js +1 -1
- package/components/optgroup/index.css +6 -6
- package/components/option/Component.js +1 -1
- package/components/option/index.css +20 -20
- package/components/options-list/Component.js +1 -1
- package/components/options-list/index.css +9 -9
- package/components/search/Component.js +1 -1
- package/components/search/index.css +2 -2
- package/components/virtual-options-list/Component.js +1 -1
- package/components/virtual-options-list/index.css +15 -15
- package/cssm/Component.responsive.js +5 -4
- package/cssm/components/base-select/Component.js +5 -4
- package/{Component.desktop.d.ts → cssm/desktop/Component.desktop.d.ts} +2 -2
- package/cssm/{Component.desktop.js → desktop/Component.desktop.js} +22 -22
- package/cssm/desktop/index.d.ts +1 -1
- package/cssm/desktop/index.js +2 -2
- package/cssm/index.js +4 -3
- package/{esm → cssm/mobile}/Component.mobile.d.ts +1 -1
- package/cssm/{Component.mobile.js → mobile/Component.mobile.js} +33 -33
- package/cssm/mobile/Component.modal.mobile.d.ts +4 -0
- package/cssm/mobile/Component.modal.mobile.js +69 -0
- package/cssm/mobile/index.d.ts +2 -2
- package/cssm/mobile/index.js +5 -5
- package/cssm/typings.d.ts +2 -2
- package/{esm → desktop}/Component.desktop.d.ts +2 -2
- package/{Component.desktop.js → desktop/Component.desktop.js} +12 -12
- package/desktop/index.d.ts +1 -1
- package/desktop/index.js +2 -2
- package/esm/Component.responsive.js +5 -4
- package/esm/components/arrow/Component.js +1 -1
- package/esm/components/arrow/index.css +3 -3
- package/esm/components/base-checkmark/Component.js +1 -1
- package/esm/components/base-checkmark/index.css +4 -4
- package/esm/components/base-option/Component.js +1 -1
- package/esm/components/base-option/index.css +13 -13
- package/esm/components/base-select/Component.js +7 -6
- package/esm/components/base-select/index.css +11 -11
- package/esm/components/base-select/mobile.css +13 -13
- package/esm/components/checkmark/Component.js +1 -1
- package/esm/components/checkmark/index.css +10 -10
- package/esm/components/checkmark-mobile/Component.js +1 -1
- package/esm/components/checkmark-mobile/index.css +6 -6
- package/esm/components/field/Component.js +1 -1
- package/esm/components/field/index.css +12 -12
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +5 -5
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +6 -6
- package/esm/components/option/Component.js +1 -1
- package/esm/components/option/index.css +20 -20
- package/esm/components/options-list/Component.js +1 -1
- package/esm/components/options-list/index.css +9 -9
- package/esm/components/search/Component.js +1 -1
- package/esm/components/search/index.css +2 -2
- package/esm/components/virtual-options-list/Component.js +1 -1
- package/esm/components/virtual-options-list/index.css +15 -15
- package/{modern → esm/desktop}/Component.desktop.d.ts +2 -2
- package/esm/{Component.desktop.js → desktop/Component.desktop.js} +12 -12
- package/esm/desktop/index.d.ts +1 -1
- package/esm/desktop/index.js +1 -1
- package/esm/index.js +5 -4
- package/{cssm → esm/mobile}/Component.mobile.d.ts +1 -1
- package/esm/{Component.mobile.js → mobile/Component.mobile.js} +18 -18
- package/esm/mobile/Component.modal.mobile.d.ts +4 -0
- package/esm/{Component.modal.mobile.js → mobile/Component.modal.mobile.js} +18 -18
- package/esm/mobile/index.d.ts +2 -2
- package/esm/mobile/index.js +4 -4
- package/esm/presets/index.js +1 -1
- package/esm/presets/useSelectWithApply/hook.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/shared/index.js +1 -1
- package/esm/typings.d.ts +2 -2
- package/index.js +5 -4
- package/{Component.mobile.d.ts → mobile/Component.mobile.d.ts} +1 -1
- package/{Component.mobile.js → mobile/Component.mobile.js} +19 -19
- package/mobile/Component.modal.mobile.d.ts +4 -0
- package/{Component.modal.mobile.js → mobile/Component.modal.mobile.js} +20 -20
- package/mobile/index.d.ts +2 -2
- package/mobile/index.js +6 -6
- package/modern/Component.responsive.js +5 -4
- package/modern/components/arrow/Component.js +1 -1
- package/modern/components/arrow/index.css +3 -3
- package/modern/components/base-checkmark/Component.js +1 -1
- package/modern/components/base-checkmark/index.css +4 -4
- package/modern/components/base-option/Component.js +1 -1
- package/modern/components/base-option/index.css +13 -13
- package/modern/components/base-select/Component.js +4 -3
- package/modern/components/base-select/index.css +11 -11
- package/modern/components/base-select/mobile.css +13 -13
- package/modern/components/checkmark/Component.js +1 -1
- package/modern/components/checkmark/index.css +10 -10
- package/modern/components/checkmark-mobile/Component.js +1 -1
- package/modern/components/checkmark-mobile/index.css +6 -6
- package/modern/components/field/Component.js +1 -1
- package/modern/components/field/index.css +12 -12
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +5 -5
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +6 -6
- package/modern/components/option/Component.js +1 -1
- package/modern/components/option/index.css +20 -20
- package/modern/components/options-list/Component.js +1 -1
- package/modern/components/options-list/index.css +9 -9
- package/modern/components/search/Component.js +1 -1
- package/modern/components/search/index.css +2 -2
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +15 -15
- package/{cssm → modern/desktop}/Component.desktop.d.ts +2 -2
- package/modern/{Component.desktop.js → desktop/Component.desktop.js} +12 -12
- package/modern/desktop/index.d.ts +1 -1
- package/modern/desktop/index.js +1 -1
- package/modern/index.js +5 -4
- package/modern/{Component.mobile.d.ts → mobile/Component.mobile.d.ts} +1 -1
- package/modern/{Component.mobile.js → mobile/Component.mobile.js} +18 -18
- package/modern/mobile/Component.modal.mobile.d.ts +4 -0
- package/modern/{Component.modal.mobile.js → mobile/Component.modal.mobile.js} +18 -18
- package/modern/mobile/index.d.ts +2 -2
- package/modern/mobile/index.js +4 -4
- package/modern/presets/index.js +1 -1
- package/modern/presets/useSelectWithApply/hook.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/shared/index.js +1 -1
- package/modern/typings.d.ts +2 -2
- package/package.json +6 -6
- package/presets/index.js +1 -1
- package/presets/useSelectWithApply/hook.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/presets/useSelectWithLoading/hook.js +1 -1
- package/presets/useSelectWithLoading/index.css +2 -2
- package/shared/index.js +1 -1
- package/src/Component.responsive.tsx +2 -2
- package/src/components/base-select/Component.tsx +5 -1
- package/src/{Component.desktop.tsx → desktop/Component.desktop.tsx} +8 -8
- package/src/desktop/index.ts +1 -1
- package/src/{Component.mobile.tsx → mobile/Component.mobile.tsx} +13 -13
- package/src/{Component.modal.mobile.tsx → mobile/Component.modal.mobile.tsx} +2 -1
- package/src/mobile/index.ts +2 -2
- package/src/typings.ts +2 -2
- package/typings.d.ts +2 -2
- package/Component.modal.mobile.d.ts +0 -4
- package/cssm/Component.modal.mobile.d.ts +0 -4
- package/cssm/Component.modal.mobile.js +0 -69
- package/cssm/types-1b036d4b.d.ts +0 -13
- package/cssm/useSkeleton-1b036d4b.d.ts +0 -12
- package/esm/Component.modal.mobile.d.ts +0 -4
- package/esm/types-1b036d4b.d.ts +0 -13
- package/esm/useSkeleton-1b036d4b.d.ts +0 -12
- package/modern/Component.modal.mobile.d.ts +0 -4
- package/modern/types-1b036d4b.d.ts +0 -13
- package/modern/useSkeleton-1b036d4b.d.ts +0 -12
- package/types-1b036d4b.d.ts +0 -13
- package/useSkeleton-1b036d4b.d.ts +0 -12
- /package/esm/{hook-d82699d1.d.ts → hook-a287da6c.d.ts} +0 -0
- /package/esm/{hook-d82699d1.js → hook-a287da6c.js} +0 -0
- /package/{hook-df30325f.d.ts → hook-d8cd1702.d.ts} +0 -0
- /package/{hook-df30325f.js → hook-d8cd1702.js} +0 -0
- /package/modern/{hook-d879e08e.d.ts → hook-14cdb84d.d.ts} +0 -0
- /package/modern/{hook-d879e08e.js → hook-14cdb84d.js} +0 -0
|
@@ -3,14 +3,14 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { FormControlDesktop } from '@alfalab/core-components-form-control/desktop';
|
|
4
4
|
import { Popover } from '@alfalab/core-components-popover';
|
|
5
5
|
|
|
6
|
-
import { Arrow as DefaultArrow } from '
|
|
7
|
-
import { BaseSelect } from '
|
|
8
|
-
import { Field as DefaultField } from '
|
|
9
|
-
import { Optgroup as DefaultOptgroup } from '
|
|
10
|
-
import { Option as DefaultOption } from '
|
|
11
|
-
import { OptionsList as DefaultOptionsList } from '
|
|
12
|
-
import { Search as DefaultSearch } from '
|
|
13
|
-
import { SelectDesktopProps } from '
|
|
6
|
+
import { Arrow as DefaultArrow } from '../components/arrow';
|
|
7
|
+
import { BaseSelect } from '../components/base-select';
|
|
8
|
+
import { Field as DefaultField } from '../components/field';
|
|
9
|
+
import { Optgroup as DefaultOptgroup } from '../components/optgroup';
|
|
10
|
+
import { Option as DefaultOption } from '../components/option';
|
|
11
|
+
import { OptionsList as DefaultOptionsList } from '../components/options-list';
|
|
12
|
+
import { Search as DefaultSearch } from '../components/search';
|
|
13
|
+
import { SelectDesktopProps } from '../typings';
|
|
14
14
|
|
|
15
15
|
export const SelectDesktop = forwardRef<HTMLDivElement, SelectDesktopProps>(
|
|
16
16
|
(
|
package/src/desktop/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SelectDesktop } from '
|
|
1
|
+
export { SelectDesktop } from './Component.desktop';
|
|
2
2
|
export type { SelectDesktopProps } from '../typings';
|
|
@@ -2,25 +2,25 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { BottomSheet } from '@alfalab/core-components-bottom-sheet';
|
|
4
4
|
import { FormControlMobile } from '@alfalab/core-components-form-control/mobile';
|
|
5
|
-
import { ModalMobile } from '@alfalab/core-components-modal/
|
|
5
|
+
import { ModalMobile } from '@alfalab/core-components-modal/mobile';
|
|
6
6
|
|
|
7
|
-
import { Arrow as DefaultArrow } from '
|
|
8
|
-
import { BaseSelect } from '
|
|
9
|
-
import { Field as DefaultField } from '
|
|
10
|
-
import { Footer } from '
|
|
11
|
-
import { Optgroup as DefaultOptgroup } from '
|
|
12
|
-
import { Option as DefaultOption } from '
|
|
13
|
-
import { OptionsList as DefaultOptionsList } from '
|
|
14
|
-
import { Search as DefaultSearch } from '
|
|
15
|
-
import { VirtualOptionsList as DefaultVirtualOptionsList } from '
|
|
16
|
-
import { useSelectWithApply } from '
|
|
17
|
-
import { Header } from '
|
|
7
|
+
import { Arrow as DefaultArrow } from '../components/arrow';
|
|
8
|
+
import { BaseSelect } from '../components/base-select';
|
|
9
|
+
import { Field as DefaultField } from '../components/field';
|
|
10
|
+
import { Footer } from '../components/footer';
|
|
11
|
+
import { Optgroup as DefaultOptgroup } from '../components/optgroup';
|
|
12
|
+
import { Option as DefaultOption } from '../components/option';
|
|
13
|
+
import { OptionsList as DefaultOptionsList } from '../components/options-list';
|
|
14
|
+
import { Search as DefaultSearch } from '../components/search';
|
|
15
|
+
import { VirtualOptionsList as DefaultVirtualOptionsList } from '../components/virtual-options-list';
|
|
16
|
+
import { useSelectWithApply } from '../presets/useSelectWithApply/hook';
|
|
17
|
+
import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component';
|
|
18
18
|
import {
|
|
19
19
|
AnyObject,
|
|
20
20
|
BottomSheetSelectMobileProps,
|
|
21
21
|
ModalSelectMobileProps,
|
|
22
22
|
SelectMobileProps,
|
|
23
|
-
} from '
|
|
23
|
+
} from '../typings';
|
|
24
24
|
|
|
25
25
|
const VIRTUAL_OPTIONS_LIST_THRESHOLD = 30;
|
|
26
26
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
+
import { SelectModalMobileProps } from '../typings';
|
|
4
|
+
|
|
3
5
|
import { SelectMobile } from './Component.mobile';
|
|
4
|
-
import { SelectModalMobileProps } from './typings';
|
|
5
6
|
|
|
6
7
|
export const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => (
|
|
7
8
|
<SelectMobile {...props} isBottomSheet={false} ref={ref} />
|
package/src/mobile/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SelectMobile } from '
|
|
2
|
-
export { SelectModalMobile } from '
|
|
1
|
+
export { SelectMobile } from './Component.mobile';
|
|
2
|
+
export { SelectModalMobile } from './Component.modal.mobile';
|
|
3
3
|
|
|
4
4
|
export type { SelectMobileProps, SelectModalMobileProps } from '../typings';
|
package/src/typings.ts
CHANGED
|
@@ -314,12 +314,12 @@ export type BaseSelectProps = {
|
|
|
314
314
|
onOpen?: (payload: { open?: boolean; name?: string }) => void;
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
|
-
* Обработчик
|
|
317
|
+
* Обработчик блюра поля
|
|
318
318
|
*/
|
|
319
319
|
onBlur?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
|
-
* Обработчик
|
|
322
|
+
* Обработчик фокуса поля
|
|
323
323
|
*/
|
|
324
324
|
onFocus?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
|
|
325
325
|
|
package/typings.d.ts
CHANGED
|
@@ -245,11 +245,11 @@ type BaseSelectProps = {
|
|
|
245
245
|
name?: string;
|
|
246
246
|
}) => void;
|
|
247
247
|
/**
|
|
248
|
-
* Обработчик
|
|
248
|
+
* Обработчик блюра поля
|
|
249
249
|
*/
|
|
250
250
|
onBlur?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
|
|
251
251
|
/**
|
|
252
|
-
* Обработчик
|
|
252
|
+
* Обработчик фокуса поля
|
|
253
253
|
*/
|
|
254
254
|
onFocus?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
|
|
255
255
|
/**
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<import("./typings").BaseSelectProps, "Checkmark"> & import("./typings").AdditionalMobileProps & import("./typings").ModalSelectMobileProps & React.RefAttributes<unknown>>;
|
|
4
|
-
export { SelectModalMobile };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<import("./typings").BaseSelectProps, "Checkmark"> & import("./typings").AdditionalMobileProps & import("./typings").ModalSelectMobileProps & React.RefAttributes<unknown>>;
|
|
4
|
-
export { SelectModalMobile };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var Component_mobile = require('./Component.mobile.js');
|
|
8
|
-
require('@alfalab/core-components-bottom-sheet/cssm');
|
|
9
|
-
require('@alfalab/core-components-form-control/cssm/mobile');
|
|
10
|
-
require('@alfalab/core-components-modal/cssm/Component.mobile');
|
|
11
|
-
require('./components/arrow/Component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
14
|
-
require('./components/arrow/index.module.css');
|
|
15
|
-
require('./components/base-select/Component.js');
|
|
16
|
-
require('react-merge-refs');
|
|
17
|
-
require('@juggle/resize-observer');
|
|
18
|
-
require('compute-scroll-into-view');
|
|
19
|
-
require('downshift');
|
|
20
|
-
require('@alfalab/core-components-shared/cssm');
|
|
21
|
-
require('@alfalab/hooks');
|
|
22
|
-
require('./utils.js');
|
|
23
|
-
require('./components/native-select/Component.js');
|
|
24
|
-
require('./components/base-select/index.module.css');
|
|
25
|
-
require('./components/base-select/mobile.module.css');
|
|
26
|
-
require('./components/field/Component.js');
|
|
27
|
-
require('./components/field/index.module.css');
|
|
28
|
-
require('./components/footer/Component.js');
|
|
29
|
-
require('@alfalab/core-components-base-modal/cssm');
|
|
30
|
-
require('@alfalab/core-components-button/cssm/mobile');
|
|
31
|
-
require('./components/footer/index.module.css');
|
|
32
|
-
require('./components/optgroup/Component.js');
|
|
33
|
-
require('./components/optgroup/index.module.css');
|
|
34
|
-
require('./components/option/Component.js');
|
|
35
|
-
require('./components/checkmark/Component.js');
|
|
36
|
-
require('@alfalab/core-components-badge/cssm');
|
|
37
|
-
require('@alfalab/core-components-checkbox/cssm');
|
|
38
|
-
require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
|
|
39
|
-
require('@alfalab/icons-glyph/CheckmarkMIcon');
|
|
40
|
-
require('./components/checkmark/index.module.css');
|
|
41
|
-
require('./components/checkmark-mobile/Component.js');
|
|
42
|
-
require('./components/checkmark-mobile/index.module.css');
|
|
43
|
-
require('./components/option/index.module.css');
|
|
44
|
-
require('./components/options-list/Component.js');
|
|
45
|
-
require('@alfalab/core-components-mq/cssm');
|
|
46
|
-
require('@alfalab/core-components-scrollbar/cssm');
|
|
47
|
-
require('./consts.js');
|
|
48
|
-
require('./components/options-list/index.module.css');
|
|
49
|
-
require('./components/search/Component.js');
|
|
50
|
-
require('@alfalab/core-components-input/cssm');
|
|
51
|
-
require('@alfalab/icons-glyph/MagnifierMIcon');
|
|
52
|
-
require('./components/search/index.module.css');
|
|
53
|
-
require('./components/virtual-options-list/Component.js');
|
|
54
|
-
require('react-virtual');
|
|
55
|
-
require('./components/virtual-options-list/index.module.css');
|
|
56
|
-
require('./hook-2f9ec939.js');
|
|
57
|
-
require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
|
|
58
|
-
require('@alfalab/core-components-button/cssm/desktop');
|
|
59
|
-
require('./presets/useSelectWithApply/options-list-with-apply/footer/index.module.css');
|
|
60
|
-
require('./presets/useSelectWithApply/options-list-with-apply/header/Component.js');
|
|
61
|
-
require('./presets/useSelectWithApply/options-list-with-apply/header/index.module.css');
|
|
62
|
-
|
|
63
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
64
|
-
|
|
65
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
66
|
-
|
|
67
|
-
var SelectModalMobile = React.forwardRef(function (props, ref) { return (React__default.default.createElement(Component_mobile.SelectMobile, tslib.__assign({}, props, { isBottomSheet: false, ref: ref }))); });
|
|
68
|
-
|
|
69
|
-
exports.SelectModalMobile = SelectModalMobile;
|
package/cssm/types-1b036d4b.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
|
-
type WidthUnit = number | string;
|
|
3
|
-
type TextSkeletonProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Кол-во строк текста
|
|
6
|
-
*/
|
|
7
|
-
rows?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Ширина строки
|
|
10
|
-
*/
|
|
11
|
-
width?: WidthUnit | WidthUnit[];
|
|
12
|
-
};
|
|
13
|
-
export { TextElementType, TextSkeletonProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextSkeletonProps } from "./types-1b036d4b";
|
|
4
|
-
type SkeletonProps = {
|
|
5
|
-
wrapperClassName?: string;
|
|
6
|
-
dataTestId?: string;
|
|
7
|
-
};
|
|
8
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
9
|
-
renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
|
|
10
|
-
textRef: React.RefObject<HTMLElement>;
|
|
11
|
-
};
|
|
12
|
-
export { useSkeleton };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<import("./typings").BaseSelectProps, "Checkmark"> & import("./typings").AdditionalMobileProps & import("./typings").ModalSelectMobileProps & React.RefAttributes<unknown>>;
|
|
4
|
-
export { SelectModalMobile };
|
package/esm/types-1b036d4b.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
|
-
type WidthUnit = number | string;
|
|
3
|
-
type TextSkeletonProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Кол-во строк текста
|
|
6
|
-
*/
|
|
7
|
-
rows?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Ширина строки
|
|
10
|
-
*/
|
|
11
|
-
width?: WidthUnit | WidthUnit[];
|
|
12
|
-
};
|
|
13
|
-
export { TextElementType, TextSkeletonProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextSkeletonProps } from "./types-1b036d4b";
|
|
4
|
-
type SkeletonProps = {
|
|
5
|
-
wrapperClassName?: string;
|
|
6
|
-
dataTestId?: string;
|
|
7
|
-
};
|
|
8
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
9
|
-
renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
|
|
10
|
-
textRef: React.RefObject<HTMLElement>;
|
|
11
|
-
};
|
|
12
|
-
export { useSkeleton };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<import("./typings").BaseSelectProps, "Checkmark"> & import("./typings").AdditionalMobileProps & import("./typings").ModalSelectMobileProps & React.RefAttributes<unknown>>;
|
|
4
|
-
export { SelectModalMobile };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
|
-
type WidthUnit = number | string;
|
|
3
|
-
type TextSkeletonProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Кол-во строк текста
|
|
6
|
-
*/
|
|
7
|
-
rows?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Ширина строки
|
|
10
|
-
*/
|
|
11
|
-
width?: WidthUnit | WidthUnit[];
|
|
12
|
-
};
|
|
13
|
-
export { TextElementType, TextSkeletonProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextSkeletonProps } from "./types-1b036d4b";
|
|
4
|
-
type SkeletonProps = {
|
|
5
|
-
wrapperClassName?: string;
|
|
6
|
-
dataTestId?: string;
|
|
7
|
-
};
|
|
8
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
9
|
-
renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
|
|
10
|
-
textRef: React.RefObject<HTMLElement>;
|
|
11
|
-
};
|
|
12
|
-
export { useSkeleton };
|
package/types-1b036d4b.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
|
-
type WidthUnit = number | string;
|
|
3
|
-
type TextSkeletonProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Кол-во строк текста
|
|
6
|
-
*/
|
|
7
|
-
rows?: number;
|
|
8
|
-
/**
|
|
9
|
-
* Ширина строки
|
|
10
|
-
*/
|
|
11
|
-
width?: WidthUnit | WidthUnit[];
|
|
12
|
-
};
|
|
13
|
-
export { TextElementType, TextSkeletonProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextSkeletonProps } from "./types-1b036d4b";
|
|
4
|
-
type SkeletonProps = {
|
|
5
|
-
wrapperClassName?: string;
|
|
6
|
-
dataTestId?: string;
|
|
7
|
-
};
|
|
8
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
9
|
-
renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
|
|
10
|
-
textRef: React.RefObject<HTMLElement>;
|
|
11
|
-
};
|
|
12
|
-
export { useSkeleton };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|