@ozen-ui/kit 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__inner__/cjs/components/List/components/ListItem/ListItem.css +8 -1
- package/__inner__/cjs/components/List/components/ListItem/ListItem.d.ts +4 -0
- package/__inner__/cjs/components/List/components/ListItem/ListItem.js +4 -3
- package/__inner__/cjs/components/List/components/ListItemButton/ListItemButton.css +8 -1
- package/__inner__/cjs/components/List/components/ListItemButton/ListItemButton.d.ts +4 -0
- package/__inner__/cjs/components/List/components/ListItemButton/ListItemButton.js +4 -2
- package/__inner__/cjs/components/List/components/ListItemText/ListItemText.css +1 -0
- package/__inner__/cjs/components/List/constants.d.ts +2 -0
- package/__inner__/cjs/components/List/constants.js +3 -1
- package/__inner__/esm/components/List/components/ListItem/ListItem.css +8 -1
- package/__inner__/esm/components/List/components/ListItem/ListItem.d.ts +4 -0
- package/__inner__/esm/components/List/components/ListItem/ListItem.js +4 -3
- package/__inner__/esm/components/List/components/ListItemButton/ListItemButton.css +8 -1
- package/__inner__/esm/components/List/components/ListItemButton/ListItemButton.d.ts +4 -0
- package/__inner__/esm/components/List/components/ListItemButton/ListItemButton.js +4 -2
- package/__inner__/esm/components/List/components/ListItemText/ListItemText.css +1 -0
- package/__inner__/esm/components/List/constants.d.ts +2 -0
- package/__inner__/esm/components/List/constants.js +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.ListItem {
|
|
2
2
|
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
3
|
min-block-size: var(--list-item-min-height);
|
|
5
4
|
padding: var(--list-item-padding);
|
|
6
5
|
border-radius: var(--list-item-border-radius);
|
|
@@ -10,6 +9,14 @@
|
|
|
10
9
|
margin: 0 var(--list-gutter);
|
|
11
10
|
}
|
|
12
11
|
|
|
12
|
+
.ListItem_align_start {
|
|
13
|
+
align-items: flex-start;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ListItem_align_center {
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.ListItem_disableGutters {
|
|
14
21
|
padding: 0;
|
|
15
22
|
}
|
|
@@ -3,11 +3,15 @@ import type { ReactNode, ElementType } from 'react';
|
|
|
3
3
|
import { type PolymorphicComponentPropsWithoutRef } from '../../../../utils/polymorphicComponentWithRef';
|
|
4
4
|
import { LIST_ITEM_DEFAULT_TAG } from '../../constants';
|
|
5
5
|
export declare const cnListItem: import("@bem-react/classname").ClassNameFormatter;
|
|
6
|
+
export declare const listItemAlignVariant: readonly ["start", "center"];
|
|
7
|
+
export type ListItemAlignVariant = (typeof listItemAlignVariant)[number];
|
|
6
8
|
export type ListItemBaseProps = {
|
|
7
9
|
/** Содержимое компонента */
|
|
8
10
|
children: ReactNode;
|
|
9
11
|
/** Если {true} убирает отступы вокруг корневого элемента */
|
|
10
12
|
disableGutters?: boolean;
|
|
13
|
+
/** Расположение контента по вертикали (свойство flex-контейнера align-items) */
|
|
14
|
+
align?: ListItemAlignVariant;
|
|
11
15
|
};
|
|
12
16
|
export type ListItemProps<As extends ElementType = typeof LIST_ITEM_DEFAULT_TAG> = PolymorphicComponentPropsWithoutRef<ListItemBaseProps, As>;
|
|
13
17
|
export declare const ListItem: import("../../../../utils/polymorphicComponentWithRef").PolymorphicComponentWithRef<ListItemBaseProps, "li">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListItem = exports.cnListItem = void 0;
|
|
3
|
+
exports.ListItem = exports.listItemAlignVariant = exports.cnListItem = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
require("./ListItem.css");
|
|
6
6
|
var react_1 = tslib_1.__importDefault(require("react"));
|
|
@@ -9,9 +9,10 @@ var classname_1 = require("../../../../utils/classname");
|
|
|
9
9
|
var polymorphicComponentWithRef_1 = require("../../../../utils/polymorphicComponentWithRef");
|
|
10
10
|
var constants_1 = require("../../constants");
|
|
11
11
|
exports.cnListItem = (0, classname_1.cn)('ListItem');
|
|
12
|
+
exports.listItemAlignVariant = ['start', 'center'];
|
|
12
13
|
exports.ListItem = (0, polymorphicComponentWithRef_1.polymorphicComponentWithRef)(function (inProps, ref) {
|
|
13
14
|
var props = (0, useThemeProps_1.useThemeProps)({ props: inProps, name: 'ListItem' });
|
|
14
|
-
var _a = props.as, Tag = _a === void 0 ? constants_1.LIST_ITEM_DEFAULT_TAG : _a, children = props.children, className = props.className, disableGutters = props.disableGutters, other = tslib_1.__rest(props, ["as", "children", "className", "disableGutters"]);
|
|
15
|
-
return (react_1.default.createElement(Tag, tslib_1.__assign({ className: (0, exports.cnListItem)({ disableGutters: disableGutters }, [className]) }, other, { ref: ref }), children));
|
|
15
|
+
var _a = props.as, Tag = _a === void 0 ? constants_1.LIST_ITEM_DEFAULT_TAG : _a, _b = props.align, align = _b === void 0 ? constants_1.LIST_ITEM_DEFAULT_ALIGN : _b, children = props.children, className = props.className, disableGutters = props.disableGutters, other = tslib_1.__rest(props, ["as", "align", "children", "className", "disableGutters"]);
|
|
16
|
+
return (react_1.default.createElement(Tag, tslib_1.__assign({ className: (0, exports.cnListItem)({ align: align, disableGutters: disableGutters }, [className]) }, other, { ref: ref }), children));
|
|
16
17
|
});
|
|
17
18
|
exports.ListItem.displayName = 'ListItem';
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
transition: background-color var(--transition-default);
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-shrink: 0;
|
|
12
|
-
align-items: center;
|
|
13
12
|
box-sizing: border-box;
|
|
14
13
|
outline: none;
|
|
15
14
|
text-decoration: none;
|
|
@@ -36,6 +35,14 @@
|
|
|
36
35
|
box-shadow: none;
|
|
37
36
|
}
|
|
38
37
|
|
|
38
|
+
.ListItemButton_align_start {
|
|
39
|
+
align-items: flex-start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ListItemButton_align_center {
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
39
46
|
.ListItemButton_disabled {
|
|
40
47
|
pointer-events: none;
|
|
41
48
|
color: var(--list-item-bg-color-disabled);
|
|
@@ -3,6 +3,8 @@ import type { ReactNode, ElementType } from 'react';
|
|
|
3
3
|
import { type PolymorphicComponentPropsWithoutRef } from '../../../../utils/polymorphicComponentWithRef';
|
|
4
4
|
import { LIST_ITEM_BUTTON_DEFAULT_TAG } from '../../constants';
|
|
5
5
|
export declare const cnListItemButton: import("@bem-react/classname").ClassNameFormatter;
|
|
6
|
+
export declare const listItemButtonAlignVariant: readonly ["start", "center"];
|
|
7
|
+
export type ListItemButtonAlignVariant = (typeof listItemButtonAlignVariant)[number];
|
|
6
8
|
export type ListItemButtonBaseProps = {
|
|
7
9
|
/** Содержимое компонента */
|
|
8
10
|
children?: ReactNode;
|
|
@@ -10,6 +12,8 @@ export type ListItemButtonBaseProps = {
|
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
/** Если {true} отображает элемент списка как выбранный */
|
|
12
14
|
selected?: boolean;
|
|
15
|
+
/** Расположение контента по вертикали (свойство flex-контейнера align-items) */
|
|
16
|
+
align?: ListItemButtonAlignVariant;
|
|
13
17
|
/** Идентификатор компонента для тестов */
|
|
14
18
|
'data-testid'?: string;
|
|
15
19
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListItemButton = exports.cnListItemButton = void 0;
|
|
3
|
+
exports.ListItemButton = exports.listItemButtonAlignVariant = exports.cnListItemButton = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
require("./ListItemButton.css");
|
|
6
6
|
var react_1 = tslib_1.__importStar(require("react"));
|
|
@@ -10,9 +10,10 @@ var isKey_1 = require("../../../../utils/isKey");
|
|
|
10
10
|
var polymorphicComponentWithRef_1 = require("../../../../utils/polymorphicComponentWithRef");
|
|
11
11
|
var constants_1 = require("../../constants");
|
|
12
12
|
exports.cnListItemButton = (0, classname_1.cn)('ListItemButton');
|
|
13
|
+
exports.listItemButtonAlignVariant = ['start', 'center'];
|
|
13
14
|
exports.ListItemButton = (0, polymorphicComponentWithRef_1.polymorphicComponentWithRef)(function (inProps, ref) {
|
|
14
15
|
var props = (0, useThemeProps_1.useThemeProps)({ props: inProps, name: 'ListItemButton' });
|
|
15
|
-
var _a = props.as, Tag = _a === void 0 ? constants_1.LIST_ITEM_BUTTON_DEFAULT_TAG : _a, children = props.children, disabled = props.disabled, className = props.className, onClick = props.onClick, tabIndexProp = props.tabIndex, onKeyDownProp = props.onKeyDown, selected = props.selected, other = tslib_1.__rest(props, ["as", "children", "disabled", "className", "onClick", "tabIndex", "onKeyDown", "selected"]);
|
|
16
|
+
var _a = props.as, Tag = _a === void 0 ? constants_1.LIST_ITEM_BUTTON_DEFAULT_TAG : _a, _b = props.align, align = _b === void 0 ? constants_1.LIST_ITEM_BUTTON_DEFAULT_ALIGN : _b, children = props.children, disabled = props.disabled, className = props.className, onClick = props.onClick, tabIndexProp = props.tabIndex, onKeyDownProp = props.onKeyDown, selected = props.selected, other = tslib_1.__rest(props, ["as", "align", "children", "disabled", "className", "onClick", "tabIndex", "onKeyDown", "selected"]);
|
|
16
17
|
var tabIndex = (0, react_1.useMemo)(function () { return (!disabled ? 0 : -1); }, [disabled]);
|
|
17
18
|
var handleClick = function (event) {
|
|
18
19
|
if (!disabled)
|
|
@@ -43,6 +44,7 @@ exports.ListItemButton = (0, polymorphicComponentWithRef_1.polymorphicComponentW
|
|
|
43
44
|
return commonAdditionalProps;
|
|
44
45
|
}, [Tag, handleKeyDown]);
|
|
45
46
|
return (react_1.default.createElement(Tag, tslib_1.__assign({ className: (0, exports.cnListItemButton)({
|
|
47
|
+
align: align,
|
|
46
48
|
disabled: disabled,
|
|
47
49
|
selected: selected,
|
|
48
50
|
}, [className]), onClick: handleClick, tabIndex: tabIndexProp || tabIndex }, additionalTagProps, other, { ref: ref }), children));
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const LIST_DEFAULT_SIZE = "m";
|
|
2
2
|
export declare const LIST_DEFAULT_TAG = "ul";
|
|
3
3
|
export declare const LIST_ITEM_DEFAULT_TAG = "li";
|
|
4
|
+
export declare const LIST_ITEM_DEFAULT_ALIGN = "center";
|
|
4
5
|
export declare const LIST_ITEM_BUTTON_DEFAULT_TAG = "div";
|
|
6
|
+
export declare const LIST_ITEM_BUTTON_DEFAULT_ALIGN = "center";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LIST_ITEM_BUTTON_DEFAULT_TAG = exports.LIST_ITEM_DEFAULT_TAG = exports.LIST_DEFAULT_TAG = exports.LIST_DEFAULT_SIZE = void 0;
|
|
3
|
+
exports.LIST_ITEM_BUTTON_DEFAULT_ALIGN = exports.LIST_ITEM_BUTTON_DEFAULT_TAG = exports.LIST_ITEM_DEFAULT_ALIGN = exports.LIST_ITEM_DEFAULT_TAG = exports.LIST_DEFAULT_TAG = exports.LIST_DEFAULT_SIZE = void 0;
|
|
4
4
|
exports.LIST_DEFAULT_SIZE = 'm';
|
|
5
5
|
exports.LIST_DEFAULT_TAG = 'ul';
|
|
6
6
|
exports.LIST_ITEM_DEFAULT_TAG = 'li';
|
|
7
|
+
exports.LIST_ITEM_DEFAULT_ALIGN = 'center';
|
|
7
8
|
exports.LIST_ITEM_BUTTON_DEFAULT_TAG = 'div';
|
|
9
|
+
exports.LIST_ITEM_BUTTON_DEFAULT_ALIGN = 'center';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.ListItem {
|
|
2
2
|
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
3
|
min-block-size: var(--list-item-min-height);
|
|
5
4
|
padding: var(--list-item-padding);
|
|
6
5
|
border-radius: var(--list-item-border-radius);
|
|
@@ -10,6 +9,14 @@
|
|
|
10
9
|
margin: 0 var(--list-gutter);
|
|
11
10
|
}
|
|
12
11
|
|
|
12
|
+
.ListItem_align_start {
|
|
13
|
+
align-items: flex-start;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ListItem_align_center {
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.ListItem_disableGutters {
|
|
14
21
|
padding: 0;
|
|
15
22
|
}
|
|
@@ -3,11 +3,15 @@ import type { ReactNode, ElementType } from 'react';
|
|
|
3
3
|
import { type PolymorphicComponentPropsWithoutRef } from '../../../../utils/polymorphicComponentWithRef';
|
|
4
4
|
import { LIST_ITEM_DEFAULT_TAG } from '../../constants';
|
|
5
5
|
export declare const cnListItem: import("@bem-react/classname").ClassNameFormatter;
|
|
6
|
+
export declare const listItemAlignVariant: readonly ["start", "center"];
|
|
7
|
+
export type ListItemAlignVariant = (typeof listItemAlignVariant)[number];
|
|
6
8
|
export type ListItemBaseProps = {
|
|
7
9
|
/** Содержимое компонента */
|
|
8
10
|
children: ReactNode;
|
|
9
11
|
/** Если {true} убирает отступы вокруг корневого элемента */
|
|
10
12
|
disableGutters?: boolean;
|
|
13
|
+
/** Расположение контента по вертикали (свойство flex-контейнера align-items) */
|
|
14
|
+
align?: ListItemAlignVariant;
|
|
11
15
|
};
|
|
12
16
|
export type ListItemProps<As extends ElementType = typeof LIST_ITEM_DEFAULT_TAG> = PolymorphicComponentPropsWithoutRef<ListItemBaseProps, As>;
|
|
13
17
|
export declare const ListItem: import("../../../../utils/polymorphicComponentWithRef").PolymorphicComponentWithRef<ListItemBaseProps, "li">;
|
|
@@ -4,11 +4,12 @@ import React from 'react';
|
|
|
4
4
|
import { useThemeProps } from '../../../../hooks/useThemeProps';
|
|
5
5
|
import { cn } from '../../../../utils/classname';
|
|
6
6
|
import { polymorphicComponentWithRef, } from '../../../../utils/polymorphicComponentWithRef';
|
|
7
|
-
import { LIST_ITEM_DEFAULT_TAG } from '../../constants';
|
|
7
|
+
import { LIST_ITEM_DEFAULT_ALIGN, LIST_ITEM_DEFAULT_TAG, } from '../../constants';
|
|
8
8
|
export var cnListItem = cn('ListItem');
|
|
9
|
+
export var listItemAlignVariant = ['start', 'center'];
|
|
9
10
|
export var ListItem = polymorphicComponentWithRef(function (inProps, ref) {
|
|
10
11
|
var props = useThemeProps({ props: inProps, name: 'ListItem' });
|
|
11
|
-
var _a = props.as, Tag = _a === void 0 ? LIST_ITEM_DEFAULT_TAG : _a, children = props.children, className = props.className, disableGutters = props.disableGutters, other = __rest(props, ["as", "children", "className", "disableGutters"]);
|
|
12
|
-
return (React.createElement(Tag, __assign({ className: cnListItem({ disableGutters: disableGutters }, [className]) }, other, { ref: ref }), children));
|
|
12
|
+
var _a = props.as, Tag = _a === void 0 ? LIST_ITEM_DEFAULT_TAG : _a, _b = props.align, align = _b === void 0 ? LIST_ITEM_DEFAULT_ALIGN : _b, children = props.children, className = props.className, disableGutters = props.disableGutters, other = __rest(props, ["as", "align", "children", "className", "disableGutters"]);
|
|
13
|
+
return (React.createElement(Tag, __assign({ className: cnListItem({ align: align, disableGutters: disableGutters }, [className]) }, other, { ref: ref }), children));
|
|
13
14
|
});
|
|
14
15
|
ListItem.displayName = 'ListItem';
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
transition: background-color var(--transition-default);
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-shrink: 0;
|
|
12
|
-
align-items: center;
|
|
13
12
|
box-sizing: border-box;
|
|
14
13
|
outline: none;
|
|
15
14
|
text-decoration: none;
|
|
@@ -36,6 +35,14 @@
|
|
|
36
35
|
box-shadow: none;
|
|
37
36
|
}
|
|
38
37
|
|
|
38
|
+
.ListItemButton_align_start {
|
|
39
|
+
align-items: flex-start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ListItemButton_align_center {
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
39
46
|
.ListItemButton_disabled {
|
|
40
47
|
pointer-events: none;
|
|
41
48
|
color: var(--list-item-bg-color-disabled);
|
|
@@ -3,6 +3,8 @@ import type { ReactNode, ElementType } from 'react';
|
|
|
3
3
|
import { type PolymorphicComponentPropsWithoutRef } from '../../../../utils/polymorphicComponentWithRef';
|
|
4
4
|
import { LIST_ITEM_BUTTON_DEFAULT_TAG } from '../../constants';
|
|
5
5
|
export declare const cnListItemButton: import("@bem-react/classname").ClassNameFormatter;
|
|
6
|
+
export declare const listItemButtonAlignVariant: readonly ["start", "center"];
|
|
7
|
+
export type ListItemButtonAlignVariant = (typeof listItemButtonAlignVariant)[number];
|
|
6
8
|
export type ListItemButtonBaseProps = {
|
|
7
9
|
/** Содержимое компонента */
|
|
8
10
|
children?: ReactNode;
|
|
@@ -10,6 +12,8 @@ export type ListItemButtonBaseProps = {
|
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
/** Если {true} отображает элемент списка как выбранный */
|
|
12
14
|
selected?: boolean;
|
|
15
|
+
/** Расположение контента по вертикали (свойство flex-контейнера align-items) */
|
|
16
|
+
align?: ListItemButtonAlignVariant;
|
|
13
17
|
/** Идентификатор компонента для тестов */
|
|
14
18
|
'data-testid'?: string;
|
|
15
19
|
};
|
|
@@ -5,11 +5,12 @@ import { useThemeProps } from '../../../../hooks/useThemeProps';
|
|
|
5
5
|
import { cn } from '../../../../utils/classname';
|
|
6
6
|
import { isKey } from '../../../../utils/isKey';
|
|
7
7
|
import { polymorphicComponentWithRef, } from '../../../../utils/polymorphicComponentWithRef';
|
|
8
|
-
import { LIST_ITEM_BUTTON_DEFAULT_TAG } from '../../constants';
|
|
8
|
+
import { LIST_ITEM_BUTTON_DEFAULT_ALIGN, LIST_ITEM_BUTTON_DEFAULT_TAG, } from '../../constants';
|
|
9
9
|
export var cnListItemButton = cn('ListItemButton');
|
|
10
|
+
export var listItemButtonAlignVariant = ['start', 'center'];
|
|
10
11
|
export var ListItemButton = polymorphicComponentWithRef(function (inProps, ref) {
|
|
11
12
|
var props = useThemeProps({ props: inProps, name: 'ListItemButton' });
|
|
12
|
-
var _a = props.as, Tag = _a === void 0 ? LIST_ITEM_BUTTON_DEFAULT_TAG : _a, children = props.children, disabled = props.disabled, className = props.className, onClick = props.onClick, tabIndexProp = props.tabIndex, onKeyDownProp = props.onKeyDown, selected = props.selected, other = __rest(props, ["as", "children", "disabled", "className", "onClick", "tabIndex", "onKeyDown", "selected"]);
|
|
13
|
+
var _a = props.as, Tag = _a === void 0 ? LIST_ITEM_BUTTON_DEFAULT_TAG : _a, _b = props.align, align = _b === void 0 ? LIST_ITEM_BUTTON_DEFAULT_ALIGN : _b, children = props.children, disabled = props.disabled, className = props.className, onClick = props.onClick, tabIndexProp = props.tabIndex, onKeyDownProp = props.onKeyDown, selected = props.selected, other = __rest(props, ["as", "align", "children", "disabled", "className", "onClick", "tabIndex", "onKeyDown", "selected"]);
|
|
13
14
|
var tabIndex = useMemo(function () { return (!disabled ? 0 : -1); }, [disabled]);
|
|
14
15
|
var handleClick = function (event) {
|
|
15
16
|
if (!disabled)
|
|
@@ -40,6 +41,7 @@ export var ListItemButton = polymorphicComponentWithRef(function (inProps, ref)
|
|
|
40
41
|
return commonAdditionalProps;
|
|
41
42
|
}, [Tag, handleKeyDown]);
|
|
42
43
|
return (React.createElement(Tag, __assign({ className: cnListItemButton({
|
|
44
|
+
align: align,
|
|
43
45
|
disabled: disabled,
|
|
44
46
|
selected: selected,
|
|
45
47
|
}, [className]), onClick: handleClick, tabIndex: tabIndexProp || tabIndex }, additionalTagProps, other, { ref: ref }), children));
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const LIST_DEFAULT_SIZE = "m";
|
|
2
2
|
export declare const LIST_DEFAULT_TAG = "ul";
|
|
3
3
|
export declare const LIST_ITEM_DEFAULT_TAG = "li";
|
|
4
|
+
export declare const LIST_ITEM_DEFAULT_ALIGN = "center";
|
|
4
5
|
export declare const LIST_ITEM_BUTTON_DEFAULT_TAG = "div";
|
|
6
|
+
export declare const LIST_ITEM_BUTTON_DEFAULT_ALIGN = "center";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export var LIST_DEFAULT_SIZE = 'm';
|
|
2
2
|
export var LIST_DEFAULT_TAG = 'ul';
|
|
3
3
|
export var LIST_ITEM_DEFAULT_TAG = 'li';
|
|
4
|
+
export var LIST_ITEM_DEFAULT_ALIGN = 'center';
|
|
4
5
|
export var LIST_ITEM_BUTTON_DEFAULT_TAG = 'div';
|
|
6
|
+
export var LIST_ITEM_BUTTON_DEFAULT_ALIGN = 'center';
|