@ucloud-fe/react-components 1.14.0 → 1.15.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.
@@ -9,60 +9,204 @@ Object.defineProperty(exports, "__esModule", {
9
9
  });
10
10
  exports.default = void 0;
11
11
 
12
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
12
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
13
 
14
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
14
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
15
 
16
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
16
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
17
17
 
18
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
18
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
19
19
 
20
- var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
20
+ var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
21
21
 
22
- var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
22
+ var _propTypes = _interopRequireDefault(require("prop-types"));
23
23
 
24
24
  var _react = _interopRequireWildcard(require("react"));
25
25
 
26
- var _propTypes = _interopRequireDefault(require("prop-types"));
26
+ var _useOverflow3 = _interopRequireDefault(require("../../hooks/useOverflow"));
27
+
28
+ var _usePopoverConfig = _interopRequireDefault(require("../../hooks/usePopoverConfig"));
29
+
30
+ var _Popover = _interopRequireDefault(require("../../components/Popover"));
31
+
32
+ var _Menu = _interopRequireDefault(require("../../components/Menu"));
33
+
34
+ var _Tag = _interopRequireDefault(require("../../components/Tag"));
27
35
 
28
36
  var _style = require("./style");
29
37
 
38
+ var _excluded = ["children", "exposeCount", "lens", "popoverProps"],
39
+ _excluded2 = ["children", "exposeCount", "lens"],
40
+ _excluded3 = ["autoAdjustment", "compact", "children"];
41
+
42
+ var _this = void 0;
43
+
30
44
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
45
 
32
46
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
47
 
34
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
48
+ var _uid = 0;
49
+ var ID_KEY = 'data-urc-tag_list-id';
50
+
51
+ var TagMenu = function TagMenu(_ref) {
52
+ var _this2 = this;
53
+
54
+ (0, _newArrowCheck2.default)(this, _this);
55
+ var list = _ref.list,
56
+ popoverProps = _ref.popoverProps;
57
+ var popoverConfigProps = (0, _usePopoverConfig.default)();
58
+ if (!list.length) return null;
59
+
60
+ var renderList = function renderList(list) {
61
+ var _this3 = this;
62
+
63
+ (0, _newArrowCheck2.default)(this, _this2);
64
+ return list.map(function (info, i) {
65
+ (0, _newArrowCheck2.default)(this, _this3);
66
+ return /*#__PURE__*/_react.default.createElement(_style.TagPopoverWrap, {
67
+ key: i
68
+ }, info);
69
+ }.bind(this));
70
+ }.bind(this);
71
+
72
+ return /*#__PURE__*/_react.default.createElement(_Popover.default, (0, _extends2.default)({
73
+ trigger: ['hover'],
74
+ popup: /*#__PURE__*/_react.default.createElement(_style.TagMenuWapper, null, /*#__PURE__*/_react.default.createElement(_Menu.default, {
75
+ selectable: false,
76
+ customStyle: {
77
+ maxHeight: '380px'
78
+ }
79
+ }, renderList(list)))
80
+ }, popoverConfigProps, popoverProps), /*#__PURE__*/_react.default.createElement(_style.TagMoreWapper, null, /*#__PURE__*/_react.default.createElement(_Tag.default, null, "+", list.length)));
81
+ }.bind(void 0);
82
+
83
+ var PureTagList = function PureTagList(props) {
84
+ (0, _newArrowCheck2.default)(this, _this);
85
+ var children = props.children,
86
+ exposeCount = props.exposeCount,
87
+ lens = props.lens,
88
+ popoverProps = props.popoverProps,
89
+ rest = (0, _objectWithoutProperties2.default)(props, _excluded);
90
+
91
+ var childArray = _react.default.Children.toArray(children);
92
+
93
+ var _exposeCount = exposeCount || 0;
94
+
95
+ var tagList, menuList;
96
+
97
+ if (lens > _exposeCount + 1) {
98
+ tagList = childArray.slice(0, exposeCount);
99
+ menuList = childArray.slice(exposeCount);
100
+ } else {
101
+ tagList = childArray;
102
+ menuList = [];
103
+ }
35
104
 
36
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
105
+ return exposeCount === void 0 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, tagList) : /*#__PURE__*/_react.default.createElement(_style.SWrap, (0, _extends2.default)({}, rest, {
106
+ exposeCount: exposeCount,
107
+ sharedProps: {
108
+ size: 'sm'
109
+ }
110
+ }), tagList, menuList.length ? /*#__PURE__*/_react.default.createElement(TagMenu, {
111
+ list: menuList,
112
+ popoverProps: popoverProps
113
+ }) : null);
114
+ }.bind(void 0);
37
115
 
