@surveycake/rc 3.0.0-alpha.21 → 3.0.0-alpha.25
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/CHANGELOG.md +35 -1
- package/dist/V2/Icon/Customize/DeleteOutlined.d.ts +3 -0
- package/dist/V2/Icon/Customize/index.d.ts +1 -0
- package/dist/V2/Icon/index.d.ts +1 -0
- package/dist/V2/{GroupSelect/GroupSelect.stories.d.ts → VarSelect/VarSelect.stories.d.ts} +1 -0
- package/dist/V2/VarSelect/index.d.ts +26 -0
- package/dist/V2/{GroupSelect → VarSelect}/styles.d.ts +0 -0
- package/dist/V2/index.d.ts +1 -1
- package/dist/rc.cjs.development.js +36 -9
- package/dist/rc.cjs.development.js.map +1 -1
- package/dist/rc.cjs.production.min.js +1 -1
- package/dist/rc.cjs.production.min.js.map +1 -1
- package/dist/rc.esm.js +36 -9
- package/dist/rc.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/V2/GroupSelect/index.d.ts +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## [3.0.0-alpha.
|
|
5
|
+
## [3.0.0-alpha.25](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.24...v3.0.0-alpha.25) (2021-12-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add DeletedOutlined icon ([dc383d8](https://fox.25sprout.com/surveycake/sdk/rc/commit/dc383d87cd1489e3c859dbb345f2ab33cfd1c467))
|
|
11
|
+
|
|
12
|
+
## [3.0.0-alpha.24](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.23...v3.0.0-alpha.24) (2021-12-08)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* update VarSelect export name ([2cfcdf5](https://fox.25sprout.com/surveycake/sdk/rc/commit/2cfcdf5dd6aeaf02f7641e71e63db26845fd1e7c))
|
|
18
|
+
|
|
19
|
+
## [3.0.0-alpha.23](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.22...v3.0.0-alpha.23) (2021-12-08)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* VarSelect groups ([4e87e3c](https://fox.25sprout.com/surveycake/sdk/rc/commit/4e87e3c4b7c7c22665a27ec035bd9951b8b52755))
|
|
25
|
+
|
|
26
|
+
## [3.0.0-alpha.22](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.20...v3.0.0-alpha.22) (2021-11-30)
|
|
6
27
|
|
|
7
28
|
|
|
8
29
|
### Features
|
|
@@ -10,6 +31,19 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
10
31
|
* set letter-spacing and text-transform of Typography to none - surveycake/pm[#5088](https://fox.25sprout.com//undefined/issues/5088) ([b1221cd](https://fox.25sprout.com/surveycake/sdk/rc/commit/b1221cdf28098b7af51ea570874e0e8495bcbd47))
|
|
11
32
|
* show Tooltip without delay when the element is touched - surveycake/pm[#5087](https://fox.25sprout.com//undefined/issues/5087) ([8b1756d](https://fox.25sprout.com/surveycake/sdk/rc/commit/8b1756d9209ad06fdaaa028b4bd690a565132bab))
|
|
12
33
|
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* GroupSelect default background, default height ([76a9eb8](https://fox.25sprout.com/surveycake/sdk/rc/commit/76a9eb8ea7b6bdc42012f19d888a7446fc6470bc))
|
|
38
|
+
|
|
39
|
+
## [3.0.0-alpha.21](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.20...v3.0.0-alpha.21) (2021-11-28)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* set letter-spacing and text-transform of Typography to none - surveycake/pm[#5088](https://fox.25sprout.com/surveycake/pm/-/issues/5088) ([b1221cd](https://fox.25sprout.com/surveycake/sdk/rc/commit/b1221cdf28098b7af51ea570874e0e8495bcbd47))
|
|
45
|
+
* show Tooltip without delay when the element is touched - surveycake/pm[#5087](https://fox.25sprout.com/surveycake/pm/-/issues/5087) ([8b1756d](https://fox.25sprout.com/surveycake/sdk/rc/commit/8b1756d9209ad06fdaaa028b4bd690a565132bab))
|
|
46
|
+
|
|
13
47
|
## [3.0.0-alpha.20](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.19...v3.0.0-alpha.20) (2021-11-26)
|
|
14
48
|
|
|
15
49
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DeleteOutlined: React.ForwardRefExoticComponent<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">, "svg">, "string" | "style" | "clipPath" | "filter" | "mask" | "className" | "classes" | "innerRef" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "role" | "tabIndex" | "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" | "direction" | "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" | "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" | "key" | "htmlColor" | "titleAccess"> & React.RefAttributes<SVGSVGElement>>;
|
|
3
|
+
export default DeleteOutlined;
|
package/dist/V2/Icon/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const Icons: {
|
|
|
7
7
|
CheckCircle: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">>;
|
|
8
8
|
Close: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">>;
|
|
9
9
|
Delete: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">>;
|
|
10
|
+
DeleteOutlined: React.ForwardRefExoticComponent<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">, "svg">, "string" | "style" | "clipPath" | "filter" | "mask" | "className" | "classes" | "innerRef" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "role" | "tabIndex" | "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" | "direction" | "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" | "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" | "key" | "htmlColor" | "titleAccess"> & React.RefAttributes<SVGSVGElement>>;
|
|
10
11
|
Edit: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">>;
|
|
11
12
|
FilterAlt: React.ForwardRefExoticComponent<Pick<import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">, "svg">, "string" | "style" | "clipPath" | "filter" | "mask" | "className" | "classes" | "innerRef" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "role" | "tabIndex" | "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" | "direction" | "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" | "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" | "key" | "htmlColor" | "titleAccess"> & React.RefAttributes<SVGSVGElement>>;
|
|
12
13
|
FormatBold: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core/SvgIcon").SvgIconTypeMap<{}, "svg">>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { SelectProps } from '../Select';
|
|
3
|
+
declare type MenuItemOption = {
|
|
4
|
+
value?: string | number;
|
|
5
|
+
children?: string | ReactNode;
|
|
6
|
+
emptyLabel?: string | ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare type Option = {
|
|
9
|
+
optionType: 'root' | 'var' | 'container';
|
|
10
|
+
children?: string | ReactNode;
|
|
11
|
+
value?: string | number;
|
|
12
|
+
};
|
|
13
|
+
export declare type MenuGroups = {
|
|
14
|
+
optionType: 'container' | 'root' | 'var';
|
|
15
|
+
groupTitle: string;
|
|
16
|
+
options: MenuItemOption[];
|
|
17
|
+
};
|
|
18
|
+
interface VarSelectProps extends SelectProps {
|
|
19
|
+
/**
|
|
20
|
+
* Data structure required by VarSelect
|
|
21
|
+
*/
|
|
22
|
+
groups?: MenuGroups[];
|
|
23
|
+
options?: Option[];
|
|
24
|
+
}
|
|
25
|
+
declare const VarSelect: React.ForwardRefExoticComponent<Pick<VarSelectProps, "classes" | "disabled" | "value" | "onChange" | "error" | "multiline" | "fullWidth" | "input" | "children" | "onKeyUp" | "onKeyDown" | "onBlur" | "onFocus" | "defaultValue" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "autoComplete" | "autoFocus" | "endAdornment" | "inputComponent" | "inputProps" | "inputRef" | "margin" | "name" | "readOnly" | "required" | "renderSuffix" | "rows" | "rowsMax" | "rowsMin" | "maxRows" | "minRows" | "startAdornment" | "type" | "innerRef" | "disableUnderline" | "groups" | "options" | "autoWidth" | "displayEmpty" | "IconComponent" | "label" | "labelId" | "labelWidth" | "MenuProps" | "multiple" | "native" | "onClose" | "onOpen" | "open" | "renderValue" | "SelectDisplayProps" | "variant"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export default VarSelect;
|
|
File without changes
|
package/dist/V2/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { default as FormControlLabel } from './FormControlLabel';
|
|
|
17
17
|
export { default as FormGroup } from './FormGroup';
|
|
18
18
|
export { default as FormHelperText } from './FormHelperText';
|
|
19
19
|
export { default as FormLabel } from './FormLabel';
|
|
20
|
-
export { default as
|
|
20
|
+
export { default as VarSelect } from './VarSelect';
|
|
21
21
|
export { default as IconButton } from './IconButton';
|
|
22
22
|
export { default as Link } from './Link';
|
|
23
23
|
export { default as LoadingButton } from './LoadingButton';
|
|
@@ -1017,6 +1017,21 @@ React.forwardRef(function (props, ref) {
|
|
|
1017
1017
|
});
|
|
1018
1018
|
FilterAlt.displayName = 'FilterAlt';
|
|
1019
1019
|
|
|
1020
|
+
var DeleteOutlined =
|
|
1021
|
+
/*#__PURE__*/
|
|
1022
|
+
React.forwardRef(function (props, ref) {
|
|
1023
|
+
return React__default.createElement(SvgIcon, Object.assign({}, props, {
|
|
1024
|
+
ref: ref,
|
|
1025
|
+
viewBox: "0 0 14 16"
|
|
1026
|
+
}), React__default.createElement("g", null, React__default.createElement("path", {
|
|
1027
|
+
"fill-rule": "evenodd",
|
|
1028
|
+
"clip-rule": "evenodd",
|
|
1029
|
+
d: "M13.3676 2.5H10.8448L9.80398 0.728126C9.53829 0.276173 9.05971 -0.000250525 8.54337 1.70377e-07H5.45705C4.94093 -3.09248e-05 4.46263 0.276365 4.19705 0.728126L3.15562 2.5H0.632862C0.362356 2.5 0.143066 2.72386 0.143066 3V3.5C0.143066 3.77614 0.362356 4 0.632862 4H1.12266V14.5C1.12266 15.3284 1.78053 16 2.59205 16H11.4084C12.2199 16 12.8778 15.3284 12.8778 14.5V4H13.3676C13.6381 4 13.8574 3.77614 13.8574 3.5V3C13.8574 2.72386 13.6381 2.5 13.3676 2.5ZM8.34715 13H9.08185C9.28473 13 9.44919 12.8321 9.44919 12.625V5.875C9.44919 5.66789 9.28473 5.5 9.08185 5.5H8.34715C8.14427 5.5 7.97981 5.66789 7.97981 5.875V12.625C7.97981 12.8321 8.14427 13 8.34715 13ZM5.56144 1.5C5.49678 1.49982 5.43678 1.53435 5.40348 1.59094L4.8693 2.5H9.13113L8.59665 1.59094C8.5634 1.53445 8.50355 1.49993 8.43899 1.5H5.56144ZM11.4084 14.5H2.59204V4H11.4084V14.5ZM5.65328 13H4.91858C4.7157 13 4.55123 12.8321 4.55123 12.625V5.875C4.55123 5.66789 4.7157 5.5 4.91858 5.5H5.65328C5.85616 5.5 6.02062 5.66789 6.02062 5.875V12.625C6.02062 12.8321 5.85616 13 5.65328 13Z",
|
|
1030
|
+
fill: "#6B6B6B"
|
|
1031
|
+
})));
|
|
1032
|
+
});
|
|
1033
|
+
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
1034
|
+
|
|
1020
1035
|
var Icons = {
|
|
1021
1036
|
AddCircleOutline: AddCircleOutline,
|
|
1022
1037
|
ArrowDropDown: ArrowDropDown,
|
|
@@ -1024,6 +1039,7 @@ var Icons = {
|
|
|
1024
1039
|
CheckCircle: CheckCircle$2,
|
|
1025
1040
|
Close: Close,
|
|
1026
1041
|
Delete: Delete,
|
|
1042
|
+
DeleteOutlined: DeleteOutlined,
|
|
1027
1043
|
Edit: Edit,
|
|
1028
1044
|
FilterAlt: FilterAlt,
|
|
1029
1045
|
FormatBold: FormatBold,
|
|
@@ -1123,11 +1139,13 @@ Typography.displayName = 'Typography';
|
|
|
1123
1139
|
|
|
1124
1140
|
var useSelectStyle =
|
|
1125
1141
|
/*#__PURE__*/
|
|
1126
|
-
styles$5.makeStyles(function () {
|
|
1142
|
+
styles$5.makeStyles(function (theme) {
|
|
1127
1143
|
return {
|
|
1128
1144
|
select: {
|
|
1129
1145
|
padding: '5px 8px',
|
|
1130
|
-
display: 'inline-flex'
|
|
1146
|
+
display: 'inline-flex',
|
|
1147
|
+
backgroundColor: theme.palette.common.white,
|
|
1148
|
+
height: '30px'
|
|
1131
1149
|
}
|
|
1132
1150
|
};
|
|
1133
1151
|
});
|
|
@@ -1184,7 +1202,7 @@ function _templateObject() {
|
|
|
1184
1202
|
|
|
1185
1203
|
return data;
|
|
1186
1204
|
}
|
|
1187
|
-
var
|
|
1205
|
+
var VarSelect =
|
|
1188
1206
|
/*#__PURE__*/
|
|
1189
1207
|
React.forwardRef(function (props, ref) {
|
|
1190
1208
|
var theme = useMUITheme();
|
|
@@ -1192,13 +1210,14 @@ React.forwardRef(function (props, ref) {
|
|
|
1192
1210
|
var selectStyle = useSelectStyle();
|
|
1193
1211
|
|
|
1194
1212
|
var groups = props.groups,
|
|
1213
|
+
options = props.options,
|
|
1195
1214
|
value = props.value,
|
|
1196
1215
|
onChange = props.onChange,
|
|
1197
1216
|
_props$variant = props.variant,
|
|
1198
1217
|
variant = _props$variant === void 0 ? 'outlined' : _props$variant,
|
|
1199
1218
|
onOpen = props.onOpen,
|
|
1200
1219
|
onClose = props.onClose,
|
|
1201
|
-
rest = _objectWithoutPropertiesLoose(props, ["groups", "value", "onChange", "variant", "onOpen", "onClose"]);
|
|
1220
|
+
rest = _objectWithoutPropertiesLoose(props, ["groups", "options", "value", "onChange", "variant", "onOpen", "onClose"]);
|
|
1202
1221
|
|
|
1203
1222
|
return React__default.createElement(Select, Object.assign({}, rest, {
|
|
1204
1223
|
ref: ref,
|
|
@@ -1210,7 +1229,7 @@ React.forwardRef(function (props, ref) {
|
|
|
1210
1229
|
displayEmpty: true,
|
|
1211
1230
|
fullWidth: true,
|
|
1212
1231
|
classes: selectStyle
|
|
1213
|
-
}), groups.map(function (group) {
|
|
1232
|
+
}), groups && groups.map(function (group) {
|
|
1214
1233
|
return [React__default.createElement(ListSubheader, {
|
|
1215
1234
|
style: {
|
|
1216
1235
|
pointerEvents: 'none'
|
|
@@ -1235,9 +1254,17 @@ React.forwardRef(function (props, ref) {
|
|
|
1235
1254
|
className: emotion.cx(customOptionStyle.root, customOptionStyle[group.optionType])
|
|
1236
1255
|
}, opt.children));
|
|
1237
1256
|
})];
|
|
1257
|
+
}), options && options.map(function (opt) {
|
|
1258
|
+
return React__default.createElement(MenuItem, {
|
|
1259
|
+
className: customOptionStyle.container,
|
|
1260
|
+
value: opt.value,
|
|
1261
|
+
key: opt.value
|
|
1262
|
+
}, React__default.createElement("div", {
|
|
1263
|
+
className: emotion.cx(customOptionStyle.root, customOptionStyle[opt.optionType])
|
|
1264
|
+
}, opt.children));
|
|
1238
1265
|
}));
|
|
1239
1266
|
});
|
|
1240
|
-
|
|
1267
|
+
VarSelect.displayName = 'VarSelect';
|
|
1241
1268
|
|
|
1242
1269
|
var IconButton =
|
|
1243
1270
|
/*#__PURE__*/
|
|
@@ -1395,7 +1422,7 @@ var index = {
|
|
|
1395
1422
|
FormGroup: FormGroup,
|
|
1396
1423
|
FormHelperText: FormHelperText,
|
|
1397
1424
|
FormLabel: FormLabel,
|
|
1398
|
-
|
|
1425
|
+
VarSelect: VarSelect,
|
|
1399
1426
|
IconButton: IconButton,
|
|
1400
1427
|
Link: Link,
|
|
1401
1428
|
LoadingButton: LoadingButton,
|
|
@@ -2515,7 +2542,7 @@ var StyledSubheader =
|
|
|
2515
2542
|
/*#__PURE__*/
|
|
2516
2543
|
styles$5.withStyles(subheaderStyles)(MuiListSubheader$1);
|
|
2517
2544
|
|
|
2518
|
-
var GroupSelect
|
|
2545
|
+
var GroupSelect = function GroupSelect(props) {
|
|
2519
2546
|
var groups = props.groups,
|
|
2520
2547
|
value = props.value,
|
|
2521
2548
|
onChange = props.onChange,
|
|
@@ -5748,7 +5775,7 @@ exports.DatePicker = DatePicker;
|
|
|
5748
5775
|
exports.Divider = Divider;
|
|
5749
5776
|
exports.EditLight = EditLight;
|
|
5750
5777
|
exports.EditableTable = EditableTable;
|
|
5751
|
-
exports.GroupSelect = GroupSelect
|
|
5778
|
+
exports.GroupSelect = GroupSelect;
|
|
5752
5779
|
exports.Icon = Icon$1;
|
|
5753
5780
|
exports.InputSlider = InputSlider;
|
|
5754
5781
|
exports.KeyboardDatePicker = KeyboardDatePicker;
|