@sima-land/ui-nucleons 45.0.0-alpha.61 → 45.0.0-alpha.63
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/README.md +2 -2
- package/dist/_internal/custom-scrollbar/custom-scrollbar.d.ts +1 -1
- package/dist/_internal/lifecycle/index.d.ts +1 -1
- package/dist/accordion/accordion-provider.d.ts +1 -1
- package/dist/accordion/accordion.d.ts +1 -1
- package/dist/alert/alert-body.d.ts +1 -1
- package/dist/alert/alert.d.ts +1 -1
- package/dist/arrow-button/arrow-button.d.ts +1 -1
- package/dist/autocomplete/autocomplete.d.ts +1 -1
- package/dist/autocomplete/menu.d.ts +1 -1
- package/dist/avatar/avatar.d.ts +1 -1
- package/dist/base-input/base-input.d.ts +1 -1
- package/dist/bottom-bar/bottom-bar.d.ts +1 -1
- package/dist/bottom-bar/bottom-bar.module.scss +3 -3
- package/dist/breakpoints.scss +0 -14
- package/dist/button/button.d.ts +0 -5
- package/dist/button/button.js +4 -2
- package/dist/button/button.js.map +1 -1
- package/dist/carousel/carousel.d.ts +3 -3
- package/dist/carousel/draggable.d.ts +1 -1
- package/dist/chip/chip.d.ts +2 -2
- package/dist/clean-buttons/clean-button.d.ts +1 -1
- package/dist/clean-buttons/clean-group.d.ts +1 -1
- package/dist/dot-nav/dot-nav.d.ts +1 -1
- package/dist/dropdown/dropdown-loading.d.ts +1 -1
- package/dist/dropdown/dropdown.d.ts +1 -1
- package/dist/dropdown-item/dropdown-item.d.ts +1 -1
- package/dist/expandable/expandable-group.d.ts +1 -1
- package/dist/field-block/field-block.d.ts +1 -1
- package/dist/file-icon/file-icon.d.ts +1 -1
- package/dist/group-overflow/group-overflow.d.ts +1 -1
- package/dist/hint/hint-view.d.ts +2 -2
- package/dist/hint/hint.d.ts +1 -1
- package/dist/hooks/use-breakpoint/index.d.ts +1 -1
- package/dist/info-text/info-text.d.ts +1 -1
- package/dist/input/input.d.ts +1 -1
- package/dist/layout/layout.d.ts +1 -1
- package/dist/layout/layout.module.scss +16 -16
- package/dist/layout/legacy.module.scss +6 -6
- package/dist/link/link.d.ts +0 -6
- package/dist/link/link.js +3 -2
- package/dist/link/link.js.map +1 -1
- package/dist/masked-input/masked-input.d.ts +1 -1
- package/dist/modal/modal.d.ts +1 -1
- package/dist/modal/slots.d.ts +3 -3
- package/dist/modal-overlay/modal-overlay.d.ts +1 -1
- package/dist/no-index/no-index-mark.d.ts +1 -1
- package/dist/no-index/no-index.d.ts +1 -1
- package/dist/pagination/pagination-item.d.ts +1 -1
- package/dist/pagination/pagination.d.ts +1 -1
- package/dist/panel/index.d.ts +1 -1
- package/dist/panel/index.js +1 -2
- package/dist/panel/index.js.map +1 -1
- package/dist/panel/panel.d.ts +3 -5
- package/dist/panel/panel.js +1 -29
- package/dist/panel/panel.js.map +1 -1
- package/dist/panel/panel.module.scss +40 -24
- package/dist/phone-input/menu-opener.d.ts +1 -1
- package/dist/phone-input/phone-input.d.ts +1 -1
- package/dist/plate/plate.d.ts +1 -5
- package/dist/plate/plate.js +7 -5
- package/dist/plate/plate.js.map +1 -1
- package/dist/plate/plate.module.scss +32 -1
- package/dist/plate/types.d.ts +1 -2
- package/dist/popup/popup-view.d.ts +1 -1
- package/dist/popup/popup.d.ts +1 -1
- package/dist/price/price.d.ts +1 -1
- package/dist/radio-button/radio-button.d.ts +1 -1
- package/dist/range/range.d.ts +1 -1
- package/dist/rating/rating.d.ts +1 -1
- package/dist/select/parts/button.d.ts +0 -5
- package/dist/select/parts/button.js +4 -2
- package/dist/select/parts/button.js.map +1 -1
- package/dist/select/parts/field-block.d.ts +1 -1
- package/dist/select/parts/icon.d.ts +1 -1
- package/dist/select/parts/menu.d.ts +1 -1
- package/dist/select/parts/text-button.d.ts +1 -1
- package/dist/select/select.d.ts +1 -1
- package/dist/side-page/side-page-body.d.ts +1 -1
- package/dist/side-page/side-page.d.ts +1 -1
- package/dist/skeleton/skeleton.d.ts +1 -1
- package/dist/snack-bar/context.d.ts +1 -1
- package/dist/snack-bar/index.d.ts +1 -1
- package/dist/snack-bar/index.js.map +1 -1
- package/dist/snack-bar/slots.d.ts +5 -5
- package/dist/snack-bar/snack-bar.d.ts +1 -1
- package/dist/snack-bar/snack-bar.module.scss +12 -13
- package/dist/snack-bar/types.d.ts +7 -2
- package/dist/spinner/spinner.d.ts +2 -2
- package/dist/stepper/stepper.d.ts +0 -5
- package/dist/stepper/stepper.js +4 -2
- package/dist/stepper/stepper.js.map +1 -1
- package/dist/super-ellipse-clip-path/super-ellipse-clip-path.d.ts +1 -1
- package/dist/switcher-row/switcher-row.d.ts +3 -3
- package/dist/tabs/tabs.d.ts +2 -2
- package/dist/textarea/textarea.d.ts +1 -1
- package/dist/timer/timer.d.ts +1 -1
- package/dist/toggle/toggle.d.ts +0 -3
- package/dist/toggle/toggle.js +6 -3
- package/dist/toggle/toggle.js.map +1 -1
- package/dist/top-bar/top-bar.d.ts +7 -3
- package/dist/top-bar/top-bar.js +1 -2
- package/dist/top-bar/top-bar.js.map +1 -1
- package/dist/top-bar/top-bar.module.scss +4 -1
- package/dist/touch-slider/touch-slider.d.ts +1 -1
- package/dist/touch-slider/touch-slider.module.scss +1 -1
- package/dist/unknown-content/unknown-content.d.ts +1 -1
- package/dist/unknown-content/unknown-content.module.scss +6 -6
- package/dist/upload-area/upload-area.d.ts +1 -1
- package/package.json +27 -31
- package/dist/box/box.d.ts +0 -8
- package/dist/box/box.js +0 -169
- package/dist/box/box.js.map +0 -1
- package/dist/box/box.module.scss +0 -76
- package/dist/box/index.d.ts +0 -2
- package/dist/box/index.js +0 -6
- package/dist/box/index.js.map +0 -1
- package/dist/box/types.d.ts +0 -60
- package/dist/box/types.js +0 -3
- package/dist/box/types.js.map +0 -1
- package/dist/styling/borders.d.ts +0 -6
- package/dist/styling/borders.js +0 -16
- package/dist/styling/borders.js.map +0 -1
- package/dist/styling/borders.module.scss +0 -15
- package/dist/styling/colors.d.ts +0 -10
- package/dist/styling/colors.js +0 -21
- package/dist/styling/colors.js.map +0 -1
- package/dist/styling/colors.module.scss +0 -20
- package/dist/styling/fonts.d.ts +0 -12
- package/dist/styling/fonts.js +0 -18
- package/dist/styling/fonts.js.map +0 -1
- package/dist/styling/fonts.module.scss +0 -23
- package/dist/styling/index.d.ts +0 -6
- package/dist/styling/index.js +0 -31
- package/dist/styling/index.js.map +0 -1
- package/dist/styling/shadows.d.ts +0 -8
- package/dist/styling/shadows.js +0 -16
- package/dist/styling/shadows.js.map +0 -1
- package/dist/styling/shadows.module.scss +0 -27
- package/dist/styling/shapes.d.ts +0 -24
- package/dist/styling/shapes.js +0 -32
- package/dist/styling/shapes.js.map +0 -1
- package/dist/styling/shapes.module.scss +0 -38
- package/dist/styling/sizes.d.ts +0 -30
- package/dist/styling/sizes.js +0 -41
- package/dist/styling/sizes.js.map +0 -1
- package/dist/styling/sizes.module.scss +0 -25
- package/dist/styling/utils.d.ts +0 -9
- package/dist/styling/utils.js +0 -21
- package/dist/styling/utils.js.map +0 -1
- package/dist/text/index.d.ts +0 -2
- package/dist/text/index.js +0 -8
- package/dist/text/index.js.map +0 -1
- package/dist/text/text.d.ts +0 -11
- package/dist/text/text.js +0 -50
- package/dist/text/text.js.map +0 -1
- package/dist/text/text.module.scss +0 -25
- package/dist/text/types.d.ts +0 -28
- package/dist/text/types.js +0 -3
- package/dist/text/types.js.map +0 -1
package/README.md
CHANGED
|
@@ -69,10 +69,10 @@ export default {
|
|
|
69
69
|
|
|
70
70
|
transform: {
|
|
71
71
|
// css-модули
|
|
72
|
-
'\\.(module
|
|
72
|
+
'\\.(module)\\.(css|scss)$': 'jest-css-modules-transform',
|
|
73
73
|
|
|
74
74
|
// обычные стили
|
|
75
|
-
'(?<!(.+\\.(module
|
|
75
|
+
'(?<!(.+\\.(module)))(\\.css|\\.scss)$': '<rootDir>/.jest/transforms/empty.js',
|
|
76
76
|
|
|
77
77
|
// asset'ы
|
|
78
78
|
'\\.(apng|avif|gif|jpg|jpeg|png|webp)$': '<rootDir>/.jest/transforms/asset.js',
|
|
@@ -8,6 +8,6 @@ import 'overlayscrollbars/overlayscrollbars.css';
|
|
|
8
8
|
* @return Элемент.
|
|
9
9
|
* @todo Переименовать в StyledScrollbars и вынести из _internal?
|
|
10
10
|
*/
|
|
11
|
-
export declare function CustomScrollbar({ children, style, className, overflow, rootRef, viewportRef, viewportProps, ...restProps }: CustomScrollbarProps): import("react
|
|
11
|
+
export declare function CustomScrollbar({ children, style, className, overflow, rootRef, viewportRef, viewportProps, ...restProps }: CustomScrollbarProps): import("react").JSX.Element;
|
|
12
12
|
/** @inheritdoc */
|
|
13
13
|
export declare function useOverlayScrollbarsInit(initialize: UseOverlayScrollbarsInitialization, getInstance: UseOverlayScrollbarsInstance, rootRef: RefObject<HTMLDivElement>, viewportRef: RefObject<HTMLDivElement>): void;
|
|
@@ -13,5 +13,5 @@ export declare const AccordionContext: import("react").Context<ContextProps>;
|
|
|
13
13
|
* @param props Пропсы.
|
|
14
14
|
* @return Элемент.
|
|
15
15
|
*/
|
|
16
|
-
export declare const AccordionProvider: ({ children }: Props) => import("react
|
|
16
|
+
export declare const AccordionProvider: ({ children }: Props) => import("react").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -24,4 +24,4 @@ export interface Props {
|
|
|
24
24
|
* @param props Пропсы компонента.
|
|
25
25
|
* @return Элемент.
|
|
26
26
|
*/
|
|
27
|
-
export declare const Accordion: ({ theme, open, name, summary, description, onToggle, className, children, level, }: Props) => import("react
|
|
27
|
+
export declare const Accordion: ({ theme, open, name, summary, description, onToggle, className, children, level, }: Props) => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import { AlertBodyProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function AlertBody({ children, className, rootRef, withScrollDisable, scrollDisableOptions, ...restProps }: AlertBodyProps): import("react
|
|
7
|
+
export declare function AlertBody({ children, className, rootRef, withScrollDisable, scrollDisableOptions, ...restProps }: AlertBodyProps): import("react").JSX.Element;
|
package/dist/alert/alert.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ import { AlertProps } from './types';
|
|
|
5
5
|
* @param props Свойства.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function Alert({ children, onClose, className, 'data-testid': testId, ...restProps }: AlertProps): import("react
|
|
8
|
+
export declare function Alert({ children, onClose, className, 'data-testid': testId, ...restProps }: AlertProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { ArrowButtonProps } from './types';
|
|
|
4
4
|
* @param props Свойства. Поддерживаются свойства элемента button.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function ArrowButton({ size, direction, className, 'data-testid': testId, ...buttonProps }: ArrowButtonProps): import("react
|
|
7
|
+
export declare function ArrowButton({ size, direction, className, 'data-testid': testId, ...buttonProps }: ArrowButtonProps): import("react").JSX.Element;
|
|
@@ -5,7 +5,7 @@ import { Elements } from '@floating-ui/react';
|
|
|
5
5
|
* @param props Свойства.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function Autocomplete({ children, loading, filterOption, dropdownProps, onMenuOpen, onMenuClose, optionsStub, autoComplete, autoFocus, defaultValue, disabled, id, name, onBlur, onChange, onFocus, onInput, placeholder, readOnly, required, type, value, adornmentEnd, baseInputProps, ...restProps }: AutocompleteProps): import("react
|
|
8
|
+
export declare function Autocomplete({ children, loading, filterOption, dropdownProps, onMenuOpen, onMenuClose, optionsStub, autoComplete, autoFocus, defaultValue, disabled, id, name, onBlur, onChange, onFocus, onInput, placeholder, readOnly, required, type, value, adornmentEnd, baseInputProps, ...restProps }: AutocompleteProps): import("react").JSX.Element;
|
|
9
9
|
/**
|
|
10
10
|
* Функция для расчёта высоты выпадающего списка и применения вычисленного значения к элементу.
|
|
11
11
|
* @param input Входящие параметры floating-ui для расчёта.
|
package/dist/avatar/avatar.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { AvatarProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Avatar({ src, className, style, children, 'data-testid': testId, }: AvatarProps): import("react
|
|
7
|
+
export declare function Avatar({ src, className, style, children, 'data-testid': testId, }: AvatarProps): import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ import { BaseInputProps } from './types';
|
|
|
7
7
|
* @param props Свойства.
|
|
8
8
|
* @return Элемент.
|
|
9
9
|
*/
|
|
10
|
-
export declare function BaseInput({ inputRef, textareaRef, style, className, restPlaceholder: restPlaceholderProp, 'data-testid': testId, ...props }: BaseInputProps): import("react
|
|
10
|
+
export declare function BaseInput({ inputRef, textareaRef, style, className, restPlaceholder: restPlaceholderProp, 'data-testid': testId, ...props }: BaseInputProps): import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export declare const BOTTOM_BAR_DEFAULTS: {
|
|
|
8
8
|
* @param props Свойства.
|
|
9
9
|
* @return Элемент.
|
|
10
10
|
*/
|
|
11
|
-
export declare function BottomBar({ size, divided, children, className, rounds, 'data-testid': testId, ...rest }: BottomBarProps): import("react
|
|
11
|
+
export declare function BottomBar({ size, divided, children, className, rounds, 'data-testid': testId, ...rest }: BottomBarProps): import("react").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use './bottom-bar-util';
|
|
2
|
-
@use '../
|
|
2
|
+
@use '../colors';
|
|
3
3
|
|
|
4
4
|
.root {
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
position: relative;
|
|
8
|
-
background:
|
|
8
|
+
background: colors.$basic-white;
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
height: var(--bottom-bar-height);
|
|
11
11
|
flex-shrink: 0; // ВАЖНО: для использования в Modal
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 100%;
|
|
21
21
|
pointer-events: none;
|
|
22
|
-
|
|
22
|
+
box-shadow: inset 0 1px 0 colors.$basic-gray12;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
package/dist/breakpoints.scss
CHANGED
|
@@ -52,17 +52,3 @@ $map: (
|
|
|
52
52
|
@content;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
/** @deprecated */
|
|
57
|
-
@mixin up($args...) {
|
|
58
|
-
@include greaterThanOrEqual($args...) {
|
|
59
|
-
@content;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** @deprecated */
|
|
64
|
-
@mixin down($args...) {
|
|
65
|
-
@include lessThan($args...) {
|
|
66
|
-
@content;
|
|
67
|
-
}
|
|
68
|
-
}
|
package/dist/button/button.d.ts
CHANGED
package/dist/button/button.js
CHANGED
|
@@ -13,9 +13,10 @@ const cx = bind_1.default.bind(button_module_scss_1.default);
|
|
|
13
13
|
/**
|
|
14
14
|
* Кнопка - запускает действие.
|
|
15
15
|
* @param props Свойства.
|
|
16
|
+
* @param ref Реф для DOM-элемента кнопки.
|
|
16
17
|
* @return Элемент.
|
|
17
18
|
*/
|
|
18
|
-
|
|
19
|
+
function PureButton({ viewType = 'primary', theme = 'light', icon: Icon, iconPosition = 'start', size = 'm', loading, disabled, className, children, 'data-testid': testId = 'button', ...restProps }, ref) {
|
|
19
20
|
const hasIcon = Boolean(Icon);
|
|
20
21
|
const hasText = Boolean(children);
|
|
21
22
|
const rootClassName = cx('root', `size-${size}`, viewType !== 'unset' && `view-${viewType}`, theme !== 'unset' && `theme-${theme}`, loading && 'loading', disabled && 'disabled', hasIcon && !hasText && 'icon-only', hasText && hasIcon && iconPosition === 'start' && 'icon-start', hasText && hasIcon && iconPosition === 'end' && 'icon-end', className);
|
|
@@ -50,5 +51,6 @@ exports.Button = (0, react_1.forwardRef)(function Button({ viewType = 'primary',
|
|
|
50
51
|
result = ((0, jsx_runtime_1.jsx)("button", { ...restProps, ref: ref, className: rootClassName, disabled: disabled, "data-testid": testId, children: content }));
|
|
51
52
|
}
|
|
52
53
|
return result;
|
|
53
|
-
}
|
|
54
|
+
}
|
|
55
|
+
exports.Button = (0, react_1.forwardRef)(PureButton);
|
|
54
56
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":";;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":"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"}
|
|
@@ -34,7 +34,7 @@ export declare class Carousel extends Component<CarouselProps, CarouselState> {
|
|
|
34
34
|
* @param index Индекс.
|
|
35
35
|
* @return Элемент списка.
|
|
36
36
|
*/
|
|
37
|
-
static defaultRenderItem(item: any, index: number): import("react
|
|
37
|
+
static defaultRenderItem(item: any, index: number): import("react").JSX.Element;
|
|
38
38
|
/**
|
|
39
39
|
* Возвращает кнопку управления.
|
|
40
40
|
* @param data Данные для вывода кнопки.
|
|
@@ -43,7 +43,7 @@ export declare class Carousel extends Component<CarouselProps, CarouselState> {
|
|
|
43
43
|
* @param props Свойства ArrowButton.
|
|
44
44
|
* @return Кнопка управления.
|
|
45
45
|
*/
|
|
46
|
-
static defaultRenderControl({ canUse, onUse, type, vertical }: CarouselControlData, props?: ArrowButtonProps): import("react
|
|
46
|
+
static defaultRenderControl({ canUse, onUse, type, vertical }: CarouselControlData, props?: ArrowButtonProps): import("react").JSX.Element;
|
|
47
47
|
/**
|
|
48
48
|
* Возвращает функцию для поиска наиболее отдаленного элемента карусели от стартовой границы viewport'а.
|
|
49
49
|
* @param data Данные.
|
|
@@ -253,7 +253,7 @@ export declare class Carousel extends Component<CarouselProps, CarouselState> {
|
|
|
253
253
|
*/
|
|
254
254
|
takeDragControl(control: Control): void;
|
|
255
255
|
/** @inheritdoc */
|
|
256
|
-
render(): import("react
|
|
256
|
+
render(): import("react").JSX.Element;
|
|
257
257
|
/**
|
|
258
258
|
* Формирует список элементов карусели с учетом необходимости клонирования.
|
|
259
259
|
* @return Список элементов карусели.
|
package/dist/chip/chip.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { ChipProps } from './types';
|
|
|
5
5
|
* @param props Свойства.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function Chip(props: ChipProps): import("react
|
|
8
|
+
export declare function Chip(props: ChipProps): import("react").JSX.Element;
|
|
9
9
|
/**
|
|
10
10
|
* Кнопка в чипе.
|
|
11
11
|
* @param props Свойства.
|
|
12
12
|
* @return Элемент.
|
|
13
13
|
*/
|
|
14
|
-
export declare function ChipIconButton({ children, className, ...restProps }: ButtonHTMLAttributes<HTMLButtonElement>): import("react
|
|
14
|
+
export declare function ChipIconButton({ children, className, ...restProps }: ButtonHTMLAttributes<HTMLButtonElement>): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { CleanButtonProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function CleanButton({ size: sizeProp, href, asLink, children, className, 'data-testid': testId, ...rest }: CleanButtonProps): import("react
|
|
7
|
+
export declare function CleanButton({ size: sizeProp, href, asLink, children, className, 'data-testid': testId, ...rest }: CleanButtonProps): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ import type { CleanGroupProps } from './types';
|
|
|
5
5
|
* @param props Свойства.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function CleanGroup({ size: sizeFromProps, children }: CleanGroupProps): import("react
|
|
8
|
+
export declare function CleanGroup({ size: sizeFromProps, children }: CleanGroupProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { DotNavProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function DotNav({ size, current, total, onSelect }: DotNavProps): import("react
|
|
7
|
+
export declare function DotNav({ size, current, total, onSelect }: DotNavProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { DropdownLoadingProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function DropdownLoading({ className, ...props }: DropdownLoadingProps): import("react
|
|
7
|
+
export declare function DropdownLoading({ className, ...props }: DropdownLoadingProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { DropdownProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Dropdown({ rootRef, viewportRef, viewportProps, className, children, 'data-testid': testId, ...restProps }: DropdownProps): import("react
|
|
7
|
+
export declare function Dropdown({ rootRef, viewportRef, viewportProps, className, children, 'data-testid': testId, ...restProps }: DropdownProps): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ import type { DropdownItemProps } from './types';
|
|
|
5
5
|
* @todo Переименовать в MenuItem.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function DropdownItem({ value, size, children, className, selected, disabled, noHover, checked, startContent, startIcon: StartIcon, endContent, endIcon: EndIcon, comment, dangerouslySetInnerHTML, 'data-testid': testId, ...restProps }: DropdownItemProps): import("react
|
|
8
|
+
export declare function DropdownItem({ value, size, children, className, selected, disabled, noHover, checked, startContent, startIcon: StartIcon, endContent, endIcon: EndIcon, comment, dangerouslySetInnerHTML, 'data-testid': testId, ...restProps }: DropdownItemProps): import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@ import { ExpandableGroupProps, ExpandableGroupItemProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function ExpandableGroup(props: ExpandableGroupProps): import("react
|
|
7
|
+
export declare function ExpandableGroup(props: ExpandableGroupProps): import("react").JSX.Element;
|
|
8
8
|
export declare const ExpandableItem: import("react").ForwardRefExoticComponent<ExpandableGroupItemProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
9
9
|
export declare const Expandable: {
|
|
10
10
|
readonly Group: typeof ExpandableGroup;
|
|
@@ -8,4 +8,4 @@ export declare const FIELD_BLOCK_DEFAULTS: {
|
|
|
8
8
|
* @param props Свойства.
|
|
9
9
|
* @return Элемент.
|
|
10
10
|
*/
|
|
11
|
-
export declare function FieldBlock({ size, main, mainProps, disabled, failed, focused, label, labelProps, labelAsPlaceholder, fixedHeight, caption, rootRef, rootProps, blockRef, blockProps, adornmentStart, adornmentEnd, 'data-testid': testId, }: FieldBlockProps): import("react
|
|
11
|
+
export declare function FieldBlock({ size, main, mainProps, disabled, failed, focused, label, labelProps, labelAsPlaceholder, fixedHeight, caption, rootRef, rootProps, blockRef, blockProps, adornmentStart, adornmentEnd, 'data-testid': testId, }: FieldBlockProps): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ export declare const KNOWN_TYPES: Set<string>;
|
|
|
5
5
|
* @param props Свойства. Поддерживаются свойства <svg />.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function FileIcon({ type, isTypeVisible, ...svgProps }: FileIconProps): import("react
|
|
8
|
+
export declare function FileIcon({ type, isTypeVisible, ...svgProps }: FileIconProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import { GroupOverflowProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function GroupOverflow({ children, className, style, gap, tail, ...restProps }: GroupOverflowProps): import("react
|
|
7
|
+
export declare function GroupOverflow({ children, className, style, gap, tail, ...restProps }: GroupOverflowProps): import("react").JSX.Element;
|
package/dist/hint/hint-view.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const arrowSquareSize: number;
|
|
|
11
11
|
* @param props Свойства.
|
|
12
12
|
* @return Элемент.
|
|
13
13
|
*/
|
|
14
|
-
export declare function HintView({ hintRef, className, children, 'data-testid': testId, ...rest }: HintViewProps): import("react
|
|
14
|
+
export declare function HintView({ hintRef, className, children, 'data-testid': testId, ...rest }: HintViewProps): import("react").JSX.Element;
|
|
15
15
|
export declare namespace HintView {
|
|
16
16
|
var Arrow: typeof HintArrow;
|
|
17
17
|
}
|
|
@@ -22,5 +22,5 @@ export declare namespace HintView {
|
|
|
22
22
|
*/
|
|
23
23
|
declare function HintArrow({ arrowRef, className, ...rest }: Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
24
24
|
arrowRef?: Ref<HTMLDivElement>;
|
|
25
|
-
}): import("react
|
|
25
|
+
}): import("react").JSX.Element;
|
|
26
26
|
export {};
|
package/dist/hint/hint.d.ts
CHANGED
|
@@ -11,4 +11,4 @@ export interface HintProps extends HintViewProps {
|
|
|
11
11
|
* @param props Свойства.
|
|
12
12
|
* @return Элемент.
|
|
13
13
|
*/
|
|
14
|
-
export declare function Hint({ open, ...rest }: HintProps): import("react
|
|
14
|
+
export declare function Hint({ open, ...rest }: HintProps): import("react").JSX.Element | null;
|
|
@@ -7,7 +7,7 @@ import { ReactNode } from 'react';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function BreakpointProvider({ children }: {
|
|
9
9
|
children: ReactNode;
|
|
10
|
-
}): import("react
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
11
|
/**
|
|
12
12
|
* Хук обработки медиа-запроса на основе breakpoint'а дизайн-системы.
|
|
13
13
|
* @param query Запрос, например "xs+".
|
|
@@ -5,4 +5,4 @@ import type { InfoTextProps } from './types';
|
|
|
5
5
|
* @param props Свойства.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function InfoText({ children, style, className, iconRef, onIconClick, iconActive, 'data-testid': testId, }: InfoTextProps): import("react
|
|
8
|
+
export declare function InfoText({ children, style, className, iconRef, onIconClick, iconActive, 'data-testid': testId, }: InfoTextProps): import("react").JSX.Element;
|
package/dist/input/input.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { InputProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Input({ inputRef, baseInputProps, clearable, onClear, style, className, autoComplete, autoFocus, defaultValue, disabled, id, name, onBlur, onChange, onFocus, onInput, placeholder, readOnly, required, type, value, size, label, failed, caption, blockProps, focused: focusedProp, 'data-testid': testId, ...restProps }: InputProps): import("react
|
|
7
|
+
export declare function Input({ inputRef, baseInputProps, clearable, onClear, style, className, autoComplete, autoFocus, defaultValue, disabled, id, name, onBlur, onChange, onFocus, onInput, placeholder, readOnly, required, type, value, size, label, failed, caption, blockProps, focused: focusedProp, 'data-testid': testId, ...restProps }: InputProps): import("react").JSX.Element;
|
package/dist/layout/layout.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { LayoutProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Layout({ children, className, disabledOn, rootRef, ...rest }: LayoutProps): import("react
|
|
7
|
+
export declare function Layout({ children, className, disabledOn, rootRef, ...rest }: LayoutProps): import("react").JSX.Element;
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
|
|
12
12
|
// ВАЖНО: не прокидываем никаких кастомных свойств внутрь чтобы ими не воспользовались
|
|
13
13
|
.layout {
|
|
14
|
-
@include breakpoints.
|
|
14
|
+
@include breakpoints.lt('ms') {
|
|
15
15
|
&:not(.disabled-mxs) {
|
|
16
16
|
@include layout;
|
|
17
17
|
padding-left: 16px;
|
|
18
18
|
padding-right: 16px;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
@include breakpoints.
|
|
22
|
-
@include breakpoints.
|
|
21
|
+
@include breakpoints.gte('ms') {
|
|
22
|
+
@include breakpoints.lt('mm') {
|
|
23
23
|
&:not(.disabled-ms) {
|
|
24
24
|
@include layout;
|
|
25
25
|
padding-left: 16px;
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
@include breakpoints.
|
|
31
|
-
@include breakpoints.
|
|
30
|
+
@include breakpoints.gte('mm') {
|
|
31
|
+
@include breakpoints.lt('ml') {
|
|
32
32
|
&:not(.disabled-mm) {
|
|
33
33
|
@include layout;
|
|
34
34
|
max-width: 656px;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
@include breakpoints.
|
|
39
|
-
@include breakpoints.
|
|
38
|
+
@include breakpoints.gte('ml') {
|
|
39
|
+
@include breakpoints.lt('xs') {
|
|
40
40
|
&:not(.disabled-ml) {
|
|
41
41
|
@include layout;
|
|
42
42
|
max-width: 672px;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
@include breakpoints.
|
|
47
|
-
@include breakpoints.
|
|
46
|
+
@include breakpoints.gte('xs') {
|
|
47
|
+
@include breakpoints.lt('s') {
|
|
48
48
|
&:not(.disabled-xs) {
|
|
49
49
|
@include layout;
|
|
50
50
|
padding-left: 64px;
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
@include breakpoints.
|
|
56
|
-
@include breakpoints.
|
|
55
|
+
@include breakpoints.gte('s') {
|
|
56
|
+
@include breakpoints.lt('m') {
|
|
57
57
|
&:not(.disabled-s) {
|
|
58
58
|
@include layout;
|
|
59
59
|
padding-left: 64px;
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
@include breakpoints.
|
|
65
|
-
@include breakpoints.
|
|
64
|
+
@include breakpoints.gte('m') {
|
|
65
|
+
@include breakpoints.lt('l') {
|
|
66
66
|
&:not(.disabled-m) {
|
|
67
67
|
@include layout;
|
|
68
68
|
padding-left: 64px;
|
|
@@ -70,15 +70,15 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
@include breakpoints.
|
|
74
|
-
@include breakpoints.
|
|
73
|
+
@include breakpoints.gte('l') {
|
|
74
|
+
@include breakpoints.lt('xl') {
|
|
75
75
|
&:not(.disabled-l) {
|
|
76
76
|
@include layout;
|
|
77
77
|
max-width: 1472px;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
@include breakpoints.
|
|
81
|
+
@include breakpoints.gte('xl') {
|
|
82
82
|
&:not(.disabled-xl) {
|
|
83
83
|
@include layout;
|
|
84
84
|
max-width: 1504px;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
width: var(--l-width);
|
|
5
5
|
margin: 0 var(--l-gutter);
|
|
6
6
|
@each $key, $val in breakpoints.$map {
|
|
7
|
-
@include breakpoints.
|
|
7
|
+
@include breakpoints.gte($key) {
|
|
8
8
|
&.disabled-#{$key} {
|
|
9
9
|
width: auto;
|
|
10
10
|
margin: 0;
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
.mobile {
|
|
21
21
|
--l-gutter: 16px;
|
|
22
22
|
--l-width: calc(100vw - (2 * var(--l-gutter)));
|
|
23
|
-
@include breakpoints.
|
|
23
|
+
@include breakpoints.gte('mm') {
|
|
24
24
|
--l-width: 656px;
|
|
25
25
|
--l-gutter: auto;
|
|
26
26
|
}
|
|
27
|
-
@include breakpoints.
|
|
27
|
+
@include breakpoints.gte('ml') {
|
|
28
28
|
--l-width: 672px;
|
|
29
29
|
--l-gutter: auto;
|
|
30
30
|
}
|
|
31
|
-
@include breakpoints.
|
|
31
|
+
@include breakpoints.gte('xs') {
|
|
32
32
|
--l-width: 792px;
|
|
33
33
|
--l-gutter: auto;
|
|
34
34
|
}
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
min-width: 896px;
|
|
39
39
|
--l-gutter: 64px;
|
|
40
40
|
--l-width: calc(100vw - (2 * var(--l-gutter)));
|
|
41
|
-
@include breakpoints.
|
|
41
|
+
@include breakpoints.gte('l') {
|
|
42
42
|
--l-width: 1472px;
|
|
43
43
|
--l-gutter: auto;
|
|
44
44
|
}
|
|
45
|
-
@include breakpoints.
|
|
45
|
+
@include breakpoints.gte('xl') {
|
|
46
46
|
--l-width: 1504px;
|
|
47
47
|
--l-gutter: auto;
|
|
48
48
|
}
|
package/dist/link/link.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
import type { LinkProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Ссылка.
|
|
4
|
-
* @param props Свойства компонента. Поддерживаются свойства span/a.
|
|
5
|
-
* @param ref Реф для DOM-элемента ссылки.
|
|
6
|
-
* @return Элемент.
|
|
7
|
-
*/
|
|
8
2
|
export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
package/dist/link/link.js
CHANGED
|
@@ -15,7 +15,7 @@ const cx = bind_1.default.bind(link_module_scss_1.default);
|
|
|
15
15
|
* @param ref Реф для DOM-элемента ссылки.
|
|
16
16
|
* @return Элемент.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
function PureLink({ children, className, color = 'basic-blue', disabled, pseudo, role, tabIndex, underline, 'data-testid': testId = 'anchor', ...restProps }, ref) {
|
|
19
19
|
const baseProps = pseudo
|
|
20
20
|
? {
|
|
21
21
|
role: role || 'button',
|
|
@@ -23,5 +23,6 @@ exports.Link = (0, react_1.forwardRef)(function Link({ children, className, colo
|
|
|
23
23
|
}
|
|
24
24
|
: { role, tabIndex };
|
|
25
25
|
return ((0, jsx_runtime_1.jsx)("a", { ...baseProps, ...restProps, "data-testid": testId, ref: ref, className: cx('link', className, color, { disabled, underline }), children: children }));
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
|
+
exports.Link = (0, react_1.forwardRef)(PureLink);
|
|
27
28
|
//# sourceMappingURL=link.js.map
|
package/dist/link/link.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/link/link.tsx"],"names":[],"mappings":";;;;;;;AACA,
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/link/link.tsx"],"names":[],"mappings":";;;;;;;AACA,iCAA6C;AAC7C,2DAAyC;AACzC,0EAAwC;AAExC,MAAM,EAAE,GAAG,cAAU,CAAC,IAAI,CAAC,0BAAM,CAAC,CAAC;AAEnC;;;;;GAKG;AACH,SAAS,QAAQ,CACf,EACE,QAAQ,EACR,SAAS,EACT,KAAK,GAAG,YAAY,EACpB,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,aAAa,EAAE,MAAM,GAAG,QAAQ,EAChC,GAAG,SAAS,EACF,EACZ,GAA2B;IAE3B,MAAM,SAAS,GAAG,MAAM;QACtB,CAAC,CAAC;YACE,IAAI,EAAE,IAAI,IAAI,QAAQ;YACtB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC;SAC/C;QACH,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IAEvB,OAAO,CACL,iCACM,SAAS,KACT,SAAS,iBACA,MAAM,EACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,YAE/D,QAAQ,GACP,CACL,CAAC;AACJ,CAAC;AAEY,QAAA,IAAI,GAAG,IAAA,kBAAU,EAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -4,4 +4,4 @@ import { MaskedInputProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function MaskedInput({ value, defaultValue, onChange, ...restProps }: MaskedInputProps): import("react
|
|
7
|
+
export declare function MaskedInput({ value, defaultValue, onChange, ...restProps }: MaskedInputProps): import("react").JSX.Element;
|
package/dist/modal/modal.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ import type { ModalProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Modal({ flexLayout, size, rounds, className, children, onClose, overlayProps, 'data-testid': testId, ...restProps }: ModalProps): import("react
|
|
7
|
+
export declare function Modal({ flexLayout, size, rounds, className, children, onClose, overlayProps, 'data-testid': testId, ...restProps }: ModalProps): import("react").JSX.Element;
|
package/dist/modal/slots.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ModalBodyProps } from './types';
|
|
|
5
5
|
* @param props Свойства.
|
|
6
6
|
* @return Элемент.
|
|
7
7
|
*/
|
|
8
|
-
export declare function ModalBody({ children, className, rootRef, viewportRef, viewportProps, withScrollDisable, scrollDisableOptions, 'data-testid': testId, ...restProps }: ModalBodyProps): import("react
|
|
8
|
+
export declare function ModalBody({ children, className, rootRef, viewportRef, viewportProps, withScrollDisable, scrollDisableOptions, 'data-testid': testId, ...restProps }: ModalBodyProps): import("react").JSX.Element;
|
|
9
9
|
/**
|
|
10
10
|
* Контент который будет выводится поверх окна с абсолютным позиционированием.
|
|
11
11
|
* @param props Свойства.
|
|
@@ -13,9 +13,9 @@ export declare function ModalBody({ children, className, rootRef, viewportRef, v
|
|
|
13
13
|
*/
|
|
14
14
|
export declare function ModalOverlap({ children }: {
|
|
15
15
|
children?: ReactNode;
|
|
16
|
-
}): import("react
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
17
|
/**
|
|
18
18
|
* Заглушка для футера по дизайн-гайдам.
|
|
19
19
|
* @return Элемент.
|
|
20
20
|
*/
|
|
21
|
-
export declare function ModalBottomGap(): import("react
|
|
21
|
+
export declare function ModalBottomGap(): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { ModalOverlayProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function ModalOverlay({ rootRef, children, className, style, withScrollDisable, scrollDisableOptions, 'data-testid': testId, ...restProps }: ModalOverlayProps): import("react
|
|
7
|
+
export declare function ModalOverlay({ rootRef, children, className, style, withScrollDisable, scrollDisableOptions, 'data-testid': testId, ...restProps }: ModalOverlayProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { NoIndexMarkProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function NoIndexMark({ closing }: NoIndexMarkProps): import("react
|
|
7
|
+
export declare function NoIndexMark({ closing }: NoIndexMarkProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import type { NoIndexProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function NoIndex({ children }: NoIndexProps): import("react
|
|
7
|
+
export declare function NoIndex({ children }: NoIndexProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import { PaginationItemProps } from './types';
|
|
|
4
4
|
* @param props Свойства.
|
|
5
5
|
* @return Элемент.
|
|
6
6
|
*/
|
|
7
|
-
export declare function PaginationItem({ rootRef, checked, disabled, children, rounds, onClick, className, href, role, ...rest }: PaginationItemProps): import("react
|
|
7
|
+
export declare function PaginationItem({ rootRef, checked, disabled, children, rounds, onClick, className, href, role, ...rest }: PaginationItemProps): import("react").JSX.Element;
|