ab-ui-library 1.46.0 → 1.48.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/components/SVGIcons/IconAppStore.d.ts +4 -0
- package/components/SVGIcons/IconAppStore.js +30 -0
- package/components/SVGIcons/index.d.ts +1 -0
- package/components/SVGIcons/index.js +1 -0
- package/components/Tab/Tab.js +2 -1
- package/components/Tab/TabItem.js +3 -1
- package/components/Tab/types.d.ts +2 -0
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { _ as _defineProperty } from '../../defineProperty-e079c33b.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import '../../typeof-763fb53d.js';
|
|
5
|
+
|
|
6
|
+
var IconAppStore = function IconAppStore(_ref) {
|
|
7
|
+
var size = _ref.size,
|
|
8
|
+
type = _ref.type,
|
|
9
|
+
_ref$className = _ref.className,
|
|
10
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
11
|
+
onClick = _ref.onClick,
|
|
12
|
+
refHandler = _ref.refHandler,
|
|
13
|
+
id = _ref.id,
|
|
14
|
+
dataId = _ref.dataId;
|
|
15
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
className: classNames('svg-icon', _defineProperty(_defineProperty(_defineProperty({}, "svg-icon__size-".concat(size), size), "svg-icon__type-".concat(type), type), className, className)),
|
|
18
|
+
viewBox: "0 0 18 18",
|
|
19
|
+
fill: "none",
|
|
20
|
+
onClick: onClick,
|
|
21
|
+
ref: refHandler,
|
|
22
|
+
id: id,
|
|
23
|
+
"data-id": dataId ? "".concat(dataId, "-svg-icon") : ''
|
|
24
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
d: "M14.75 0C16.5449 0 18 1.45507 18 3.25V14.75C18 16.5449 16.5449 18 14.75 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H14.75C15.7165 16.5 16.5 15.7165 16.5 14.75V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM6.36867 12.2541L5.85939 13.1264C5.65044 13.484 5.19113 13.6046 4.83346 13.3956C4.50562 13.2041 4.377 12.8022 4.51877 12.461L4.5642 12.3697L4.63067 12.2541H6.36867ZM10.2926 7.02407L12.0116 10.0041L13.7519 10.0049C14.1316 10.0049 14.4454 10.2871 14.495 10.6532L14.5019 10.7549C14.5019 11.1346 14.2197 11.4484 13.8537 11.4981L13.7519 11.5049L12.8766 11.5041L13.3789 12.3742C13.5859 12.733 13.4628 13.1916 13.104 13.3986C12.7752 13.5884 12.3624 13.5008 12.1364 13.2085L12.0796 13.1238L9.42157 8.51607L10.2926 7.02407ZM10.2631 4.10146C10.591 4.29299 10.7196 4.69491 10.5778 5.03605L10.5324 5.12738L7.68258 10.0039L9.414 10.0048L10.279 11.5048L4.25158 11.5049C3.83736 11.5049 3.50158 11.1692 3.50158 10.7549C3.50158 10.3752 3.78373 10.0615 4.14981 10.0118L4.25158 10.0049L5.94558 10.0049L8.12654 6.27093L7.46414 5.12385C7.27439 4.79497 7.36197 4.38216 7.65424 4.15621L7.73897 4.09942C8.06785 3.90967 8.48066 3.99725 8.70662 4.28952L8.7634 4.37425L8.99654 4.77993L9.23721 4.37073C9.44615 4.01308 9.90546 3.89252 10.2631 4.10146Z",
|
|
26
|
+
fill: "#555555"
|
|
27
|
+
}));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { IconAppStore, IconAppStore as default };
|
|
@@ -423,6 +423,7 @@ export { IconZoomOut } from './IconZoomOut.js';
|
|
|
423
423
|
export { IconZoomOutFilled } from './IconZoomOutFilled.js';
|
|
424
424
|
export { IconArrowCircleDown } from './IconArrowCircleDown.js';
|
|
425
425
|
export { IconArrowCircleDownSplit } from './IconArrowCircleDownSplit.js';
|
|
426
|
+
export { IconAppStore } from './IconAppStore.js';
|
|
426
427
|
import '../../defineProperty-e079c33b.js';
|
|
427
428
|
import '../../typeof-763fb53d.js';
|
|
428
429
|
import 'react';
|
package/components/Tab/Tab.js
CHANGED
|
@@ -42,7 +42,8 @@ var Tab = function Tab(props) {
|
|
|
42
42
|
dataId: (tabInfo === null || tabInfo === void 0 ? void 0 : tabInfo.dataId) || '',
|
|
43
43
|
disabled: tabInfo.disabled,
|
|
44
44
|
iconProps: tabInfo.iconProps,
|
|
45
|
-
rightIconProps: tabInfo.rightIconProps
|
|
45
|
+
rightIconProps: tabInfo.rightIconProps,
|
|
46
|
+
title: tabInfo.title
|
|
46
47
|
}, rest));
|
|
47
48
|
}));
|
|
48
49
|
};
|
|
@@ -22,8 +22,10 @@ var TabItem = function TabItem(props) {
|
|
|
22
22
|
rightIconProps = props.rightIconProps,
|
|
23
23
|
val = props.val,
|
|
24
24
|
onClick = props.onClick,
|
|
25
|
-
dataId = props.dataId
|
|
25
|
+
dataId = props.dataId,
|
|
26
|
+
title = props.title;
|
|
26
27
|
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
title: title,
|
|
27
29
|
onClick: disabled ? noop : onClick,
|
|
28
30
|
className: classNames('tab', {
|
|
29
31
|
'tab--disabled': disabled
|
|
@@ -3,6 +3,7 @@ import type { TBadgeProps } from '../Badge/types';
|
|
|
3
3
|
export type TTabItem = {
|
|
4
4
|
value: number | string;
|
|
5
5
|
label: string | JSX.Element;
|
|
6
|
+
title?: string;
|
|
6
7
|
dataId?: string;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
badgeProps?: TBadgeProps;
|
|
@@ -33,6 +34,7 @@ export type TTabItemProps = {
|
|
|
33
34
|
label?: string | JSX.Element;
|
|
34
35
|
size?: 'large' | 'medium' | 'small';
|
|
35
36
|
className?: string;
|
|
37
|
+
title?: string;
|
|
36
38
|
iconProps?: {
|
|
37
39
|
name?: string;
|
|
38
40
|
alignment?: string;
|
package/index.js
CHANGED
|
@@ -488,6 +488,7 @@ export { IconZoomOut } from './components/SVGIcons/IconZoomOut.js';
|
|
|
488
488
|
export { IconZoomOutFilled } from './components/SVGIcons/IconZoomOutFilled.js';
|
|
489
489
|
export { IconArrowCircleDown } from './components/SVGIcons/IconArrowCircleDown.js';
|
|
490
490
|
export { IconArrowCircleDownSplit } from './components/SVGIcons/IconArrowCircleDownSplit.js';
|
|
491
|
+
export { IconAppStore } from './components/SVGIcons/IconAppStore.js';
|
|
491
492
|
export { OneTimePassword } from './components/OneTimePassword/OneTimePassword.js';
|
|
492
493
|
export { OptionItem } from './helperComponents/OptionItem/OptionItem.js';
|
|
493
494
|
export { MultiTextareaWithChips } from './components/MultiTextareaWithChips/MultiTextareaWithChips.js';
|