38
- var Group = /*#__PURE__*/function (_Component) {
39
- (0, _inherits2.default)(Group, _Component);
116
+ PureTagList.propTypes = {
117
+ children: _propTypes.default.node,
118
+ compact: _propTypes.default.bool,
119
+ exposeCount: _propTypes.default.number,
120
+ autoAdjustment: _propTypes.default.bool,
121
+ popoverProps: _propTypes.default.any
122
+ };
123
+
124
+ var AutoAdjustmentTagList = function AutoAdjustmentTagList(props) {
125
+ var _this4 = this;
126
+
127
+ (0, _newArrowCheck2.default)(this, _this);
128
+
129
+ var children = props.children,
130
+ _props$exposeCount = props.exposeCount,
131
+ _exposeCount = _props$exposeCount === void 0 ? 3 : _props$exposeCount,
132
+ lens = props.lens,
133
+ rest = (0, _objectWithoutProperties2.default)(props, _excluded2);
134
+
135
+ var _useState = (0, _react.useState)(function () {
136
+ (0, _newArrowCheck2.default)(this, _this4);
137
+ return _uid++;
138
+ }.bind(this)),
139
+ _useState2 = (0, _slicedToArray2.default)(_useState, 1),
140
+ uid = _useState2[0];
141
+
142
+ var containerRef = (0, _react.useRef)(null);
143
+ (0, _react.useLayoutEffect)(function () {
144
+ (0, _newArrowCheck2.default)(this, _this4);
145
+ containerRef.current = document.querySelector("[".concat(ID_KEY, "=\"").concat(uid, "\"]"));
146
+ }.bind(this), [uid]);
147
+ var maxCount = (0, _react.useMemo)(function () {
148
+ (0, _newArrowCheck2.default)(this, _this4);
149
+ var maxCount = Math.min(lens, Math.max(_exposeCount, 0));
150
+ return maxCount;
151
+ }.bind(this), [_exposeCount, lens]);
152
+
153
+ var _useOverflow = (0, _useOverflow3.default)({
154
+ containerRef: containerRef,
155
+ defaultCount: maxCount,
156
+ maxCount: maxCount
157
+ }),
158
+ _useOverflow2 = (0, _slicedToArray2.default)(_useOverflow, 1),
159
+ exposeCount = _useOverflow2[0];
160
+
161
+ return /*#__PURE__*/_react.default.createElement(PureTagList, (0, _extends2.default)({}, rest, {
162
+ lens: lens,
163
+ children: children,
164
+ exposeCount: exposeCount
165
+ }, (0, _defineProperty2.default)({}, ID_KEY, uid)));
166
+ }.bind(void 0);
167
+
168
+ AutoAdjustmentTagList.propTypes = {
169
+ children: _propTypes.default.node,
170
+ compact: _propTypes.default.bool,
171
+ exposeCount: _propTypes.default.number,
172
+ autoAdjustment: _propTypes.default.bool,
173
+ popoverProps: _propTypes.default.any
174
+ };
40
175
 
41
- var _super = _createSuper(Group);
176
+ var Group = function Group(props) {
177
+ (0, _newArrowCheck2.default)(this, _this);
178
+ var autoAdjustment = props.autoAdjustment,
179
+ compact = props.compact,
180
+ children = props.children,
181
+ rest = (0, _objectWithoutProperties2.default)(props, _excluded3);
42
182
 
43
- function Group() {
44
- (0, _classCallCheck2.default)(this, Group);
45
- return _super.apply(this, arguments);
183
+ if (!children) {
184
+ return null;
46
185
  }
47
186
 
48
- (0, _createClass2.default)(Group, [{
49
- key: "render",
50
- value: function render() {
51
- var rest = (0, _extends2.default)({}, this.props);
52
- return /*#__PURE__*/_react.default.createElement(_style.TagGroupWrapper, rest);
53
- }
54
- }]);
55
- return Group;
56
- }(_react.Component);
187
+ var lens = Array.isArray(children) ? children.length : 1;
188
+ return !compact ? /*#__PURE__*/_react.default.createElement(_style.TagGroupWrapper, (0, _extends2.default)({
189
+ compact: false
190
+ }, rest), autoAdjustment ? /*#__PURE__*/_react.default.createElement(AutoAdjustmentTagList, (0, _extends2.default)({
191
+ lens: lens,
192
+ children: children
193
+ }, rest)) : /*#__PURE__*/_react.default.createElement(PureTagList, (0, _extends2.default)({
194
+ lens: lens,
195
+ children: children
196
+ }, rest))) : /*#__PURE__*/_react.default.createElement(_style.TagGroupWrapper, (0, _extends2.default)({
197
+ compact: compact,
198
+ children: children
199
+ }, rest));
200
+ }.bind(void 0);
57
201
 
58
202
  Group.propTypes = {
59
- /** @ignore */
60
203
  children: _propTypes.default.node,
61
-
62
- /**
63
- * 紧凑型布局
64
- */
65
- compact: _propTypes.default.bool
204
+ compact: _propTypes.default.bool,
205
+ exposeCount: _propTypes.default.number,
206
+ autoAdjustment: _propTypes.default.bool,
207
+ popoverProps: _propTypes.default.any
66
208
  };
67
- var _default = Group;
209
+
210
+ var _default = /*#__PURE__*/_react.default.memo(Group);
211
+
68
212
  exports.default = _default;
@@ -13,6 +13,18 @@ declare class Icon extends React.PureComponent<any, any, any> {
13
13
  * 样式风格
14
14
  */
15
15
  styleType: PropTypes.Requireable<string>;
16
+ /**
17
+ * icon 大小
18
+ */
19
+ iconSize: PropTypes.Requireable<string>;
20
+ /**
21
+ * 是否开启border样式
22
+ */
23
+ border: PropTypes.Requireable<boolean>;
24
+ /**
25
+ * border 类型
26
+ */
27
+ borderType: PropTypes.Requireable<string>;
16
28
  /**
17
29
  * 自定义样式
18
30
  */
@@ -25,6 +37,11 @@ declare class Icon extends React.PureComponent<any, any, any> {
25
37
  background: PropTypes.Requireable<string>;
26
38
  }>>;
27
39
  };
40
+ static defaultProps: {
41
+ borderType: string;
42
+ iconSize: string;
43
+ border: boolean;
44
+ };
28
45
  constructor(props: any);
29
46
  constructor(props: any, context: any);
30
47
  render(): JSX.Element;
@@ -9,6 +9,8 @@ Object.defineProperty(exports, "__esModule", {
9
9
  });
10
10
  exports.default = void 0;
11
11
 
12
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
+
12
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
15
 
14
16
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
@@ -29,7 +31,7 @@ var _style = require("./style");
29
31
 
30
32
  var _Tag = require("./Tag");
31
33
 
32
- var _excluded = ["children", "icon", "prefix"];
34
+ var _excluded = ["children", "icon", "prefix", "borderType", "iconSize", "border"];
33
35
 
34
36
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
35
37
 
@@ -57,8 +59,15 @@ var Icon = /*#__PURE__*/function (_PureComponent) {
57
59
  children = _this$props.children,
58
60
  icon = _this$props.icon,
59
61
  prefix = _this$props.prefix,
62
+ borderType = _this$props.borderType,
63
+ iconSize = _this$props.iconSize,
64
+ border = _this$props.border,
60
65
  rest = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
61
- return /*#__PURE__*/_react.default.createElement(_style.IconTagWrapper, rest, typeof icon === 'string' ? /*#__PURE__*/_react.default.createElement(_style.IconTag, {
66
+ return /*#__PURE__*/_react.default.createElement(_style.IconTagWrapper, (0, _extends2.default)({
67
+ borderType: borderType,
68
+ iconSize: iconSize,
69
+ border: border
70
+ }, rest), typeof icon === 'string' ? /*#__PURE__*/_react.default.createElement(_style.IconTag, {
62
71
  type: icon,
63
72
  prefix: prefix
64
73
  }) : icon);
@@ -84,6 +93,21 @@ Icon.propTypes = {
84
93
  */
85
94
  styleType: _propTypes.default.oneOf(_Tag.StyleType),
86
95
 
96
+ /**
97
+ * icon 大小
98
+ */
99
+ iconSize: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
100
+
101
+ /**
102
+ * 是否开启border样式
103
+ */
104
+ border: _propTypes.default.bool,
105
+
106
+ /**
107
+ * border 类型
108
+ */
109
+ borderType: _propTypes.default.oneOf(['default', 'circle']),
110
+
87
111
  /**
88
112
  * 自定义样式
89
113
  */
@@ -98,5 +122,10 @@ Icon.propTypes = {
98
122
  background: _propTypes.default.string
99
123
  })
100
124
  };
125
+ Icon.defaultProps = {
126
+ borderType: 'default',
127
+ iconSize: 'sm',
128
+ border: true
129
+ };
101
130
  var _default = Icon;
102
131
  exports.default = _default;
@@ -19,6 +19,22 @@ declare class Tag extends React.PureComponent<any, any, any> {
19
19
  * 自定义前置 icon
20
20
  */
21
21
  icon: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
22
+ /**
23
+ * icon 大小
24
+ */
25
+ iconSize: PropTypes.Requireable<string>;
26
+ /**
27
+ * 是否开启border样式
28
+ */
29
+ border: PropTypes.Requireable<boolean>;
30
+ /**
31
+ * border 类型
32
+ */
33
+ borderType: PropTypes.Requireable<string>;
34
+ /**
35
+ * 后缀
36
+ */
37
+ suffix: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
38
  /**
23
39
  * 是否禁用
24
40
  */
@@ -39,6 +55,9 @@ declare class Tag extends React.PureComponent<any, any, any> {
39
55
  };
40
56
  static defaultProps: {
41
57
  styleType: string;
58
+ borderType: string;
59
+ iconSize: string;
60
+ border: boolean;
42
61
  };
43
62
  constructor(props: any);
44
63
  constructor(props: any, context: any);
@@ -27,9 +27,11 @@ var _react = _interopRequireWildcard(require("react"));
27
27
 
28
28
  var _propTypes = _interopRequireDefault(require("prop-types"));
29
29
 
30
+ var _SvgIcon = _interopRequireDefault(require("../../components/SvgIcon"));
31
+
30
32
  var _style = require("./style");
31
33
 
32
- var _excluded = ["children", "styleType", "closable", "icon", "disabled", "onClose"];
34
+ var _excluded = ["children", "styleType", "closable", "icon", "disabled", "onClose", "iconSize", "border", "borderType", "suffix"];
33
35
 
34
36
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
35
37
 
@@ -62,13 +64,26 @@ var Tag = /*#__PURE__*/function (_PureComponent) {
62
64
  icon = _this$props.icon,
63
65
  disabled = _this$props.disabled,
64
66
  onClose = _this$props.onClose,
67
+ iconSize = _this$props.iconSize,
68
+ border = _this$props.border,
69
+ borderType = _this$props.borderType,
70
+ suffix = _this$props.suffix,
65
71
  rest = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
66
72
  return /*#__PURE__*/_react.default.createElement(_style.TagWrapper, (0, _extends2.default)({
67
73
  styleType: styleType,
68
- disabled: disabled
69
- }, rest), icon && /*#__PURE__*/_react.default.createElement(_style.PrefixIconWrapper, null, typeof icon === 'string' ? /*#__PURE__*/_react.default.createElement(_style.PrefixIcon, {
70
- type: icon
71
- }) : icon), /*#__PURE__*/_react.default.createElement(_style.ContentWrapper, null, children), closable && /*#__PURE__*/_react.default.createElement(_style.CloseIconWrapper, {
74
+ disabled: disabled,
75
+ border: border,
76
+ borderType: borderType,
77
+ closable: closable
78
+ }, rest), icon && /*#__PURE__*/_react.default.createElement(_style.PrefixIconWrapper, null, typeof icon === 'string' ? icon === 'loading' ? /*#__PURE__*/_react.default.createElement(_style.SvgIconWrapper, {
79
+ size: iconSize
80
+ }, /*#__PURE__*/_react.default.createElement(_SvgIcon.default, {
81
+ type: "loading-line",
82
+ spin: true
83
+ })) : /*#__PURE__*/_react.default.createElement(_style.PrefixIcon, {
84
+ type: icon,
85
+ size: iconSize
86
+ }) : icon), /*#__PURE__*/_react.default.createElement(_style.ContentWrapper, null, children), suffix && /*#__PURE__*/_react.default.createElement(_style.SuffixIconWrapper, null, suffix), closable && /*#__PURE__*/_react.default.createElement(_style.CloseIconWrapper, {
72
87
  onClick: disabled ? undefined : onClose
73
88
  }, /*#__PURE__*/_react.default.createElement(_style.CloseIcon, {
74
89
  type: "cross"
@@ -102,6 +117,26 @@ Tag.propTypes = {
102
117
  */
103
118
  icon: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node]),
104
119
 
120
+ /**
121
+ * icon 大小
122
+ */
123
+ iconSize: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg']),
124
+
125
+ /**
126
+ * 是否开启border样式
127
+ */
128
+ border: _propTypes.default.bool,
129
+
130
+ /**
131
+ * border 类型
132
+ */
133
+ borderType: _propTypes.default.oneOf(['default', 'circle', 'corner']),
134
+
135
+ /**
136
+ * 后缀
137
+ */
138
+ suffix: _propTypes.default.node,
139
+
105
140
  /**
106
141
  * 是否禁用
107
142
  */
@@ -125,7 +160,10 @@ Tag.propTypes = {
125
160
  })
126
161
  };
127
162
  Tag.defaultProps = {
128
- styleType: 'default'
163
+ styleType: 'default',
164
+ borderType: 'default',
165
+ iconSize: 'sm',
166
+ border: true
129
167
  };
130
168
  var _default = Tag;
131
169
  exports.default = _default;
@@ -1,8 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import Tag from './Tag';
2
- import Group from './Group';
3
3
  import IconTag from './Icon';
4
4
  declare const ExportTag: typeof Tag & {
5
- Group: typeof Group;
5
+ Group: import("react").MemoExoticComponent<(props: import("./Group").TagGroupProps & import("react").HTMLAttributes<HTMLDivElement>) => JSX.Element | null>;
6
6
  Icon: typeof IconTag;
7
7
  };
8
8
  export default ExportTag;
@@ -1,17 +1,24 @@
1
1
  export const prefixCls: string;
2
+ export const menuCls: string;
2
3
  export const iconCls: string;
3
4
  export namespace styleMap {
4
5
  namespace gray {
5
6
  const color: string;
7
+ const icon: string;
6
8
  const border: string;
9
+ const divider: string;
7
10
  const bg: string;
8
11
  const iconHoverBG: string;
9
12
  }
10
13
  namespace green {
11
14
  const color_1: string;
12
15
  export { color_1 as color };
16
+ const icon_1: string;
17
+ export { icon_1 as icon };
13
18
  const border_1: string;
14
19
  export { border_1 as border };
20
+ const divider_1: string;
21
+ export { divider_1 as divider };
15
22
  const bg_1: string;
16
23
  export { bg_1 as bg };
17
24
  const iconHoverBG_1: string;
@@ -20,8 +27,12 @@ export namespace styleMap {
20
27
  namespace yellow {
21
28
  const color_2: string;
22
29
  export { color_2 as color };
30
+ const icon_2: string;
31
+ export { icon_2 as icon };
23
32
  const border_2: string;
24
33
  export { border_2 as border };
34
+ const divider_2: string;
35
+ export { divider_2 as divider };
25
36
  const bg_2: string;
26
37
  export { bg_2 as bg };
27
38
  const iconHoverBG_2: string;
@@ -30,8 +41,12 @@ export namespace styleMap {
30
41
  namespace red {
31
42
  const color_3: string;
32
43
  export { color_3 as color };
44
+ const icon_3: string;
45
+ export { icon_3 as icon };
33
46
  const border_3: string;
34
47
  export { border_3 as border };
48
+ const divider_3: string;
49
+ export { divider_3 as divider };
35
50
  const bg_3: string;
36
51
  export { bg_3 as bg };
37
52
  const iconHoverBG_3: string;
@@ -40,8 +55,12 @@ export namespace styleMap {
40
55
  namespace primary {
41
56
  const color_4: string;
42
57
  export { color_4 as color };
58
+ const icon_4: string;
59
+ export { icon_4 as icon };
43
60
  const border_4: string;
44
61
  export { border_4 as border };
62
+ const divider_4: string;
63
+ export { divider_4 as divider };
45
64
  const bg_4: string;
46
65
  export { bg_4 as bg };
47
66
  const iconHoverBG_4: string;
@@ -50,8 +69,12 @@ export namespace styleMap {
50
69
  namespace purple {
51
70
  const color_5: string;
52
71
  export { color_5 as color };
72
+ const icon_5: string;
73
+ export { icon_5 as icon };
53
74
  const border_5: string;
54
75
  export { border_5 as border };
76
+ const divider_5: string;
77
+ export { divider_5 as divider };
55
78
  const bg_5: string;
56
79
  export { bg_5 as bg };
57
80
  const iconHoverBG_5: string;
@@ -60,8 +83,12 @@ export namespace styleMap {
60
83
  namespace lightblue {
61
84
  const color_6: string;
62
85
  export { color_6 as color };
86
+ const icon_6: string;
87
+ export { icon_6 as icon };
63
88
  const border_6: string;
64
89
  export { border_6 as border };
90
+ const divider_6: string;
91
+ export { divider_6 as divider };
65
92
  const bg_6: string;
66
93
  export { bg_6 as bg };
67
94
  const iconHoverBG_6: string;
@@ -70,8 +97,12 @@ export namespace styleMap {
70
97
  namespace blue {
71
98
  const color_7: string;
72
99
  export { color_7 as color };
100
+ const icon_7: string;
101
+ export { icon_7 as icon };
73
102
  const border_7: string;
74
103
  export { border_7 as border };
104
+ const divider_7: string;
105
+ export { divider_7 as divider };
75
106
  const bg_7: string;
76
107
  export { bg_7 as bg };
77
108
  const iconHoverBG_7: string;
@@ -80,8 +111,12 @@ export namespace styleMap {
80
111
  namespace orange {
81
112
  const color_8: string;
82
113
  export { color_8 as color };
114
+ const icon_8: string;
115
+ export { icon_8 as icon };
83
116
  const border_8: string;
84
117
  export { border_8 as border };
118
+ const divider_8: string;
119
+ export { divider_8 as divider };
85
120
  const bg_8: string;
86
121
  export { bg_8 as bg };
87
122
  const iconHoverBG_8: string;
@@ -90,8 +125,12 @@ export namespace styleMap {
90
125
  namespace cyan {
91
126
  const color_9: string;
92
127
  export { color_9 as color };
128
+ const icon_9: string;
129
+ export { icon_9 as icon };
93
130
  const border_9: string;
94
131
  export { border_9 as border };
132
+ const divider_9: string;
133
+ export { divider_9 as divider };
95
134
  const bg_9: string;
96
135
  export { bg_9 as bg };
97
136
  const iconHoverBG_9: string;
@@ -100,11 +139,17 @@ export namespace styleMap {
100
139
  }
101
140
  export const CloseIcon: import("@emotion/styled-base").StyledComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<SvgIcon>, Pick<Pick<any, string | number | symbol> & import("react").RefAttributes<SvgIcon>, string | number | symbol>, object>;
102
141
  export const CloseIconWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
103
- export const PrefixIcon: import("@emotion/styled-base").StyledComponent<import("../../Icon/Icon").IconProps & Omit<import("react").HTMLAttributes<HTMLElement>, keyof import("../../Icon/Icon").IconProps>, Pick<import("../../Icon/Icon").IconProps & Omit<import("react").HTMLAttributes<HTMLElement>, keyof import("../../Icon/Icon").IconProps>, "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof import("../../Icon/Icon").IconProps>, object>;
142
+ export const PrefixIcon: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
143
+ export const SvgIconWrapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
104
144
  export const PrefixIconWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
145
+ export const SuffixIconWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
105
146
  export const TagWrapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
106
147
  export const ContentWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
107
148
  export const IconTag: import("@emotion/styled-base").StyledComponent<import("../../Icon/Icon").IconProps & Omit<import("react").HTMLAttributes<HTMLElement>, keyof import("../../Icon/Icon").IconProps>, Pick<import("../../Icon/Icon").IconProps & Omit<import("react").HTMLAttributes<HTMLElement>, keyof import("../../Icon/Icon").IconProps>, "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof import("../../Icon/Icon").IconProps>, object>;
108
149
  export const IconTagWrapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
109
150
  export const TagGroupWrapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
151
+ export const SWrap: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
152
+ export const TagMenuWapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
153
+ export const TagPopoverWrap: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
154
+ export const TagMoreWapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
110
155
  import SvgIcon from "../../../components/SvgIcon";