@arco-iconbox/react-hiagent 0.0.41 → 0.0.42
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/cjs/IconShare/index.d.ts +4 -0
- package/cjs/IconShare/index.js +61 -0
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +3 -1
- package/dist/icon.min.js +1 -1
- package/esm/IconShare/index.d.ts +4 -0
- package/esm/IconShare/index.js +36 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/package.json +1 -1
- package/src/IconShare/index.tsx +15 -0
- package/src/index.ts +1 -0
- package/umd/IconShare/index.d.ts +4 -0
- package/umd/IconShare/index.js +71 -0
- package/umd/index.d.ts +1 -0
- package/umd/index.js +4 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
declare const IconShare: React.ForwardRefExoticComponent<Pick<OriginIconProps, "string" | "className" | "prefix" | "width" | "height" | "useCurrentColor" | "spin" | "color" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPath" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filter" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "mask" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "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" | "key"> & React.RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export default IconShare;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React, { useContext } from 'react';
|
|
24
|
+
import { Context } from '../context';
|
|
25
|
+
function IconShareComponent(props, ref) {
|
|
26
|
+
var prefixFromContext = useContext(Context).prefix;
|
|
27
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
28
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
29
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-share").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("g", { fillRule: "evenodd", clipRule: "evenodd" },
|
|
32
|
+
React.createElement("path", { d: "M2.06055 8.40308C2.06055 7.15124 3.07537 6.13642 4.32721 6.13642 5.57906 6.13642 6.59388 7.15124 6.59388 8.40308 6.59388 9.65493 5.57906 10.6698 4.32721 10.6698 3.07537 10.6698 2.06055 9.65493 2.06055 8.40308zM5.39388 8.40308C5.39388 7.81398 4.91632 7.33642 4.32721 7.33642 3.73811 7.33642 3.26055 7.81398 3.26055 8.40308 3.26055 8.99219 3.73811 9.46975 4.32721 9.46975 4.91632 9.46975 5.39388 8.99219 5.39388 8.40308zM9.40625 4.01936C9.40625 2.76752 10.4211 1.7527 11.6729 1.7527 12.9248 1.7527 13.9396 2.76752 13.9396 4.01936 13.9396 5.27121 12.9248 6.28603 11.6729 6.28603 10.4211 6.28603 9.40625 5.27121 9.40625 4.01936zM12.7396 4.01936C12.7396 3.43026 12.262 2.9527 11.6729 2.9527 11.0838 2.9527 10.6063 3.43026 10.6063 4.01936 10.6063 4.60847 11.0838 5.08603 11.6729 5.08603 12.262 5.08603 12.7396 4.60847 12.7396 4.01936zM9.19922 11.9806C9.19922 10.7288 10.214 9.71397 11.4659 9.71397 12.7177 9.71397 13.7326 10.7288 13.7326 11.9806 13.7326 13.2325 12.7177 14.2473 11.4659 14.2473 10.214 14.2473 9.19922 13.2325 9.19922 11.9806zM12.5326 11.9806C12.5326 11.3915 12.055 10.914 11.4659 10.914 10.8768 10.914 10.3992 11.3915 10.3992 11.9806 10.3992 12.5697 10.8768 13.0473 11.4659 13.0473 12.055 13.0473 12.5326 12.5697 12.5326 11.9806z" }),
|
|
33
|
+
React.createElement("path", { d: "M10.5159 4.58434C10.6905 4.86596 10.6038 5.23583 10.3222 5.41045L6.15846 7.99228C5.87684 8.1669 5.50698 8.08017 5.33235 7.79855 5.15772 7.51692 5.24445 7.14706 5.52608 6.97243L9.68976 4.39061C9.97139 4.21598 10.3413 4.30272 10.5159 4.58434zM5.34702 9.00417C5.50239 8.71148 5.86562 8.60017 6.15831 8.75554L9.95715 10.7722C10.2498 10.9276 10.3611 11.2908 10.2058 11.5835 10.0504 11.8762 9.68717 11.9875 9.39448 11.8321L5.59564 9.81545C5.30296 9.66008 5.19164 9.29685 5.34702 9.00417z" })));
|
|
34
|
+
}
|
|
35
|
+
var IconShare = React.forwardRef(IconShareComponent);
|
|
36
|
+
export default IconShare;
|
package/esm/index.d.ts
CHANGED
|
@@ -1340,4 +1340,5 @@ export { default as IconMessageFill } from './IconMessageFill';
|
|
|
1340
1340
|
export { default as IconColumnConfiguration1 } from './IconColumnConfiguration1';
|
|
1341
1341
|
export { default as IconWiki } from './IconWiki';
|
|
1342
1342
|
export { default as IconTrialOperation } from './IconTrialOperation';
|
|
1343
|
+
export { default as IconShare } from './IconShare';
|
|
1343
1344
|
export * from './type';
|
package/esm/index.js
CHANGED
|
@@ -1340,4 +1340,5 @@ export { default as IconMessageFill } from './IconMessageFill';
|
|
|
1340
1340
|
export { default as IconColumnConfiguration1 } from './IconColumnConfiguration1';
|
|
1341
1341
|
export { default as IconWiki } from './IconWiki';
|
|
1342
1342
|
export { default as IconTrialOperation } from './IconTrialOperation';
|
|
1343
|
+
export { default as IconShare } from './IconShare';
|
|
1343
1344
|
export * from './type';
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconShareComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-share${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 16 16" {...rest} ref={ref}><g fillRule="evenodd" clipRule="evenodd"><path d="M2.06055 8.40308C2.06055 7.15124 3.07537 6.13642 4.32721 6.13642 5.57906 6.13642 6.59388 7.15124 6.59388 8.40308 6.59388 9.65493 5.57906 10.6698 4.32721 10.6698 3.07537 10.6698 2.06055 9.65493 2.06055 8.40308zM5.39388 8.40308C5.39388 7.81398 4.91632 7.33642 4.32721 7.33642 3.73811 7.33642 3.26055 7.81398 3.26055 8.40308 3.26055 8.99219 3.73811 9.46975 4.32721 9.46975 4.91632 9.46975 5.39388 8.99219 5.39388 8.40308zM9.40625 4.01936C9.40625 2.76752 10.4211 1.7527 11.6729 1.7527 12.9248 1.7527 13.9396 2.76752 13.9396 4.01936 13.9396 5.27121 12.9248 6.28603 11.6729 6.28603 10.4211 6.28603 9.40625 5.27121 9.40625 4.01936zM12.7396 4.01936C12.7396 3.43026 12.262 2.9527 11.6729 2.9527 11.0838 2.9527 10.6063 3.43026 10.6063 4.01936 10.6063 4.60847 11.0838 5.08603 11.6729 5.08603 12.262 5.08603 12.7396 4.60847 12.7396 4.01936zM9.19922 11.9806C9.19922 10.7288 10.214 9.71397 11.4659 9.71397 12.7177 9.71397 13.7326 10.7288 13.7326 11.9806 13.7326 13.2325 12.7177 14.2473 11.4659 14.2473 10.214 14.2473 9.19922 13.2325 9.19922 11.9806zM12.5326 11.9806C12.5326 11.3915 12.055 10.914 11.4659 10.914 10.8768 10.914 10.3992 11.3915 10.3992 11.9806 10.3992 12.5697 10.8768 13.0473 11.4659 13.0473 12.055 13.0473 12.5326 12.5697 12.5326 11.9806z"/><path d="M10.5159 4.58434C10.6905 4.86596 10.6038 5.23583 10.3222 5.41045L6.15846 7.99228C5.87684 8.1669 5.50698 8.08017 5.33235 7.79855 5.15772 7.51692 5.24445 7.14706 5.52608 6.97243L9.68976 4.39061C9.97139 4.21598 10.3413 4.30272 10.5159 4.58434zM5.34702 9.00417C5.50239 8.71148 5.86562 8.60017 6.15831 8.75554L9.95715 10.7722C10.2498 10.9276 10.3611 11.2908 10.2058 11.5835 10.0504 11.8762 9.68717 11.9875 9.39448 11.8321L5.59564 9.81545C5.30296 9.66008 5.19164 9.29685 5.34702 9.00417z"/></g></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconShare = React.forwardRef(IconShareComponent);
|
|
15
|
+
export default IconShare;
|
package/src/index.ts
CHANGED
|
@@ -1340,5 +1340,6 @@ export { default as IconMessageFill } from './IconMessageFill';
|
|
|
1340
1340
|
export { default as IconColumnConfiguration1 } from './IconColumnConfiguration1';
|
|
1341
1341
|
export { default as IconWiki } from './IconWiki';
|
|
1342
1342
|
export { default as IconTrialOperation } from './IconTrialOperation';
|
|
1343
|
+
export { default as IconShare } from './IconShare';
|
|
1343
1344
|
|
|
1344
1345
|
export * from './type';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
declare const IconShare: React.ForwardRefExoticComponent<Pick<OriginIconProps, "string" | "className" | "prefix" | "width" | "height" | "useCurrentColor" | "spin" | "color" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPath" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filter" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "mask" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "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" | "key"> & React.RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export default IconShare;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
|
+
var t = {};
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
38
|
+
t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
40
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
42
|
+
t[p[i]] = s[p[i]];
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
};
|
|
46
|
+
(function (factory) {
|
|
47
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
48
|
+
var v = factory(require, exports);
|
|
49
|
+
if (v !== undefined) module.exports = v;
|
|
50
|
+
}
|
|
51
|
+
else if (typeof define === "function" && define.amd) {
|
|
52
|
+
define(["require", "exports", "react", "../context"], factory);
|
|
53
|
+
}
|
|
54
|
+
})(function (require, exports) {
|
|
55
|
+
"use strict";
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
var react_1 = __importStar(require("react"));
|
|
58
|
+
var context_1 = require("../context");
|
|
59
|
+
function IconShareComponent(props, ref) {
|
|
60
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
61
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
62
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-share").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("g", { fillRule: "evenodd", clipRule: "evenodd" },
|
|
66
|
+
react_1.default.createElement("path", { d: "M2.06055 8.40308C2.06055 7.15124 3.07537 6.13642 4.32721 6.13642 5.57906 6.13642 6.59388 7.15124 6.59388 8.40308 6.59388 9.65493 5.57906 10.6698 4.32721 10.6698 3.07537 10.6698 2.06055 9.65493 2.06055 8.40308zM5.39388 8.40308C5.39388 7.81398 4.91632 7.33642 4.32721 7.33642 3.73811 7.33642 3.26055 7.81398 3.26055 8.40308 3.26055 8.99219 3.73811 9.46975 4.32721 9.46975 4.91632 9.46975 5.39388 8.99219 5.39388 8.40308zM9.40625 4.01936C9.40625 2.76752 10.4211 1.7527 11.6729 1.7527 12.9248 1.7527 13.9396 2.76752 13.9396 4.01936 13.9396 5.27121 12.9248 6.28603 11.6729 6.28603 10.4211 6.28603 9.40625 5.27121 9.40625 4.01936zM12.7396 4.01936C12.7396 3.43026 12.262 2.9527 11.6729 2.9527 11.0838 2.9527 10.6063 3.43026 10.6063 4.01936 10.6063 4.60847 11.0838 5.08603 11.6729 5.08603 12.262 5.08603 12.7396 4.60847 12.7396 4.01936zM9.19922 11.9806C9.19922 10.7288 10.214 9.71397 11.4659 9.71397 12.7177 9.71397 13.7326 10.7288 13.7326 11.9806 13.7326 13.2325 12.7177 14.2473 11.4659 14.2473 10.214 14.2473 9.19922 13.2325 9.19922 11.9806zM12.5326 11.9806C12.5326 11.3915 12.055 10.914 11.4659 10.914 10.8768 10.914 10.3992 11.3915 10.3992 11.9806 10.3992 12.5697 10.8768 13.0473 11.4659 13.0473 12.055 13.0473 12.5326 12.5697 12.5326 11.9806z" }),
|
|
67
|
+
react_1.default.createElement("path", { d: "M10.5159 4.58434C10.6905 4.86596 10.6038 5.23583 10.3222 5.41045L6.15846 7.99228C5.87684 8.1669 5.50698 8.08017 5.33235 7.79855 5.15772 7.51692 5.24445 7.14706 5.52608 6.97243L9.68976 4.39061C9.97139 4.21598 10.3413 4.30272 10.5159 4.58434zM5.34702 9.00417C5.50239 8.71148 5.86562 8.60017 6.15831 8.75554L9.95715 10.7722C10.2498 10.9276 10.3611 11.2908 10.2058 11.5835 10.0504 11.8762 9.68717 11.9875 9.39448 11.8321L5.59564 9.81545C5.30296 9.66008 5.19164 9.29685 5.34702 9.00417z" })));
|
|
68
|
+
}
|
|
69
|
+
var IconShare = react_1.default.forwardRef(IconShareComponent);
|
|
70
|
+
exports.default = IconShare;
|
|
71
|
+
});
|
package/umd/index.d.ts
CHANGED
|
@@ -1340,4 +1340,5 @@ export { default as IconMessageFill } from './IconMessageFill';
|
|
|
1340
1340
|
export { default as IconColumnConfiguration1 } from './IconColumnConfiguration1';
|
|
1341
1341
|
export { default as IconWiki } from './IconWiki';
|
|
1342
1342
|
export { default as IconTrialOperation } from './IconTrialOperation';
|
|
1343
|
+
export { default as IconShare } from './IconShare';
|
|
1343
1344
|
export * from './type';
|