@antscorp/antsomi-ui 1.3.5-beta.693 → 1.3.5-beta.695

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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ export declare const ArticleIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,10 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { useIcon } from './hooks/useIcon';
3
+ export const ArticleIcon = forwardRef((props, ref) => {
4
+ const { width, height } = useIcon(props);
5
+ return (React.createElement("svg", Object.assign({ viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref, width: width, height: height }),
6
+ React.createElement("rect", { x: "7", y: "2", width: "16", height: "16", rx: "2", stroke: "#595959", strokeWidth: "2" }),
7
+ React.createElement("rect", { x: "10", y: "5", width: "10", height: "2", fill: "#EF3340" }),
8
+ React.createElement("rect", { x: "10", y: "9", width: "10", height: "2", fill: "#005EB8" }),
9
+ React.createElement("rect", { x: "10", y: "13", width: "7", height: "2", fill: "#7F7F7F" })));
10
+ });
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ export declare const CustomerInformationIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,13 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { useIcon } from './hooks/useIcon';
3
+ export const CustomerInformationIcon = forwardRef((props, ref) => {
4
+ const { width, height } = useIcon(props);
5
+ return (React.createElement("svg", Object.assign({ viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref, width: width, height: height }),
6
+ React.createElement("path", { d: "M1 15V13.75C1 13.75 2.188 11.25 6 11.25C9.812 11.25 11 13.75 11 13.75V15H1ZM3.5 7.5C3.5 7.00555 3.64662 6.52221 3.92133 6.11109C4.19603 5.69996 4.58646 5.37953 5.04327 5.19031C5.50009 5.00109 6.00278 4.95157 6.48773 5.04804C6.97268 5.1445 7.41813 5.38261 7.76776 5.73224C8.11739 6.08187 8.3555 6.52732 8.45197 7.01227C8.54843 7.49722 8.49891 7.99991 8.30969 8.45673C8.12047 8.91354 7.80004 9.30397 7.38892 9.57868C6.97779 9.85338 6.49445 10 6 10C5.33696 10 4.70108 9.7366 4.23224 9.26776C3.7634 8.79892 3.5 8.16304 3.5 7.5Z", fill: "#595959" }),
7
+ React.createElement("rect", { x: "14", y: "5", width: "5", height: "2", fill: "#005EB8" }),
8
+ React.createElement("rect", { x: "21", y: "5", width: "7", height: "2", fill: "#595959" }),
9
+ React.createElement("rect", { x: "14", y: "9", width: "5", height: "2", fill: "#005EB8" }),
10
+ React.createElement("rect", { x: "21", y: "9", width: "8", height: "2", fill: "#595959" }),
11
+ React.createElement("rect", { x: "14", y: "13", width: "5", height: "2", fill: "#005EB8" }),
12
+ React.createElement("rect", { x: "21", y: "13", width: "6", height: "2", fill: "#595959" })));
13
+ });
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ export declare const ItemRecommendationIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,10 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { useIcon } from './hooks/useIcon';
3
+ export const ItemRecommendationIcon = forwardRef((props, ref) => {
4
+ const { width, height } = useIcon(props);
5
+ return (React.createElement("svg", Object.assign({ viewBox: "0 0 30 22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref, width: width, height: height }),
6
+ React.createElement("path", { d: "M19 10.5C19.7188 10.5 20.3438 11.0938 20.3438 11.8438V19.8438C20.3438 20.5625 19.7188 21.1562 19 21.1562H11C10.2812 21.1562 9.65625 20.5625 9.65625 19.8438V11.8438C9.65625 11.0938 10.2812 10.5 11 10.5H12.3438C12.3438 9.03125 13.5312 7.84375 15 7.84375C16.4688 7.84375 17.6562 9.03125 17.6562 10.5H19ZM15 9.15625C14.2812 9.15625 13.6562 9.78125 13.6562 10.5H16.3438C16.3438 9.78125 15.7188 9.15625 15 9.15625ZM19 19.8438V11.8438H17.6562V13.1562C17.6562 13.5312 17.375 13.8438 17 13.8438C16.625 13.8438 16.3438 13.5312 16.3438 13.1562V11.8438H13.6562V13.1562C13.6562 13.5312 13.375 13.8438 13 13.8438C12.625 13.8438 12.3438 13.5312 12.3438 13.1562V11.8438H11V19.8438H19Z", fill: "#595959" }),
7
+ React.createElement("path", { d: "M8 8.25L5.9375 9.5L6.48438 7.15625L4.67188 5.57812L7.0625 5.375L8 3.17188L8.9375 5.375L11.3281 5.57812L9.51562 7.15625L10.0625 9.5L8 8.25Z", fill: "#005EB8" }),
8
+ React.createElement("path", { d: "M15 5.25L12.9375 6.5L13.4844 4.15625L11.6719 2.57812L14.0625 2.375L15 0.171875L15.9375 2.375L18.3281 2.57812L16.5156 4.15625L17.0625 6.5L15 5.25Z", fill: "#005EB8" }),
9
+ React.createElement("path", { d: "M22 8.25L19.9375 9.5L20.4844 7.15625L18.6719 5.57812L21.0625 5.375L22 3.17188L22.9375 5.375L25.3281 5.57812L23.5156 7.15625L24.0625 9.5L22 8.25Z", fill: "#005EB8" })));
10
+ });
@@ -22,6 +22,7 @@ export declare const LazyIcon: {
22
22
  AnlyticModelsIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
23
23
  ArrowGrowIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
24
24
  ArrowLineIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
25
+ ArticleIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
25
26
  AssignmentIndIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
26
27
  AttachmentIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
27
28
  AudioRecordIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
@@ -84,6 +85,7 @@ export declare const LazyIcon: {
84
85
  CursorIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
85
86
  CurvedConnectorIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
86
87
  CustomerIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
88
+ CustomerInformationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
87
89
  CustomerJourney30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
88
90
  CustomerJourneyIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
89
91
  Customers30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
@@ -192,6 +194,7 @@ export declare const LazyIcon: {
192
194
  InvisibleIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
193
195
  InvitePeopleIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
194
196
  IssueBugIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
197
+ ItemRecommendationIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
195
198
  JourneyTactic30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
196
199
  JourneyTacticIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
197
200
  LayerIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
@@ -335,6 +338,7 @@ export declare const LazyIcon: {
335
338
  Unknown30Icon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
336
339
  UploadIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
337
340
  UploadMenuIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
341
+ UserActivityIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
338
342
  UserAttributesIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
339
343
  UserIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
340
344
  ValidateFormatIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("../types").IconProps & import("react").RefAttributes<SVGSVGElement>>>;
@@ -22,6 +22,7 @@ export const LazyIcon = {
22
22
  AnlyticModelsIcon: lazy(() => import('../AnlyticModelsIcon').then(m => ({ default: m.AnlyticModelsIcon }))),
23
23
  ArrowGrowIcon: lazy(() => import('../ArrowGrowIcon').then(m => ({ default: m.ArrowGrowIcon }))),
24
24
  ArrowLineIcon: lazy(() => import('../ArrowLineIcon').then(m => ({ default: m.ArrowLineIcon }))),
25
+ ArticleIcon: lazy(() => import('../ArticleIcon').then(m => ({ default: m.ArticleIcon }))),
25
26
  AssignmentIndIcon: lazy(() => import('../AssignmentIndIcon').then(m => ({ default: m.AssignmentIndIcon }))),
26
27
  AttachmentIcon: lazy(() => import('../AttachmentIcon').then(m => ({ default: m.AttachmentIcon }))),
27
28
  AudioRecordIcon: lazy(() => import('../AudioRecordIcon').then(m => ({ default: m.AudioRecordIcon }))),
@@ -90,6 +91,7 @@ export const LazyIcon = {
90
91
  CursorIcon: lazy(() => import('../CursorIcon').then(m => ({ default: m.CursorIcon }))),
91
92
  CurvedConnectorIcon: lazy(() => import('../CurvedConnectorIcon').then(m => ({ default: m.CurvedConnectorIcon }))),
92
93
  CustomerIcon: lazy(() => import('../CustomerIcon').then(m => ({ default: m.CustomerIcon }))),
94
+ CustomerInformationIcon: lazy(() => import('../CustomerInformationIcon').then(m => ({ default: m.CustomerInformationIcon }))),
93
95
  CustomerJourney30Icon: lazy(() => import('../CustomerJourney30Icon').then(m => ({ default: m.CustomerJourney30Icon }))),
94
96
  CustomerJourneyIcon: lazy(() => import('../CustomerJourneyIcon').then(m => ({ default: m.CustomerJourneyIcon }))),
95
97
  Customers30Icon: lazy(() => import('../Customers30Icon').then(m => ({ default: m.Customers30Icon }))),
@@ -198,6 +200,7 @@ export const LazyIcon = {
198
200
  InvisibleIcon: lazy(() => import('../InvisibleIcon').then(m => ({ default: m.InvisibleIcon }))),
199
201
  InvitePeopleIcon: lazy(() => import('../InvitePeopleIcon').then(m => ({ default: m.InvitePeopleIcon }))),
200
202
  IssueBugIcon: lazy(() => import('../IssueBugIcon').then(m => ({ default: m.IssueBugIcon }))),
203
+ ItemRecommendationIcon: lazy(() => import('../ItemRecommendationIcon').then(m => ({ default: m.ItemRecommendationIcon }))),
201
204
  JourneyTactic30Icon: lazy(() => import('../JourneyTactic30Icon').then(m => ({ default: m.JourneyTactic30Icon }))),
202
205
  JourneyTacticIcon: lazy(() => import('../JourneyTacticIcon').then(m => ({ default: m.JourneyTacticIcon }))),
203
206
  LayerIcon: lazy(() => import('../LayerIcon').then(m => ({ default: m.LayerIcon }))),
@@ -341,6 +344,7 @@ export const LazyIcon = {
341
344
  Unknown30Icon: lazy(() => import('../Unknown30Icon').then(m => ({ default: m.Unknown30Icon }))),
342
345
  UploadIcon: lazy(() => import('../UploadIcon').then(m => ({ default: m.UploadIcon }))),
343
346
  UploadMenuIcon: lazy(() => import('../UploadMenuIcon').then(m => ({ default: m.UploadMenuIcon }))),
347
+ UserActivityIcon: lazy(() => import('../UserActivityIcon').then(m => ({ default: m.UserActivityIcon }))),
344
348
  UserAttributesIcon: lazy(() => import('../UserAttributesIcon').then(m => ({ default: m.UserAttributesIcon }))),
345
349
  UserIcon: lazy(() => import('../UserIcon').then(m => ({ default: m.UserIcon }))),
346
350
  ValidateFormatIcon: lazy(() => import('../ValidateFormatIcon').then(m => ({ default: m.ValidateFormatIcon }))),
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IconProps } from './types';
3
+ export declare const UserActivityIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
@@ -0,0 +1,16 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { useIcon } from './hooks/useIcon';
3
+ export const UserActivityIcon = forwardRef((props, ref) => {
4
+ const { width, height } = useIcon(props);
5
+ return (React.createElement("svg", Object.assign({ viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref, width: width, height: height }),
6
+ React.createElement("circle", { cx: "22", cy: "17", r: "3", fill: "#EF3340" }),
7
+ React.createElement("circle", { cx: "15", cy: "3", r: "3", fill: "#EF3340" }),
8
+ React.createElement("circle", { cx: "22", cy: "3", r: "2", fill: "#595959" }),
9
+ React.createElement("circle", { cx: "8", cy: "10", r: "2", fill: "#595959" }),
10
+ React.createElement("circle", { cx: "8", cy: "10", r: "3", fill: "#EF3340" }),
11
+ React.createElement("circle", { cx: "15", cy: "17", r: "2", fill: "#005EB8" }),
12
+ React.createElement("circle", { cx: "15", cy: "10", r: "2", fill: "#005EB8" }),
13
+ React.createElement("circle", { cx: "8", cy: "17", r: "1", fill: "#595959" }),
14
+ React.createElement("circle", { cx: "8", cy: "3", r: "1", fill: "#595959" }),
15
+ React.createElement("circle", { cx: "22", cy: "10", r: "2", fill: "#005EB8" })));
16
+ });
@@ -20,6 +20,7 @@ export { AnlysisIcon } from './AnlysisIcon';
20
20
  export { AnlyticModelsIcon } from './AnlyticModelsIcon';
21
21
  export { ArrowGrowIcon } from './ArrowGrowIcon';
22
22
  export { ArrowLineIcon } from './ArrowLineIcon';
23
+ export { ArticleIcon } from './ArticleIcon';
23
24
  export { AssignmentIndIcon } from './AssignmentIndIcon';
24
25
  export { AttachmentIcon } from './AttachmentIcon';
25
26
  export { AudioRecordIcon } from './AudioRecordIcon';
@@ -82,6 +83,7 @@ export { CropIcon } from './CropIcon';
82
83
  export { CursorIcon } from './CursorIcon';
83
84
  export { CurvedConnectorIcon } from './CurvedConnectorIcon';
84
85
  export { CustomerIcon } from './CustomerIcon';
86
+ export { CustomerInformationIcon } from './CustomerInformationIcon';
85
87
  export { CustomerJourney30Icon } from './CustomerJourney30Icon';
86
88
  export { CustomerJourneyIcon } from './CustomerJourneyIcon';
87
89
  export { Customers30Icon } from './Customers30Icon';
@@ -190,6 +192,7 @@ export { InteractiveIcon } from './InteractiveIcon';
190
192
  export { InvisibleIcon } from './InvisibleIcon';
191
193
  export { InvitePeopleIcon } from './InvitePeopleIcon';
192
194
  export { IssueBugIcon } from './IssueBugIcon';
195
+ export { ItemRecommendationIcon } from './ItemRecommendationIcon';
193
196
  export { JourneyTactic30Icon } from './JourneyTactic30Icon';
194
197
  export { JourneyTacticIcon } from './JourneyTacticIcon';
195
198
  export { LayerIcon } from './LayerIcon';
@@ -331,6 +334,7 @@ export { UndoIcon } from './UndoIcon';
331
334
  export { Unknown30Icon } from './Unknown30Icon';
332
335
  export { UploadIcon } from './UploadIcon';
333
336
  export { UploadMenuIcon } from './UploadMenuIcon';
337
+ export { UserActivityIcon } from './UserActivityIcon';
334
338
  export { UserAttributesIcon } from './UserAttributesIcon';
335
339
  export { UserIcon } from './UserIcon';
336
340
  export { ValidateFormatIcon } from './ValidateFormatIcon';
@@ -20,6 +20,7 @@ export { AnlysisIcon } from './AnlysisIcon';
20
20
  export { AnlyticModelsIcon } from './AnlyticModelsIcon';
21
21
  export { ArrowGrowIcon } from './ArrowGrowIcon';
22
22
  export { ArrowLineIcon } from './ArrowLineIcon';
23
+ export { ArticleIcon } from './ArticleIcon';
23
24
  export { AssignmentIndIcon } from './AssignmentIndIcon';
24
25
  export { AttachmentIcon } from './AttachmentIcon';
25
26
  export { AudioRecordIcon } from './AudioRecordIcon';
@@ -82,6 +83,7 @@ export { CropIcon } from './CropIcon';
82
83
  export { CursorIcon } from './CursorIcon';
83
84
  export { CurvedConnectorIcon } from './CurvedConnectorIcon';
84
85
  export { CustomerIcon } from './CustomerIcon';
86
+ export { CustomerInformationIcon } from './CustomerInformationIcon';
85
87
  export { CustomerJourney30Icon } from './CustomerJourney30Icon';
86
88
  export { CustomerJourneyIcon } from './CustomerJourneyIcon';
87
89
  export { Customers30Icon } from './Customers30Icon';
@@ -190,6 +192,7 @@ export { InteractiveIcon } from './InteractiveIcon';
190
192
  export { InvisibleIcon } from './InvisibleIcon';
191
193
  export { InvitePeopleIcon } from './InvitePeopleIcon';
192
194
  export { IssueBugIcon } from './IssueBugIcon';
195
+ export { ItemRecommendationIcon } from './ItemRecommendationIcon';
193
196
  export { JourneyTactic30Icon } from './JourneyTactic30Icon';
194
197
  export { JourneyTacticIcon } from './JourneyTacticIcon';
195
198
  export { LayerIcon } from './LayerIcon';
@@ -331,6 +334,7 @@ export { UndoIcon } from './UndoIcon';
331
334
  export { Unknown30Icon } from './Unknown30Icon';
332
335
  export { UploadIcon } from './UploadIcon';
333
336
  export { UploadMenuIcon } from './UploadMenuIcon';
337
+ export { UserActivityIcon } from './UserActivityIcon';
334
338
  export { UserAttributesIcon } from './UserAttributesIcon';
335
339
  export { UserIcon } from './UserIcon';
336
340
  export { ValidateFormatIcon } from './ValidateFormatIcon';
@@ -2,6 +2,7 @@
2
2
  import React from 'react';
3
3
  import { Tree as AntdTree } from 'antd';
4
4
  import type { TreeProps, TreeDataNode } from 'antd';
5
+ declare const StandardTree: React.FC<TreeProps>;
5
6
  export declare const Tree: string & import("styled-components").StyledComponentBase<(<T extends import("rc-tree").BasicDataNode | TreeDataNode = TreeDataNode>(props: TreeProps<T> & {
6
7
  children?: React.ReactNode;
7
8
  } & React.RefAttributes<import("rc-tree").default<TreeDataNode>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
@@ -22,5 +23,6 @@ export declare const Tree: string & import("styled-components").StyledComponentB
22
23
  };
23
24
  }, {}> & {
24
25
  DirectoryTree: typeof AntdTree.DirectoryTree;
26
+ StandardTree: typeof StandardTree;
25
27
  };
26
28
  export type { TreeProps, TreeDataNode };
@@ -10,17 +10,19 @@ var __rest = (this && this.__rest) || function (s, e) {
10
10
  return t;
11
11
  };
12
12
  import React from 'react';
13
+ import { Tree as AntdTree } from 'antd';
13
14
  // styled
14
- import { StyledTree, StyledTreeDirectory } from './styled';
15
+ import { StyledTreeDirectory } from './styled';
15
16
  // icon
16
17
  import { ExpandMoreIcon } from '../../icons';
17
18
  const StandardTree = props => {
18
- const { switcherIcon = React.createElement(ExpandMoreIcon, null) } = props, restProps = __rest(props, ["switcherIcon"]);
19
- return React.createElement(StyledTree, Object.assign({ switcherIcon: switcherIcon }, restProps));
19
+ const { switcherIcon = React.createElement(ExpandMoreIcon, { size: 20 }) } = props, restProps = __rest(props, ["switcherIcon"]);
20
+ return React.createElement(AntdTree, Object.assign({ switcherIcon: switcherIcon }, restProps));
21
+ // return <StyledTree switcherIcon={(props) => <ExpandMoreIcon size={20} />} {...restProps} />;
20
22
  };
21
- export const Tree = StandardTree;
23
+ export const Tree = AntdTree;
22
24
  const DirectoryTree = props => {
23
- const { switcherIcon = React.createElement(ExpandMoreIcon, null) } = props, restProps = __rest(props, ["switcherIcon"]);
25
+ const { switcherIcon = React.createElement(ExpandMoreIcon, { size: 20 }) } = props, restProps = __rest(props, ["switcherIcon"]);
24
26
  return React.createElement(StyledTreeDirectory, Object.assign({ switcherIcon: switcherIcon }, restProps));
25
27
  };
26
28
  Tree.DirectoryTree = DirectoryTree;
@@ -1,13 +1,16 @@
1
1
  import { Tree } from 'antd';
2
2
  import styled from 'styled-components';
3
3
  export const StyledTree = styled(Tree) `
4
+ /* .antsomi-tree-treenode.placement-right { */
4
5
  .antsomi-tree-treenode {
5
6
  .antsomi-tree-switcher {
6
7
  display: flex;
8
+ align-items: center;
9
+ justify-content: center;
7
10
  order: 10;
8
- &_close {
11
+ /* &_close {
9
12
  transform: rotate(-90deg);
10
- }
13
+ } */
11
14
  }
12
15
  }
13
16
  `;
@@ -16,6 +19,9 @@ export const StyledTreeDirectory = styled(Tree.DirectoryTree) `
16
19
  .antsomi-tree-switcher {
17
20
  display: flex;
18
21
  order: 10;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
19
25
  &_close {
20
26
  transform: rotate(-90deg);
21
27
  }
@@ -1,4 +1,4 @@
1
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
1
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
2
2
  // Types
3
3
  import { theme } from 'antd';
4
4
  // Variables
@@ -177,8 +177,10 @@ THEME.components = {
177
177
  borderRadiusSM: 5,
178
178
  },
179
179
  Tree: {
180
+ directoryNodeSelectedBg: 'transparent',
181
+ directoryNodeSelectedColor: (_w = THEME.token) === null || _w === void 0 ? void 0 : _w.colorText,
180
182
  controlInteractiveSize: 18,
181
- colorBorder: (_w = THEME.token) === null || _w === void 0 ? void 0 : _w.colorPrimary,
183
+ colorBorder: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.colorPrimary,
182
184
  nodeHoverBg: 'transparent',
183
185
  lineWidth: 2,
184
186
  borderRadiusSM: 5,
@@ -196,7 +198,7 @@ THEME.components = {
196
198
  paddingMD: 0,
197
199
  },
198
200
  Tabs: {
199
- itemColor: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.bw8,
201
+ itemColor: (_y = THEME.token) === null || _y === void 0 ? void 0 : _y.bw8,
200
202
  horizontalItemPadding: '17px 30px',
201
203
  horizontalItemGutter: 0,
202
204
  lineWidthBold: 3,
@@ -208,7 +210,7 @@ THEME.components = {
208
210
  lineHeight: 1.143,
209
211
  lineHeightLG: 1.143,
210
212
  lineHeightSM: 1.143,
211
- itemHoverColor: (_y = THEME.token) === null || _y === void 0 ? void 0 : _y.colorPrimary,
213
+ itemHoverColor: (_z = THEME.token) === null || _z === void 0 ? void 0 : _z.colorPrimary,
212
214
  },
213
215
  Collapse: {
214
216
  headerBg: '#FFF',
@@ -216,13 +218,13 @@ THEME.components = {
216
218
  headerPadding: '15px 10px',
217
219
  },
218
220
  Switch: {
219
- colorTextQuaternary: (_z = THEME.token) === null || _z === void 0 ? void 0 : _z.bw0,
220
- colorTextTertiary: (_0 = THEME.token) === null || _0 === void 0 ? void 0 : _0.bw0,
221
+ colorTextQuaternary: (_0 = THEME.token) === null || _0 === void 0 ? void 0 : _0.bw0,
222
+ colorTextTertiary: (_1 = THEME.token) === null || _1 === void 0 ? void 0 : _1.bw0,
221
223
  handleSize: 8,
222
224
  handleSizeSM: 7,
223
225
  trackMinWidth: 27,
224
226
  trackHeight: 16,
225
- handleBg: (_1 = THEME.token) === null || _1 === void 0 ? void 0 : _1.colorPrimary,
227
+ handleBg: (_2 = THEME.token) === null || _2 === void 0 ? void 0 : _2.colorPrimary,
226
228
  },
227
229
  Popover: {
228
230
  borderRadiusLG: 10,
@@ -234,11 +236,11 @@ THEME.components = {
234
236
  paddingXXS: 8,
235
237
  controlItemBgHover: '#F2F9FF',
236
238
  controlItemBgActive: '#DEEFFE',
237
- colorPrimary: (_2 = THEME.token) === null || _2 === void 0 ? void 0 : _2.colorText,
239
+ colorPrimary: (_3 = THEME.token) === null || _3 === void 0 ? void 0 : _3.colorText,
238
240
  controlItemBgActiveHover: '#DEEFFE',
239
241
  },
240
242
  Tooltip: {
241
- colorBgSpotlight: (_3 = THEME.token) === null || _3 === void 0 ? void 0 : _3.bw8,
243
+ colorBgSpotlight: (_4 = THEME.token) === null || _4 === void 0 ? void 0 : _4.bw8,
242
244
  fontSize: 11,
243
245
  },
244
246
  Menu: {
@@ -248,8 +250,8 @@ THEME.components = {
248
250
  itemMarginBlock: 5,
249
251
  itemBorderRadius: 5,
250
252
  subMenuItemBg: 'transparent',
251
- itemDisabledColor: (_4 = THEME.token) === null || _4 === void 0 ? void 0 : _4.colorTextDisabled,
252
- itemActiveBg: (_5 = THEME.token) === null || _5 === void 0 ? void 0 : _5.blue1_1,
253
+ itemDisabledColor: (_5 = THEME.token) === null || _5 === void 0 ? void 0 : _5.colorTextDisabled,
254
+ itemActiveBg: (_6 = THEME.token) === null || _6 === void 0 ? void 0 : _6.blue1_1,
253
255
  },
254
256
  Form: {
255
257
  itemMarginBottom: 15,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.693",
3
+ "version": "1.3.5-beta.695",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",