@digigov/react-icons 2.0.0-rc.11 → 2.0.0-rc.13
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/lazy/index.js +18 -0
- package/index.js +1 -1
- package/lazy/index.js +14 -0
- package/lazy.d.ts +2 -0
- package/package.json +3 -3
- package/src/lazy.js +2 -0
package/cjs/lazy/index.js
CHANGED
|
@@ -28,6 +28,15 @@ var _default = exports["default"] = {
|
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
}),
|
|
31
|
+
'Base': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
32
|
+
return Promise.resolve().then(function () {
|
|
33
|
+
return _interopRequireWildcard(require('@digigov/react-icons/Base'));
|
|
34
|
+
}).then(function (module) {
|
|
35
|
+
return {
|
|
36
|
+
"default": module['Base']
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
}),
|
|
31
40
|
'BurgerIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
32
41
|
return Promise.resolve().then(function () {
|
|
33
42
|
return _interopRequireWildcard(require('@digigov/react-icons/BurgerIcon'));
|
|
@@ -225,5 +234,14 @@ var _default = exports["default"] = {
|
|
|
225
234
|
"default": module['PrintIcon']
|
|
226
235
|
};
|
|
227
236
|
});
|
|
237
|
+
}),
|
|
238
|
+
'SvgIcon': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
239
|
+
return Promise.resolve().then(function () {
|
|
240
|
+
return _interopRequireWildcard(require('@digigov/react-icons/SvgIcon'));
|
|
241
|
+
}).then(function (module) {
|
|
242
|
+
return {
|
|
243
|
+
"default": module['SvgIcon']
|
|
244
|
+
};
|
|
245
|
+
});
|
|
228
246
|
})
|
|
229
247
|
};
|
package/index.js
CHANGED
package/lazy/index.js
CHANGED
|
@@ -14,6 +14,13 @@ export default {
|
|
|
14
14
|
};
|
|
15
15
|
});
|
|
16
16
|
}),
|
|
17
|
+
'Base': /*#__PURE__*/lazy(function () {
|
|
18
|
+
return import('@digigov/react-icons/Base').then(function (module) {
|
|
19
|
+
return {
|
|
20
|
+
"default": module['Base']
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
}),
|
|
17
24
|
'BurgerIcon': /*#__PURE__*/lazy(function () {
|
|
18
25
|
return import('@digigov/react-icons/BurgerIcon').then(function (module) {
|
|
19
26
|
return {
|
|
@@ -167,5 +174,12 @@ export default {
|
|
|
167
174
|
"default": module['PrintIcon']
|
|
168
175
|
};
|
|
169
176
|
});
|
|
177
|
+
}),
|
|
178
|
+
'SvgIcon': /*#__PURE__*/lazy(function () {
|
|
179
|
+
return import('@digigov/react-icons/SvgIcon').then(function (module) {
|
|
180
|
+
return {
|
|
181
|
+
"default": module['SvgIcon']
|
|
182
|
+
};
|
|
183
|
+
});
|
|
170
184
|
})
|
|
171
185
|
};
|
package/lazy.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
let AccessibilityIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"accessibility">>>;
|
|
3
3
|
let ArrowIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"arrow">>>;
|
|
4
|
+
let Base: import("react").LazyExoticComponent<(<C extends import("react").ElementType<any> = "span">(props: import("@digigov/react-icons/Base").BaseProps<C>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null)>;
|
|
4
5
|
let BurgerIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"burger">>>;
|
|
5
6
|
let CancelIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"cancel">>>;
|
|
6
7
|
let CaretIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"caret">>>;
|
|
@@ -23,5 +24,6 @@ declare namespace _default {
|
|
|
23
24
|
let RestoreIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"restore">>>;
|
|
24
25
|
let ReplyIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"reply">>>;
|
|
25
26
|
let PrintIcon: import("react").LazyExoticComponent<import("react").FC<import("@digigov/react-icons/Icon").IconProps<"print">>>;
|
|
27
|
+
let SvgIcon: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Pick<import("@digigov/react-icons/SvgIcon").SvgIconProps, "string" | "p" | "style" | "clipPath" | "filter" | "mask" | "path" | "children" | "direction" | "as" | "className" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "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" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "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" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "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" | "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" | "hidden" | "size" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "m" | "mt" | "mb" | "ml" | "mr" | "mx" | "my" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "pt" | "pb" | "pl" | "pr" | "px" | "py" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden"> & import("react").RefAttributes<SVGSVGElement>>>;
|
|
26
28
|
}
|
|
27
29
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-icons",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.13",
|
|
4
4
|
"description": "@digigov react icons",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
7
7
|
"main": "./cjs/index.js",
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@digigov/css": "2.0.0-rc.
|
|
10
|
+
"@digigov/css": "2.0.0-rc.13",
|
|
11
11
|
"clsx": "1.1.1",
|
|
12
12
|
"react": "^16.8.0 || ^17.0.0",
|
|
13
13
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
14
|
-
"@digigov/react-core": "2.0.0-rc.
|
|
14
|
+
"@digigov/react-core": "2.0.0-rc.13"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"ts-morph": "18.0.0"
|
package/src/lazy.js
CHANGED
|
@@ -2,6 +2,7 @@ import {lazy} from 'react';
|
|
|
2
2
|
export default {
|
|
3
3
|
'AccessibilityIcon': lazy(() => import('@digigov/react-icons/AccessibilityIcon').then((module)=> ({default: module['AccessibilityIcon']}))),
|
|
4
4
|
'ArrowIcon': lazy(() => import('@digigov/react-icons/ArrowIcon').then((module)=> ({default: module['ArrowIcon']}))),
|
|
5
|
+
'Base': lazy(() => import('@digigov/react-icons/Base').then((module)=> ({default: module['Base']}))),
|
|
5
6
|
'BurgerIcon': lazy(() => import('@digigov/react-icons/BurgerIcon').then((module)=> ({default: module['BurgerIcon']}))),
|
|
6
7
|
'CancelIcon': lazy(() => import('@digigov/react-icons/CancelIcon').then((module)=> ({default: module['CancelIcon']}))),
|
|
7
8
|
'CaretIcon': lazy(() => import('@digigov/react-icons/CaretIcon').then((module)=> ({default: module['CaretIcon']}))),
|
|
@@ -24,5 +25,6 @@ export default {
|
|
|
24
25
|
'RestoreIcon': lazy(() => import('@digigov/react-icons/RestoreIcon').then((module)=> ({default: module['RestoreIcon']}))),
|
|
25
26
|
'ReplyIcon': lazy(() => import('@digigov/react-icons/ReplyIcon').then((module)=> ({default: module['ReplyIcon']}))),
|
|
26
27
|
'PrintIcon': lazy(() => import('@digigov/react-icons/PrintIcon').then((module)=> ({default: module['PrintIcon']}))),
|
|
28
|
+
'SvgIcon': lazy(() => import('@digigov/react-icons/SvgIcon').then((module)=> ({default: module['SvgIcon']}))),
|
|
27
29
|
|
|
28
30
|
}
|