@alfalab/core-components-table 2.3.11 → 2.4.1
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/{esm/Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
- package/{cssm/Component-72308007.d.ts → Component-10db897e.d.ts} +2 -2
- package/Component-72dda473.d.ts +53 -0
- package/{component-72308007.d.ts → component-10db897e.d.ts} +1 -1
- package/components/pagination/Component.d.ts +4 -0
- package/components/pagination/Component.js +4 -4
- package/components/pagination/index.css +10 -8
- package/components/pagination/select-field/index.css +4 -4
- package/components/pagination/select-field/index.js +1 -1
- package/components/table/Component.js +1 -1
- package/components/table/index.css +7 -7
- package/components/tbody/Component.js +1 -1
- package/components/tbody/index.css +2 -2
- package/components/tcell/Component.js +1 -1
- package/components/tcell/index.css +6 -6
- package/components/texpandable-row/Component.js +1 -1
- package/components/texpandable-row/index.css +5 -5
- package/components/thead/Component.js +1 -1
- package/components/thead/index.css +6 -6
- package/components/thead-cell/Component.js +1 -1
- package/components/thead-cell/index.css +9 -9
- package/components/trow/Component.js +1 -1
- package/components/trow/index.css +8 -8
- package/components/tsortable-head-cell/Component.js +1 -1
- package/components/tsortable-head-cell/index.css +8 -8
- package/{modern/Component-dd8ca091.d.ts → cssm/Component-0f4b9bed.d.ts} +1 -1
- package/{Component-72308007.d.ts → cssm/Component-10db897e.d.ts} +2 -2
- package/cssm/Component-72dda473.d.ts +53 -0
- package/cssm/{component-72308007.d.ts → component-10db897e.d.ts} +1 -1
- package/cssm/components/pagination/Component.d.ts +4 -0
- package/cssm/components/pagination/Component.js +3 -3
- package/cssm/components/pagination/index.module.css +3 -1
- package/cssm/desktop-63dec22f.d.ts +2 -6
- package/cssm/desktop-69921c40.d.ts +6 -0
- package/{hook-dd8ca091.d.ts → cssm/hook-0f4b9bed.d.ts} +6 -6
- package/cssm/hook-ebda875c.d.ts +1 -1
- package/{esm/index-72308007.d.ts → cssm/index-10db897e.d.ts} +2 -6
- package/cssm/index-c44170fe.d.ts +2 -20
- package/cssm/index-c76d6398.d.ts +2 -2
- package/cssm/index-ebda875c.d.ts +2 -2
- package/cssm/index-f12ee135.d.ts +2 -2
- package/cssm/mobile-89f0cb07.d.ts +6 -0
- package/{esm/types-83e2bd9e.d.ts → cssm/types-1c79e231.d.ts} +1 -1
- package/{esm/types-e40becc7.d.ts → cssm/types-67a2d8af.d.ts} +1 -1
- package/{modern/typings-dd8ca091.d.ts → cssm/typings-0f4b9bed.d.ts} +4 -0
- package/{modern/typings-9211a437.d.ts → cssm/typings-89f0cb07.d.ts} +5 -7
- package/{esm/utils-dd8ca091.d.ts → cssm/utils-0f4b9bed.d.ts} +1 -1
- package/desktop-63dec22f.d.ts +2 -6
- package/desktop-69921c40.d.ts +6 -0
- package/{Component-dd8ca091.d.ts → esm/Component-0f4b9bed.d.ts} +1 -1
- package/esm/{Component-72308007.d.ts → Component-10db897e.d.ts} +2 -2
- package/esm/Component-72dda473.d.ts +53 -0
- package/esm/{component-72308007.d.ts → component-10db897e.d.ts} +1 -1
- package/esm/components/pagination/Component.d.ts +4 -0
- package/esm/components/pagination/Component.js +4 -4
- package/esm/components/pagination/index.css +10 -8
- package/esm/components/pagination/select-field/index.css +4 -4
- package/esm/components/pagination/select-field/index.js +1 -1
- package/esm/components/table/Component.js +1 -1
- package/esm/components/table/index.css +7 -7
- package/esm/components/tbody/Component.js +1 -1
- package/esm/components/tbody/index.css +2 -2
- package/esm/components/tcell/Component.js +1 -1
- package/esm/components/tcell/index.css +6 -6
- package/esm/components/texpandable-row/Component.js +1 -1
- package/esm/components/texpandable-row/index.css +5 -5
- package/esm/components/thead/Component.js +1 -1
- package/esm/components/thead/index.css +6 -6
- package/esm/components/thead-cell/Component.js +1 -1
- package/esm/components/thead-cell/index.css +9 -9
- package/esm/components/trow/Component.js +1 -1
- package/esm/components/trow/index.css +8 -8
- package/esm/components/tsortable-head-cell/Component.js +1 -1
- package/esm/components/tsortable-head-cell/index.css +8 -8
- package/esm/desktop-63dec22f.d.ts +2 -6
- package/esm/desktop-69921c40.d.ts +6 -0
- package/esm/{hook-dd8ca091.d.ts → hook-0f4b9bed.d.ts} +6 -6
- package/esm/hook-ebda875c.d.ts +1 -1
- package/{index-72308007.d.ts → esm/index-10db897e.d.ts} +2 -6
- package/esm/index-c44170fe.d.ts +2 -20
- package/esm/index-c76d6398.d.ts +2 -2
- package/esm/index-ebda875c.d.ts +2 -2
- package/esm/index-f12ee135.d.ts +2 -2
- package/esm/mobile-89f0cb07.d.ts +6 -0
- package/{modern/types-83e2bd9e.d.ts → esm/types-1c79e231.d.ts} +1 -1
- package/{modern/types-e40becc7.d.ts → esm/types-67a2d8af.d.ts} +1 -1
- package/{cssm/typings-dd8ca091.d.ts → esm/typings-0f4b9bed.d.ts} +4 -0
- package/{typings-9211a437.d.ts → esm/typings-89f0cb07.d.ts} +5 -7
- package/{modern/utils-dd8ca091.d.ts → esm/utils-0f4b9bed.d.ts} +1 -1
- package/{cssm/hook-dd8ca091.d.ts → hook-0f4b9bed.d.ts} +6 -6
- package/hook-ebda875c.d.ts +1 -1
- package/{modern/index-72308007.d.ts → index-10db897e.d.ts} +2 -6
- package/index-c44170fe.d.ts +2 -20
- package/index-c76d6398.d.ts +2 -2
- package/index-ebda875c.d.ts +2 -2
- package/index-f12ee135.d.ts +2 -2
- package/mobile-89f0cb07.d.ts +6 -0
- package/{cssm/Component-dd8ca091.d.ts → modern/Component-0f4b9bed.d.ts} +1 -1
- package/modern/{Component-72308007.d.ts → Component-10db897e.d.ts} +2 -2
- package/modern/Component-72dda473.d.ts +53 -0
- package/modern/{component-72308007.d.ts → component-10db897e.d.ts} +1 -1
- package/modern/components/pagination/Component.d.ts +4 -0
- package/modern/components/pagination/Component.js +4 -4
- package/modern/components/pagination/index.css +10 -8
- package/modern/components/pagination/select-field/index.css +4 -4
- package/modern/components/pagination/select-field/index.js +1 -1
- package/modern/components/table/Component.js +1 -1
- package/modern/components/table/index.css +7 -7
- package/modern/components/tbody/Component.js +1 -1
- package/modern/components/tbody/index.css +2 -2
- package/modern/components/tcell/Component.js +1 -1
- package/modern/components/tcell/index.css +6 -6
- package/modern/components/texpandable-row/Component.js +1 -1
- package/modern/components/texpandable-row/index.css +5 -5
- package/modern/components/thead/Component.js +1 -1
- package/modern/components/thead/index.css +6 -6
- package/modern/components/thead-cell/Component.js +1 -1
- package/modern/components/thead-cell/index.css +9 -9
- package/modern/components/trow/Component.js +1 -1
- package/modern/components/trow/index.css +8 -8
- package/modern/components/tsortable-head-cell/Component.js +1 -1
- package/modern/components/tsortable-head-cell/index.css +8 -8
- package/modern/desktop-63dec22f.d.ts +2 -6
- package/modern/desktop-69921c40.d.ts +6 -0
- package/modern/{hook-dd8ca091.d.ts → hook-0f4b9bed.d.ts} +6 -6
- package/modern/hook-ebda875c.d.ts +1 -1
- package/{cssm/index-72308007.d.ts → modern/index-10db897e.d.ts} +2 -6
- package/modern/index-c44170fe.d.ts +2 -20
- package/modern/index-c76d6398.d.ts +2 -2
- package/modern/index-ebda875c.d.ts +2 -2
- package/modern/index-f12ee135.d.ts +2 -2
- package/modern/mobile-89f0cb07.d.ts +6 -0
- package/{types-83e2bd9e.d.ts → modern/types-1c79e231.d.ts} +1 -1
- package/{cssm/types-e40becc7.d.ts → modern/types-67a2d8af.d.ts} +1 -1
- package/{typings-dd8ca091.d.ts → modern/typings-0f4b9bed.d.ts} +4 -0
- package/{esm/typings-9211a437.d.ts → modern/typings-89f0cb07.d.ts} +5 -7
- package/{cssm/utils-dd8ca091.d.ts → modern/utils-0f4b9bed.d.ts} +1 -1
- package/package.json +3 -3
- package/src/components/pagination/Component.tsx +21 -11
- package/src/components/pagination/index.module.css +4 -0
- package/{cssm/types-83e2bd9e.d.ts → types-1c79e231.d.ts} +1 -1
- package/{types-e40becc7.d.ts → types-67a2d8af.d.ts} +1 -1
- package/{esm/typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{cssm/typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/Component.mobile-ebda875c.d.ts +0 -6
- package/cssm/Component.mobile-ebda875c.d.ts +0 -6
- package/esm/Component.mobile-ebda875c.d.ts +0 -6
- package/modern/Component.mobile-ebda875c.d.ts +0 -6
- /package/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/cssm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/cssm/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/esm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/esm/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/modern/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/modern/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
|
@@ -4,7 +4,7 @@ import { FC, ReactNode, RefObject } from "react";
|
|
|
4
4
|
import { NavigationBarProps } from "./index-c76d6398";
|
|
5
5
|
import { SwipeableHandlers } from "react-swipeable";
|
|
6
6
|
import { BackdropProps } from "./index-ebda875c";
|
|
7
|
-
import { BottomSheetProps } from "./types-
|
|
7
|
+
import { BottomSheetProps } from "./types-67a2d8af";
|
|
8
8
|
type FooterProps = {
|
|
9
9
|
/**
|
|
10
10
|
* Контент футера
|
|
@@ -13,6 +13,10 @@ type PaginationProps = CorePaginationProps & {
|
|
|
13
13
|
* Обработчик переключения perPage
|
|
14
14
|
*/
|
|
15
15
|
onPerPageChange?: (perPage: number) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Скрывает переключатель количества строк на страницу
|
|
18
|
+
*/
|
|
19
|
+
hidePerPageSelect?: boolean;
|
|
16
20
|
/**
|
|
17
21
|
* Идентификатор для систем автоматизированного тестирования
|
|
18
22
|
*/
|
|
@@ -20,7 +20,7 @@ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
|
20
20
|
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
21
21
|
|
|
22
22
|
var Pagination = function (_a) {
|
|
23
|
-
var _b = _a.perPage, perPage = _b === void 0 ? 25 : _b, _c = _a.possiblePerPage, possiblePerPage = _c === void 0 ? [25, 50, 100] : _c, _d = _a.onPerPageChange, onPerPageChange = _d === void 0 ? function () { return null; } : _d, pagesCount = _a.pagesCount,
|
|
23
|
+
var _b = _a.perPage, perPage = _b === void 0 ? 25 : _b, _c = _a.possiblePerPage, possiblePerPage = _c === void 0 ? [25, 50, 100] : _c, _d = _a.onPerPageChange, onPerPageChange = _d === void 0 ? function () { return null; } : _d, _e = _a.hidePerPageSelect, hidePerPageSelect = _e === void 0 ? false : _e, pagesCount = _a.pagesCount, _f = _a.onPageChange, onPageChange = _f === void 0 ? function () { return null; } : _f, className = _a.className, dataTestId = _a.dataTestId, restPaginationProps = tslib.__rest(_a, ["perPage", "possiblePerPage", "onPerPageChange", "hidePerPageSelect", "pagesCount", "onPageChange", "className", "dataTestId"]);
|
|
24
24
|
var wrapperRef = React.useContext(components_tableContext_index.TableContext).wrapperRef;
|
|
25
25
|
var options = React.useMemo(function () {
|
|
26
26
|
return Array.from(new Set(possiblePerPage.concat(perPage)))
|
|
@@ -43,8 +43,8 @@ var Pagination = function (_a) {
|
|
|
43
43
|
}, 0);
|
|
44
44
|
}, [onPageChange, wrapperRef]);
|
|
45
45
|
return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.component, className), "data-test-id": dataTestId },
|
|
46
|
-
React__default.default.createElement(desktop.SelectDesktop, { options: options, selected: perPage.toString(), onChange: handlePerPageChange, preventFlip: false, size: 's', className: styles__default.default.select, optionsListClassName: styles__default.default.menu, optionClassName: styles__default.default.option, Field: components_pagination_selectField_index.CustomSelectField }),
|
|
47
|
-
pagesCount > 1 && (React__default.default.createElement(coreComponentsPagination.Pagination, tslib.__assign({ pagesCount: pagesCount, onPageChange: handlePageChange }, restPaginationProps)))));
|
|
46
|
+
hidePerPageSelect === false && (React__default.default.createElement(desktop.SelectDesktop, { options: options, selected: perPage.toString(), onChange: handlePerPageChange, preventFlip: false, size: 's', className: styles__default.default.select, optionsListClassName: styles__default.default.menu, optionClassName: styles__default.default.option, Field: components_pagination_selectField_index.CustomSelectField })),
|
|
47
|
+
pagesCount > 1 && (React__default.default.createElement(coreComponentsPagination.Pagination, tslib.__assign({ pagesCount: pagesCount, onPageChange: handlePageChange, className: styles__default.default.pagination }, restPaginationProps)))));
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
exports.Pagination = Pagination;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { AnchorButtonProps, NativeButtonProps } from "./typings-9211a437";
|
|
4
|
-
type ButtonDesktopProps = Partial<AnchorButtonProps | NativeButtonProps>;
|
|
5
|
-
declare const ButtonDesktop: React.ForwardRefExoticComponent<ButtonDesktopProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
6
|
-
export { ButtonDesktopProps, ButtonDesktop };
|
|
1
|
+
export * from "./Component.desktop-785df74d";
|
|
2
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonDesktop };
|
|
6
|
+
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseSelectProps, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
type UseSelectWithApplyProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Список выбранных пунктов
|
|
@@ -44,20 +44,20 @@ type UseSelectWithApplyProps = {
|
|
|
44
44
|
};
|
|
45
45
|
declare const SELECT_ALL_KEY = "select_all";
|
|
46
46
|
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
|
|
47
|
-
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-
|
|
47
|
+
OptionsList: import("react").ForwardRefExoticComponent<import("./typings-0f4b9bed").OptionsListProps & {
|
|
48
48
|
showClear?: boolean | undefined;
|
|
49
49
|
onClose?: (() => void) | undefined; /**
|
|
50
50
|
* Компонент выпадающего меню
|
|
51
51
|
*/
|
|
52
52
|
selectedDraft?: OptionShape[] | undefined;
|
|
53
|
-
OptionsList?: import("react").FC<import("./typings-
|
|
53
|
+
OptionsList?: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
54
54
|
Footer?: import("react").FC<import("./Component-ebda875c").FooterProps> | undefined;
|
|
55
55
|
Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
|
|
56
56
|
headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
|
|
57
57
|
showHeaderWithSelectAll?: boolean | undefined;
|
|
58
58
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
59
|
optionsListProps: {
|
|
60
|
-
OptionsList: import("react").FC<import("./typings-
|
|
60
|
+
OptionsList: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
61
61
|
showClear: boolean;
|
|
62
62
|
onClear: () => void;
|
|
63
63
|
onApply: () => void;
|
|
@@ -72,11 +72,11 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
72
72
|
};
|
|
73
73
|
allowUnselect: boolean;
|
|
74
74
|
multiple: boolean;
|
|
75
|
-
options: (OptionShape | import("./typings-
|
|
75
|
+
options: (OptionShape | import("./typings-0f4b9bed").GroupShape | {
|
|
76
76
|
key: string;
|
|
77
77
|
content: string;
|
|
78
78
|
})[];
|
|
79
|
-
onChange: (payload: import("./typings-
|
|
79
|
+
onChange: (payload: import("./typings-0f4b9bed").BaseSelectChangePayload) => void;
|
|
80
80
|
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
81
81
|
showSearch: boolean | undefined;
|
|
82
82
|
searchProps: {
|
package/cssm/hook-ebda875c.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptionProps, OptionShape } from "./typings-
|
|
3
|
+
import { OptionProps, OptionShape } from "./typings-0f4b9bed";
|
|
4
4
|
type OptionsFetcherResponse = {
|
|
5
5
|
options: OptionShape[];
|
|
6
6
|
hasMore: boolean;
|
|
@@ -3,17 +3,13 @@ import React from "react";
|
|
|
3
3
|
import { PaddingType } from "./index-72dda473";
|
|
4
4
|
/* eslint-disable no-plusplus, no-param-reassign */
|
|
5
5
|
import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
|
|
6
|
-
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
7
6
|
declare const isClient: () => boolean;
|
|
8
7
|
declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
|
|
8
|
+
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
9
9
|
declare function easeInOutQuad(x: number): number;
|
|
10
10
|
declare const easingFns: {
|
|
11
11
|
easeInOutQuad: typeof easeInOutQuad;
|
|
12
12
|
};
|
|
13
|
-
declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
|
|
14
|
-
declare const inputUtils: {
|
|
15
|
-
disableUserInput: typeof disableUserInput;
|
|
16
|
-
};
|
|
17
13
|
/**
|
|
18
14
|
* Возвращает true, если значение равно null или undefined
|
|
19
15
|
*/
|
|
@@ -51,4 +47,4 @@ declare const maskUtils: {
|
|
|
51
47
|
prefixPostprocessor: typeof prefixPostprocessor;
|
|
52
48
|
caretGuard: typeof caretGuard;
|
|
53
49
|
};
|
|
54
|
-
export {
|
|
50
|
+
export { isClient, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils };
|
package/cssm/index-c44170fe.d.ts
CHANGED
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type InputProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> & {
|
|
5
|
-
/**
|
|
6
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
7
|
-
* @default 1024
|
|
8
|
-
*/
|
|
9
|
-
breakpoint?: number;
|
|
10
|
-
/**
|
|
11
|
-
* Значение по-умолчанию для хука useMatchMedia
|
|
12
|
-
*/
|
|
13
|
-
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
14
|
-
};
|
|
15
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
16
|
-
breakpoint?: number | undefined;
|
|
17
|
-
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
18
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
-
type InputMobileProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles">;
|
|
20
|
-
declare const InputMobile: React.ForwardRefExoticComponent<InputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
21
|
-
export { InputProps, Input, InputMobileProps, InputMobile };
|
|
2
|
+
export * from "./Component.responsive-785df74d";
|
|
3
|
+
export {};
|
package/cssm/index-c76d6398.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Component-
|
|
2
|
-
export type { NavigationBarProps } from "./types-
|
|
1
|
+
export * from "./Component-10db897e";
|
|
2
|
+
export type { NavigationBarProps } from "./types-1c79e231";
|
package/cssm/index-ebda875c.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ type IconButtonProps = {
|
|
|
66
66
|
* Набор цветов для компонента
|
|
67
67
|
*/
|
|
68
68
|
colors?: "default" | "inverted";
|
|
69
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading" | "breakpoint"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
|
|
69
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "Component" | "href" | "loading" | "breakpoint"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
|
|
70
70
|
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
71
71
|
icon: ElementType<{
|
|
72
72
|
className?: string;
|
|
@@ -77,5 +77,5 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
77
77
|
alignIcon?: "center" | "left" | "right" | undefined;
|
|
78
78
|
dataTestId?: string | undefined;
|
|
79
79
|
colors?: "default" | "inverted" | undefined;
|
|
80
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
80
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "Component" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
81
81
|
export { CloserProps, Closer, IconButtonProps, IconButton };
|
package/cssm/index-f12ee135.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./component-
|
|
2
|
-
export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-
|
|
1
|
+
export * from "./component-10db897e";
|
|
2
|
+
export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-67a2d8af";
|
|
3
3
|
export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonMobile };
|
|
6
|
+
export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
|
|
@@ -459,6 +459,10 @@ type OptionsListProps = {
|
|
|
459
459
|
* Обработчик отмены изменений
|
|
460
460
|
*/
|
|
461
461
|
onClear?: () => void;
|
|
462
|
+
/**
|
|
463
|
+
* Указать индекс пункта для hover состояния
|
|
464
|
+
*/
|
|
465
|
+
setHighlightedIndex?: (index: number) => void;
|
|
462
466
|
};
|
|
463
467
|
type OptgroupProps = {
|
|
464
468
|
/**
|
|
@@ -69,6 +69,8 @@ type ComponentProps = {
|
|
|
69
69
|
* Дочерние элементы.
|
|
70
70
|
*/
|
|
71
71
|
children?: ReactNode;
|
|
72
|
+
};
|
|
73
|
+
type PrivateButtonProps = {
|
|
72
74
|
/**
|
|
73
75
|
* Основные стили компонента.
|
|
74
76
|
*/
|
|
@@ -80,16 +82,12 @@ type ComponentProps = {
|
|
|
80
82
|
*/
|
|
81
83
|
colorStylesMap: StyleColors;
|
|
82
84
|
};
|
|
83
|
-
type
|
|
84
|
-
type
|
|
85
|
-
type BaseButtonProps = Partial<AnchorBaseButtonProps | NativeBaseButtonProps>;
|
|
86
|
-
type AnchorButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
87
|
-
type NativeButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
88
|
-
type ButtonProps = Partial<AnchorButtonProps | NativeButtonProps> & {
|
|
85
|
+
type CommonButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
86
|
+
type ButtonProps = CommonButtonProps & {
|
|
89
87
|
/**
|
|
90
88
|
* Контрольная точка, с нее начинается desktop версия
|
|
91
89
|
* @default 1024
|
|
92
90
|
*/
|
|
93
91
|
breakpoint?: number;
|
|
94
92
|
};
|
|
95
|
-
export { StyleColors, ComponentProps,
|
|
93
|
+
export { StyleColors, ComponentProps, PrivateButtonProps, CommonButtonProps, ButtonProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-0f4b9bed";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
package/desktop-63dec22f.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { AnchorButtonProps, NativeButtonProps } from "./typings-9211a437";
|
|
4
|
-
type ButtonDesktopProps = Partial<AnchorButtonProps | NativeButtonProps>;
|
|
5
|
-
declare const ButtonDesktop: React.ForwardRefExoticComponent<ButtonDesktopProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
6
|
-
export { ButtonDesktopProps, ButtonDesktop };
|
|
1
|
+
export * from "./Component.desktop-785df74d";
|
|
2
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonDesktop };
|
|
6
|
+
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { CheckmarkProps } from "./typings-
|
|
3
|
+
import { CheckmarkProps } from "./typings-0f4b9bed";
|
|
4
4
|
declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
|
|
5
5
|
export { BaseCheckmark };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { NavigationBarProps } from "./types-
|
|
3
|
+
import { NavigationBarProps } from "./types-1c79e231";
|
|
4
4
|
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export * from "./Component-
|
|
5
|
+
export * from "./Component-69921c40";
|
|
6
6
|
export { NavigationBar };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BackgroundColorType, GraphicColorType } from "./index-72dda473";
|
|
4
|
+
type IconColorType = Extract<GraphicColorType, 'positive' | 'attention' | 'link' | 'negative' | 'tertiary' | 'secondary' | 'primary'>;
|
|
5
|
+
type BadgeProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Дополнительный класс
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Вид компонента
|
|
12
|
+
*/
|
|
13
|
+
view: 'icon' | 'count';
|
|
14
|
+
/**
|
|
15
|
+
* Размер компонента (только для view=icon)
|
|
16
|
+
* //deprecated(используйте height для view=count )
|
|
17
|
+
*/
|
|
18
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
19
|
+
/**
|
|
20
|
+
* Видимость белой обводки вокруг иконки
|
|
21
|
+
*/
|
|
22
|
+
visibleIconOutline?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Видимость цветной обводки вокруг иконки (только для view=icon)
|
|
25
|
+
*/
|
|
26
|
+
visibleColorOutline?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Контент компонента
|
|
29
|
+
*/
|
|
30
|
+
content?: React.ReactElement | number;
|
|
31
|
+
/**
|
|
32
|
+
* Высота компонента, min = 16; max = 48 (только для view=count)
|
|
33
|
+
*/
|
|
34
|
+
height?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Цветовое оформление бейджа при view='count'
|
|
37
|
+
*/
|
|
38
|
+
color?: Extract<BackgroundColorType, 'accent' | 'primary' | 'specialbg-secondary-transparent'>;
|
|
39
|
+
/**
|
|
40
|
+
* Цветовое оформление бейджа при view='icon'
|
|
41
|
+
*/
|
|
42
|
+
iconColor?: IconColorType;
|
|
43
|
+
/**
|
|
44
|
+
* Цвет подложки под иконкой
|
|
45
|
+
*/
|
|
46
|
+
iconUnderlayColor?: Extract<GraphicColorType, 'primary' | 'static-light'>;
|
|
47
|
+
/**
|
|
48
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
49
|
+
*/
|
|
50
|
+
dataTestId?: string;
|
|
51
|
+
};
|
|
52
|
+
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
|
|
53
|
+
export { IconColorType, BadgeProps, Badge };
|
|
@@ -4,7 +4,7 @@ import { FC, ReactNode, RefObject } from "react";
|
|
|
4
4
|
import { NavigationBarProps } from "./index-c76d6398";
|
|
5
5
|
import { SwipeableHandlers } from "react-swipeable";
|
|
6
6
|
import { BackdropProps } from "./index-ebda875c";
|
|
7
|
-
import { BottomSheetProps } from "./types-
|
|
7
|
+
import { BottomSheetProps } from "./types-67a2d8af";
|
|
8
8
|
type FooterProps = {
|
|
9
9
|
/**
|
|
10
10
|
* Контент футера
|
|
@@ -13,6 +13,10 @@ type PaginationProps = CorePaginationProps & {
|
|
|
13
13
|
* Обработчик переключения perPage
|
|
14
14
|
*/
|
|
15
15
|
onPerPageChange?: (perPage: number) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Скрывает переключатель количества строк на страницу
|
|
18
|
+
*/
|
|
19
|
+
hidePerPageSelect?: boolean;
|
|
16
20
|
/**
|
|
17
21
|
* Идентификатор для систем автоматизированного тестирования
|
|
18
22
|
*/
|
|
@@ -7,11 +7,11 @@ import { TableContext } from '../table-context/index.js';
|
|
|
7
7
|
import { CustomSelectField } from './select-field/index.js';
|
|
8
8
|
import '@alfalab/core-components-button/esm';
|
|
9
9
|
|
|
10
|
-
var styles = {"component":"
|
|
10
|
+
var styles = {"component":"table__component_1v81f","pagesWrapper":"table__pagesWrapper_1v81f","tag":"table__tag_1v81f","tagActive":"table__tagActive_1v81f","pagination":"table__pagination_1v81f","menu":"table__menu_1v81f","option":"table__option_1v81f"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
var Pagination = function (_a) {
|
|
14
|
-
var _b = _a.perPage, perPage = _b === void 0 ? 25 : _b, _c = _a.possiblePerPage, possiblePerPage = _c === void 0 ? [25, 50, 100] : _c, _d = _a.onPerPageChange, onPerPageChange = _d === void 0 ? function () { return null; } : _d, pagesCount = _a.pagesCount,
|
|
14
|
+
var _b = _a.perPage, perPage = _b === void 0 ? 25 : _b, _c = _a.possiblePerPage, possiblePerPage = _c === void 0 ? [25, 50, 100] : _c, _d = _a.onPerPageChange, onPerPageChange = _d === void 0 ? function () { return null; } : _d, _e = _a.hidePerPageSelect, hidePerPageSelect = _e === void 0 ? false : _e, pagesCount = _a.pagesCount, _f = _a.onPageChange, onPageChange = _f === void 0 ? function () { return null; } : _f, className = _a.className, dataTestId = _a.dataTestId, restPaginationProps = __rest(_a, ["perPage", "possiblePerPage", "onPerPageChange", "hidePerPageSelect", "pagesCount", "onPageChange", "className", "dataTestId"]);
|
|
15
15
|
var wrapperRef = useContext(TableContext).wrapperRef;
|
|
16
16
|
var options = useMemo(function () {
|
|
17
17
|
return Array.from(new Set(possiblePerPage.concat(perPage)))
|
|
@@ -34,8 +34,8 @@ var Pagination = function (_a) {
|
|
|
34
34
|
}, 0);
|
|
35
35
|
}, [onPageChange, wrapperRef]);
|
|
36
36
|
return (React.createElement("div", { className: cn(styles.component, className), "data-test-id": dataTestId },
|
|
37
|
-
React.createElement(SelectDesktop, { options: options, selected: perPage.toString(), onChange: handlePerPageChange, preventFlip: false, size: 's', className: styles.select, optionsListClassName: styles.menu, optionClassName: styles.option, Field: CustomSelectField }),
|
|
38
|
-
pagesCount > 1 && (React.createElement(Pagination$1, __assign({ pagesCount: pagesCount, onPageChange: handlePageChange }, restPaginationProps)))));
|
|
37
|
+
hidePerPageSelect === false && (React.createElement(SelectDesktop, { options: options, selected: perPage.toString(), onChange: handlePerPageChange, preventFlip: false, size: 's', className: styles.select, optionsListClassName: styles.menu, optionClassName: styles.option, Field: CustomSelectField })),
|
|
38
|
+
pagesCount > 1 && (React.createElement(Pagination$1, __assign({ pagesCount: pagesCount, onPageChange: handlePageChange, className: styles.pagination }, restPaginationProps)))));
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
export { Pagination };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1kq1m */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-primary: #dcdcdd; /* 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 */
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--gap-2xl: 32px;
|
|
21
21
|
} :root {
|
|
22
22
|
} :root {
|
|
23
|
-
} .
|
|
23
|
+
} .table__component_1v81f {
|
|
24
24
|
display: flex;
|
|
25
25
|
justify-content: space-between;
|
|
26
26
|
align-items: flex-start;
|
|
@@ -28,19 +28,21 @@
|
|
|
28
28
|
padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
|
|
29
29
|
border-top: 1px solid var(--color-light-border-primary);
|
|
30
30
|
box-sizing: border-box;
|
|
31
|
-
} .
|
|
31
|
+
} .table__pagesWrapper_1v81f {
|
|
32
32
|
display: flex;
|
|
33
|
-
} .
|
|
33
|
+
} .table__tag_1v81f.table__tag_1v81f {
|
|
34
34
|
flex-shrink: 0;
|
|
35
35
|
margin-right: var(--gap-xs);
|
|
36
36
|
padding: 0 var(--gap-xs);
|
|
37
37
|
min-width: 32px
|
|
38
|
-
} .
|
|
38
|
+
} .table__tag_1v81f.table__tag_1v81f:last-child {
|
|
39
39
|
margin-right: 0;
|
|
40
|
-
} .
|
|
40
|
+
} .table__tag_1v81f.table__tag_1v81f.table__tagActive_1v81f {
|
|
41
41
|
cursor: default;
|
|
42
|
-
} .
|
|
42
|
+
} .table__pagination_1v81f {
|
|
43
|
+
margin-left: auto;
|
|
44
|
+
} .table__menu_1v81f {
|
|
43
45
|
margin: var(--gap-2xs) 0;
|
|
44
|
-
} .
|
|
46
|
+
} .table__option_1v81f {
|
|
45
47
|
min-width: 208px;
|
|
46
48
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1yyij */
|
|
2
2
|
:root {
|
|
3
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
4
|
--color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .table__field_1q6zu svg {
|
|
19
19
|
width: 18px;
|
|
20
20
|
height: 18px;
|
|
21
|
-
} .
|
|
22
|
-
.
|
|
21
|
+
} .table__open_1q6zu,
|
|
22
|
+
.table__open_1q6zu:hover {
|
|
23
23
|
background-color: var(--color-light-specialbg-component-shade-7);
|
|
24
24
|
}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { Button } from '@alfalab/core-components-button/esm';
|
|
5
5
|
|
|
6
|
-
var styles = {"field":"
|
|
6
|
+
var styles = {"field":"table__field_1q6zu","open":"table__open_1q6zu"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var CustomSelectField = function (_a) {
|
|
@@ -6,7 +6,7 @@ import { findAllHeadCellsProps } from './utils.js';
|
|
|
6
6
|
import '../../utils.js';
|
|
7
7
|
import '../thead/Component.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"
|
|
9
|
+
var styles = {"component":"table__component_bq6nj","wrapper":"table__wrapper_bq6nj","stickyHeader":"table__stickyHeader_bq6nj","hasPagination":"table__hasPagination_bq6nj","table":"table__table_bq6nj"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var Table = forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ft5w */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff; /* 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 */
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
--gap-m: 16px;
|
|
19
19
|
} :root {
|
|
20
20
|
} :root {
|
|
21
|
-
} .
|
|
21
|
+
} .table__component_bq6nj {
|
|
22
22
|
box-sizing: border-box;
|
|
23
|
-
} .
|
|
23
|
+
} .table__wrapper_bq6nj {
|
|
24
24
|
padding: 0 var(--gap-m) var(--gap-m);
|
|
25
25
|
background: var(--color-light-bg-primary);
|
|
26
26
|
box-shadow: var(--shadow-xs-hard);
|
|
27
27
|
border-radius: var(--border-radius-m);
|
|
28
28
|
overflow: auto;
|
|
29
|
-
} .
|
|
29
|
+
} .table__stickyHeader_bq6nj {
|
|
30
30
|
max-height: 100%;
|
|
31
|
-
} .
|
|
31
|
+
} .table__hasPagination_bq6nj {
|
|
32
32
|
padding-bottom: 0;
|
|
33
|
-
} .
|
|
33
|
+
} .table__table_bq6nj {
|
|
34
34
|
width: 100%;
|
|
35
35
|
border-collapse: collapse;
|
|
36
36
|
box-sizing: border-box
|
|
37
37
|
|
|
38
38
|
/* TODO: Хак для выравнивания чекбокса */
|
|
39
|
-
} .
|
|
39
|
+
} .table__table_bq6nj td:first-child label > *[class^='box'], .table__table_bq6nj th:first-child label > *[class^='box'] {
|
|
40
40
|
margin-top: 0;
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"table__component_a7463"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var TBody = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1br95 */
|
|
2
2
|
:root {
|
|
3
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
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 */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .
|
|
17
|
+
} .table__component_a7463 {
|
|
18
18
|
width: 100%;
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
}
|
|
@@ -3,7 +3,7 @@ import React, { useContext } from 'react';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { TableContext } from '../table-context/index.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"component":"
|
|
6
|
+
var styles = {"component":"table__component_1d21k","compactHorizontal":"table__compactHorizontal_1d21k","compact":"table__compact_1d21k"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var TCell = function (_a) {
|