@qn-pandora/pandora-component 3.1.1 → 4.0.1

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.
Files changed (222) hide show
  1. package/CHANGELOG.json +24 -7
  2. package/CHANGELOG.md +16 -7
  3. package/README.md +36 -36
  4. package/es/components/AutoComplete/style.css +25 -29
  5. package/es/components/AutoComplete/style.less +8 -8
  6. package/es/components/Breadcrumb/style.less +9 -9
  7. package/es/components/Button/index.d.ts +0 -8
  8. package/es/components/Button/index.js +4 -4
  9. package/es/components/Button/style.css +100 -104
  10. package/es/components/Button/style.less +51 -62
  11. package/es/components/Card/RowExtra/style.less +8 -8
  12. package/es/components/Card/SearchInput/style.less +8 -8
  13. package/es/components/Card/style.css +28 -2
  14. package/es/components/Card/style.less +11 -11
  15. package/es/components/CheckTransformList/style.css +50 -21
  16. package/es/components/CheckTransformList/style.less +35 -35
  17. package/es/components/Checkbox/style.css +1 -1
  18. package/es/components/Checkbox/style.less +5 -5
  19. package/es/components/CheckboxList/index.d.ts +2 -0
  20. package/es/components/CheckboxList/index.js +2 -2
  21. package/es/components/CheckboxList/style.css +5 -3
  22. package/es/components/CheckboxList/style.less +11 -9
  23. package/es/components/Collapse/style.css +16 -12
  24. package/es/components/Collapse/style.less +57 -57
  25. package/es/components/CollapsiblePanel/style.css +4 -4
  26. package/es/components/CollapsiblePanel/style.less +63 -63
  27. package/es/components/DateTimePicker/Base/style.css +378 -49
  28. package/es/components/DateTimePicker/Base/style.less +160 -164
  29. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  30. package/es/components/DateTimePicker/BaseMobile/style.css +4 -4
  31. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  32. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  33. package/es/components/DateTimePicker/DisplayInput/style.css +47 -16
  34. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  35. package/es/components/DateTimePicker/constants.d.ts +1 -1
  36. package/es/components/DateTimePicker/constants.js +17 -6
  37. package/es/components/DateTimePicker/index.js +1 -1
  38. package/es/components/DateTimePicker/style.css +7 -7
  39. package/es/components/DateTimePicker/style.less +19 -17
  40. package/es/components/DateTimePicker/transform.d.ts +4 -0
  41. package/es/components/DateTimePicker/transform.js +52 -0
  42. package/es/components/Drawer/index.d.ts +55 -2
  43. package/es/components/Drawer/index.js +3 -1
  44. package/es/components/Drawer/style.css +45 -45
  45. package/es/components/Drawer/style.less +17 -17
  46. package/es/components/Input/index.d.ts +1 -2
  47. package/es/components/Input/index.js +0 -2
  48. package/es/components/Input/style.css +47 -16
  49. package/es/components/Input/style.less +12 -12
  50. package/es/components/InputNumber/index.d.ts +1 -8
  51. package/es/components/InputNumber/index.js +1 -35
  52. package/es/components/KeyValuePair/style.less +21 -21
  53. package/es/components/Menu/Option.d.ts +10 -0
  54. package/es/components/Menu/Option.js +18 -2
  55. package/es/components/Menu/index.d.ts +1 -1
  56. package/es/components/Menu/index.js +3 -3
  57. package/es/components/Menu/style.css +20 -10
  58. package/es/components/Menu/style.less +18 -8
  59. package/es/components/Modal/style.less +30 -30
  60. package/es/components/NameExplainTooltip/style.less +10 -10
  61. package/es/components/NameLimiter/style.css +2 -4
  62. package/es/components/NameLimiter/style.less +19 -21
  63. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  64. package/es/components/OptionList/OptionItem/style.css +2 -2
  65. package/es/components/OptionList/OptionItem/style.less +25 -25
  66. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  67. package/es/components/OptionList/style.css +2 -2
  68. package/es/components/OptionList/style.less +3 -3
  69. package/es/components/RadioGroup/style.css +8 -8
  70. package/es/components/RadioGroup/style.less +32 -32
  71. package/es/components/RangeInput/style.css +427 -27
  72. package/es/components/RangeInput/style.less +37 -37
  73. package/es/components/RemarkName/style.css +2 -4
  74. package/es/components/RemarkName/style.less +2 -2
  75. package/es/components/Selector/style.css +25 -29
  76. package/es/components/Selector/style.less +99 -100
  77. package/es/components/Spin/style.css +0 -1
  78. package/es/components/Spin/style.less +26 -26
  79. package/es/components/Steps/ControlButton/style.less +5 -5
  80. package/es/components/Steps/style.css +8 -6
  81. package/es/components/Steps/style.less +48 -46
  82. package/es/components/Table/ColumnTag/style.less +40 -40
  83. package/es/components/Table/index.js +7 -4
  84. package/es/components/Table/style.css +85 -27
  85. package/es/components/Table/style.less +306 -313
  86. package/es/components/Tabs/style.css +29 -1
  87. package/es/components/Tabs/style.less +33 -31
  88. package/es/components/TagList/Tag/style.less +72 -72
  89. package/es/components/TagList/TagSwitch/style.less +28 -28
  90. package/es/components/TagList/style.css +10 -10
  91. package/es/components/TagList/style.less +28 -28
  92. package/es/components/Timeline/TimelineItem/style.less +49 -49
  93. package/es/components/Timeline/style.less +23 -23
  94. package/es/components/Transfer/List/index.js +3 -3
  95. package/es/components/Transfer/List/style.css +3 -0
  96. package/es/components/Transfer/List/style.less +19 -15
  97. package/es/components/Transfer/ListBody/style.less +18 -18
  98. package/es/components/Transfer/style.css +3 -0
  99. package/es/components/Transfer/style.less +14 -14
  100. package/es/components/TreeSelector/style.css +64 -20
  101. package/es/components/TreeSelector/style.less +56 -54
  102. package/es/hoc/popContainer.d.ts +5 -0
  103. package/es/hoc/popContainer.js +37 -0
  104. package/es/index.css +3011 -2517
  105. package/es/index.d.ts +1 -1
  106. package/es/index.less +49 -50
  107. package/es/style/mixin.less +45 -45
  108. package/es/style/theme.less +389 -379
  109. package/lib/components/AutoComplete/style.css +25 -29
  110. package/lib/components/AutoComplete/style.less +8 -8
  111. package/lib/components/Breadcrumb/style.less +9 -9
  112. package/lib/components/Button/index.d.ts +0 -8
  113. package/lib/components/Button/index.js +4 -4
  114. package/lib/components/Button/style.css +100 -104
  115. package/lib/components/Button/style.less +51 -62
  116. package/lib/components/Card/RowExtra/style.less +8 -8
  117. package/lib/components/Card/SearchInput/style.less +8 -8
  118. package/lib/components/Card/style.css +28 -2
  119. package/lib/components/Card/style.less +11 -11
  120. package/lib/components/CheckTransformList/style.css +50 -21
  121. package/lib/components/CheckTransformList/style.less +35 -35
  122. package/lib/components/Checkbox/style.css +1 -1
  123. package/lib/components/Checkbox/style.less +5 -5
  124. package/lib/components/CheckboxList/index.d.ts +2 -0
  125. package/lib/components/CheckboxList/index.js +2 -2
  126. package/lib/components/CheckboxList/style.css +5 -3
  127. package/lib/components/CheckboxList/style.less +11 -9
  128. package/lib/components/Collapse/style.css +16 -12
  129. package/lib/components/Collapse/style.less +57 -57
  130. package/lib/components/CollapsiblePanel/style.css +4 -4
  131. package/lib/components/CollapsiblePanel/style.less +63 -63
  132. package/lib/components/DateTimePicker/Base/style.css +378 -49
  133. package/lib/components/DateTimePicker/Base/style.less +160 -164
  134. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  135. package/lib/components/DateTimePicker/BaseMobile/style.css +4 -4
  136. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  137. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  138. package/lib/components/DateTimePicker/DisplayInput/style.css +47 -16
  139. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  140. package/lib/components/DateTimePicker/constants.d.ts +1 -1
  141. package/lib/components/DateTimePicker/constants.js +17 -6
  142. package/lib/components/DateTimePicker/index.js +1 -1
  143. package/lib/components/DateTimePicker/style.css +7 -7
  144. package/lib/components/DateTimePicker/style.less +19 -17
  145. package/lib/components/DateTimePicker/transform.d.ts +4 -0
  146. package/lib/components/DateTimePicker/transform.js +53 -0
  147. package/lib/components/Drawer/index.d.ts +55 -2
  148. package/lib/components/Drawer/index.js +3 -1
  149. package/lib/components/Drawer/style.css +45 -45
  150. package/lib/components/Drawer/style.less +17 -17
  151. package/lib/components/Input/index.d.ts +1 -2
  152. package/lib/components/Input/index.js +0 -2
  153. package/lib/components/Input/style.css +47 -16
  154. package/lib/components/Input/style.less +12 -12
  155. package/lib/components/InputNumber/index.d.ts +1 -8
  156. package/lib/components/InputNumber/index.js +1 -38
  157. package/lib/components/KeyValuePair/style.less +21 -21
  158. package/lib/components/Menu/Option.d.ts +10 -0
  159. package/lib/components/Menu/Option.js +18 -2
  160. package/lib/components/Menu/index.d.ts +1 -1
  161. package/lib/components/Menu/index.js +3 -3
  162. package/lib/components/Menu/style.css +20 -10
  163. package/lib/components/Menu/style.less +18 -8
  164. package/lib/components/Modal/style.less +30 -30
  165. package/lib/components/NameExplainTooltip/style.less +10 -10
  166. package/lib/components/NameLimiter/style.css +2 -4
  167. package/lib/components/NameLimiter/style.less +19 -21
  168. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  169. package/lib/components/OptionList/OptionItem/style.css +2 -2
  170. package/lib/components/OptionList/OptionItem/style.less +25 -25
  171. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  172. package/lib/components/OptionList/style.css +2 -2
  173. package/lib/components/OptionList/style.less +3 -3
  174. package/lib/components/RadioGroup/style.css +8 -8
  175. package/lib/components/RadioGroup/style.less +32 -32
  176. package/lib/components/RangeInput/style.css +427 -27
  177. package/lib/components/RangeInput/style.less +37 -37
  178. package/lib/components/RemarkName/style.css +2 -4
  179. package/lib/components/RemarkName/style.less +2 -2
  180. package/lib/components/Selector/style.css +25 -29
  181. package/lib/components/Selector/style.less +99 -100
  182. package/lib/components/Spin/style.css +0 -1
  183. package/lib/components/Spin/style.less +26 -26
  184. package/lib/components/Steps/ControlButton/style.less +5 -5
  185. package/lib/components/Steps/style.css +8 -6
  186. package/lib/components/Steps/style.less +48 -46
  187. package/lib/components/Table/ColumnTag/style.less +40 -40
  188. package/lib/components/Table/index.js +6 -3
  189. package/lib/components/Table/style.css +85 -27
  190. package/lib/components/Table/style.less +306 -313
  191. package/lib/components/Tabs/style.css +29 -1
  192. package/lib/components/Tabs/style.less +33 -31
  193. package/lib/components/TagList/Tag/style.less +72 -72
  194. package/lib/components/TagList/TagSwitch/style.less +28 -28
  195. package/lib/components/TagList/style.css +10 -10
  196. package/lib/components/TagList/style.less +28 -28
  197. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  198. package/lib/components/Timeline/style.less +23 -23
  199. package/lib/components/Transfer/List/index.js +3 -3
  200. package/lib/components/Transfer/List/style.css +3 -0
  201. package/lib/components/Transfer/List/style.less +19 -15
  202. package/lib/components/Transfer/ListBody/style.less +18 -18
  203. package/lib/components/Transfer/style.css +3 -0
  204. package/lib/components/Transfer/style.less +14 -14
  205. package/lib/components/TreeSelector/style.css +64 -20
  206. package/lib/components/TreeSelector/style.less +56 -54
  207. package/lib/hoc/popContainer.d.ts +5 -0
  208. package/lib/hoc/popContainer.js +47 -0
  209. package/lib/index.css +5102 -4608
  210. package/lib/index.d.ts +1 -1
  211. package/lib/index.less +49 -50
  212. package/lib/style/mixin.less +45 -45
  213. package/lib/style/theme.less +389 -379
  214. package/package.json +79 -108
  215. package/es/components/Input/NumberInput/index.d.ts +0 -29
  216. package/es/components/Input/NumberInput/index.js +0 -116
  217. package/es/components/InputNumber/style.css +0 -400
  218. package/es/components/InputNumber/style.less +0 -45
  219. package/lib/components/Input/NumberInput/index.d.ts +0 -29
  220. package/lib/components/Input/NumberInput/index.js +0 -121
  221. package/lib/components/InputNumber/style.css +0 -400
  222. package/lib/components/InputNumber/style.less +0 -45
@@ -6,7 +6,7 @@ export declare type TInputProps = Omit<InputProps, 'value' | 'onChange'> & {
6
6
  };
7
7
  declare function Input(props: TInputProps): JSX.Element;
8
8
  declare namespace Input {
9
- var DebounceInput: (props: Pick<InputProps, "type" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "size" | "prefixCls" | "list" | "step" | "pattern" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "width" | "onPressEnter" | "addonBefore" | "addonAfter" | "suffix" | "allowClear" | "bordered"> & {
9
+ var DebounceInput: (props: Pick<InputProps, "type" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "size" | "prefixCls" | "list" | "step" | "pattern" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "height" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "src" | "width" | "onPressEnter" | "addonBefore" | "addonAfter" | "suffix" | "allowClear" | "bordered" | "htmlSize"> & {
10
10
  value?: string | undefined;
11
11
  onChange?: ((value: string) => void) | undefined;
12
12
  } & {
@@ -14,6 +14,5 @@ declare namespace Input {
14
14
  }) => JSX.Element;
15
15
  var Password: typeof import("./Password").Password;
16
16
  var TextArea: typeof import("./TextArea").TextArea;
17
- var NumberInput: typeof import("./NumberInput").default;
18
17
  }
19
18
  export default Input;
@@ -25,7 +25,6 @@ import { Input as AntdInput } from 'antd';
25
25
  import debounceWrapper from '../../hoc/debounce';
26
26
  import { Password } from './Password';
27
27
  import { TextArea } from './TextArea';
28
- import NumberInput from './NumberInput';
29
28
  var useCallback = React.useCallback;
30
29
  function Input(props) {
31
30
  var onChange = props.onChange, restProps = __rest(props, ["onChange"]);
@@ -39,5 +38,4 @@ function Input(props) {
39
38
  Input.DebounceInput = debounceWrapper(Input);
40
39
  Input.Password = Password;
41
40
  Input.TextArea = TextArea;
42
- Input.NumberInput = NumberInput;
43
41
  export default Input;
@@ -17,6 +17,7 @@
17
17
  border-radius: 2px;
18
18
  -webkit-transition: all 0.3s;
19
19
  transition: all 0.3s;
20
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
20
21
  display: -webkit-inline-box;
21
22
  display: -ms-inline-flexbox;
22
23
  display: inline-flex;
@@ -26,12 +27,20 @@
26
27
  }
27
28
  .ant-input-affix-wrapper::-webkit-input-placeholder {
28
29
  color: #bfbfbf;
30
+ -webkit-user-select: none;
31
+ user-select: none;
29
32
  }
30
33
  .ant-input-affix-wrapper::-ms-input-placeholder {
31
34
  color: #bfbfbf;
35
+ -ms-user-select: none;
36
+ user-select: none;
32
37
  }
33
38
  .ant-input-affix-wrapper::placeholder {
34
39
  color: #bfbfbf;
40
+ -webkit-user-select: none;
41
+ -moz-user-select: none;
42
+ -ms-user-select: none;
43
+ user-select: none;
35
44
  }
36
45
  .ant-input-affix-wrapper:placeholder-shown {
37
46
  text-overflow: ellipsis;
@@ -46,11 +55,11 @@
46
55
  }
47
56
  .ant-input-affix-wrapper:focus,
48
57
  .ant-input-affix-wrapper-focused {
49
- border-color: #528cde;
58
+ border-color: #9ca0a6;
59
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
60
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
50
61
  border-right-width: 1px !important;
51
62
  outline: 0;
52
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
53
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
54
63
  }
55
64
  .ant-input-rtl .ant-input-affix-wrapper:focus,
56
65
  .ant-input-rtl .ant-input-affix-wrapper-focused {
@@ -60,6 +69,9 @@
60
69
  .ant-input-affix-wrapper-disabled {
61
70
  color: rgba(0, 0, 0, 0.25);
62
71
  background-color: #f5f5f5;
72
+ border-color: #bfbfbf;
73
+ -webkit-box-shadow: none;
74
+ box-shadow: none;
63
75
  cursor: not-allowed;
64
76
  opacity: 1;
65
77
  }
@@ -70,6 +82,9 @@
70
82
  .ant-input-affix-wrapper[disabled] {
71
83
  color: rgba(0, 0, 0, 0.25);
72
84
  background-color: #f5f5f5;
85
+ border-color: #bfbfbf;
86
+ -webkit-box-shadow: none;
87
+ box-shadow: none;
73
88
  cursor: not-allowed;
74
89
  opacity: 1;
75
90
  }
@@ -159,7 +174,7 @@ textarea.ant-input-affix-wrapper {
159
174
  margin-left: 4px;
160
175
  }
161
176
  .anticon.ant-input-clear-icon {
162
- margin: 0 4px;
177
+ margin: 0;
163
178
  color: rgba(0, 0, 0, 0.25);
164
179
  font-size: 12px;
165
180
  vertical-align: -1px;
@@ -176,8 +191,8 @@ textarea.ant-input-affix-wrapper {
176
191
  .anticon.ant-input-clear-icon-hidden {
177
192
  visibility: hidden;
178
193
  }
179
- .anticon.ant-input-clear-icon:last-child {
180
- margin-right: 0;
194
+ .anticon.ant-input-clear-icon-has-suffix {
195
+ margin: 0 4px;
181
196
  }
182
197
  .ant-input-affix-wrapper-textarea-with-clear-btn {
183
198
  padding: 0 !important;
@@ -213,18 +228,27 @@ textarea.ant-input-affix-wrapper {
213
228
  border-radius: 2px;
214
229
  -webkit-transition: all 0.3s;
215
230
  transition: all 0.3s;
231
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
216
232
  }
217
233
  .ant-input::-moz-placeholder {
218
234
  opacity: 1;
219
235
  }
220
236
  .ant-input::-webkit-input-placeholder {
221
237
  color: #bfbfbf;
238
+ -webkit-user-select: none;
239
+ user-select: none;
222
240
  }
223
241
  .ant-input::-ms-input-placeholder {
224
242
  color: #bfbfbf;
243
+ -ms-user-select: none;
244
+ user-select: none;
225
245
  }
226
246
  .ant-input::placeholder {
227
247
  color: #bfbfbf;
248
+ -webkit-user-select: none;
249
+ -moz-user-select: none;
250
+ -ms-user-select: none;
251
+ user-select: none;
228
252
  }
229
253
  .ant-input:placeholder-shown {
230
254
  text-overflow: ellipsis;
@@ -239,11 +263,11 @@ textarea.ant-input-affix-wrapper {
239
263
  }
240
264
  .ant-input:focus,
241
265
  .ant-input-focused {
242
- border-color: #528cde;
266
+ border-color: #9ca0a6;
267
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
268
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
243
269
  border-right-width: 1px !important;
244
270
  outline: 0;
245
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
246
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
247
271
  }
248
272
  .ant-input-rtl .ant-input:focus,
249
273
  .ant-input-rtl .ant-input-focused {
@@ -253,6 +277,9 @@ textarea.ant-input-affix-wrapper {
253
277
  .ant-input-disabled {
254
278
  color: rgba(0, 0, 0, 0.25);
255
279
  background-color: #f5f5f5;
280
+ border-color: #bfbfbf;
281
+ -webkit-box-shadow: none;
282
+ box-shadow: none;
256
283
  cursor: not-allowed;
257
284
  opacity: 1;
258
285
  }
@@ -263,6 +290,9 @@ textarea.ant-input-affix-wrapper {
263
290
  .ant-input[disabled] {
264
291
  color: rgba(0, 0, 0, 0.25);
265
292
  background-color: #f5f5f5;
293
+ border-color: #bfbfbf;
294
+ -webkit-box-shadow: none;
295
+ box-shadow: none;
266
296
  cursor: not-allowed;
267
297
  opacity: 1;
268
298
  }
@@ -450,10 +480,6 @@ textarea.ant-input {
450
480
  .ant-input-group-sm .ant-select-single .ant-select-selector {
451
481
  height: 26px;
452
482
  }
453
- .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
454
- border-top-left-radius: 0;
455
- border-bottom-left-radius: 0;
456
- }
457
483
  .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
458
484
  border-top-right-radius: 0;
459
485
  border-bottom-right-radius: 0;
@@ -462,6 +488,11 @@ textarea.ant-input {
462
488
  border-top-left-radius: 2px;
463
489
  border-bottom-left-radius: 2px;
464
490
  }
491
+ .ant-input-group .ant-input-affix-wrapper:not(:first-child),
492
+ .ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
493
+ border-top-left-radius: 0;
494
+ border-bottom-left-radius: 0;
495
+ }
465
496
  .ant-input-group.ant-input-group-compact {
466
497
  display: block;
467
498
  }
@@ -716,9 +747,9 @@ textarea.ant-input {
716
747
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
717
748
  text-align: left;
718
749
  }
719
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
720
- margin-right: 4px;
721
- margin-left: 0;
750
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
751
+ margin-right: 0;
752
+ margin-left: 4px;
722
753
  }
723
754
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
724
755
  right: auto;
@@ -1,12 +1,12 @@
1
- @import 'antd/lib/input/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{ant-prefix}-input {
5
- &[disabled] {
6
- border-color: @input-disabled-border-color;
7
- }
8
- }
9
-
10
- .@{ant-prefix}-input-group-addon {
11
- color: @font-color-6;
12
- }
1
+ @import 'antd/lib/input/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{ant-prefix}-input {
5
+ &[disabled] {
6
+ border-color: @input-disabled-border-color;
7
+ }
8
+ }
9
+
10
+ .@{ant-prefix}-input-group-addon {
11
+ color: @font-color-6;
12
+ }
@@ -1,9 +1,2 @@
1
- import React from 'react';
2
- import { InputNumberProps } from 'antd/es/input-number';
3
- export interface IInputNumberProps extends InputNumberProps {
4
- addonAfter?: React.ReactNode;
5
- addonBefore?: React.ReactNode;
6
- className?: string;
7
- }
8
- declare function InputNumber(props: IInputNumberProps): JSX.Element;
1
+ import { InputNumber } from 'antd';
9
2
  export default InputNumber;
@@ -1,36 +1,2 @@
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 from 'react';
24
- import { InputNumber as AntInputNumber } from 'antd';
25
- import { SDK_PREFIX } from '../../constants/style';
26
- function InputNumber(props) {
27
- var addonAfter = props.addonAfter, className = props.className, addonBefore = props.addonBefore, restProps = __rest(props, ["addonAfter", "className", "addonBefore"]);
28
- var addonAfterNode = addonAfter ? (React.createElement("span", { className: SDK_PREFIX + "-input-number-group-addon" }, addonAfter)) : null;
29
- var addonBeforeNode = addonBefore ? (React.createElement("span", { className: SDK_PREFIX + "-input-number-group-addon" }, addonBefore)) : null;
30
- return (React.createElement("div", { className: SDK_PREFIX + "-input-number-group " + className },
31
- addonBeforeNode,
32
- React.createElement("div", { className: SDK_PREFIX + "-input-number-group-wrap" },
33
- React.createElement(AntInputNumber, __assign({}, restProps))),
34
- addonAfterNode));
35
- }
1
+ import { InputNumber } from 'antd';
36
2
  export default InputNumber;
@@ -1,21 +1,21 @@
1
- @import '../../style/theme.less';
2
-
3
- .@{sdk-prefix}-key-value-label,
4
- .@{sdk-prefix}-key-value-value {
5
- display: inline-block;
6
- overflow: hidden;
7
- text-overflow: ellipsis;
8
- white-space: nowrap;
9
- line-height: 1.8;
10
- vertical-align: middle; // overflow:hidden和display: inline-block一起使用时会造成baseline的移动,进而增大高度
11
- }
12
-
13
- .@{sdk-prefix}-key-value-label {
14
- color: @font-color-6;
15
- width: 30%;
16
- }
17
-
18
- .@{sdk-prefix}-key-value-value {
19
- color: @font-color-7;
20
- width: 70%;
21
- }
1
+ @import '../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-key-value-label,
4
+ .@{sdk-prefix}-key-value-value {
5
+ display: inline-block;
6
+ overflow: hidden;
7
+ text-overflow: ellipsis;
8
+ white-space: nowrap;
9
+ line-height: 1.8;
10
+ vertical-align: middle; // overflow:hidden和display: inline-block一起使用时会造成baseline的移动,进而增大高度
11
+ }
12
+
13
+ .@{sdk-prefix}-key-value-label {
14
+ color: @font-color-6;
15
+ width: 30%;
16
+ }
17
+
18
+ .@{sdk-prefix}-key-value-value {
19
+ color: @font-color-7;
20
+ width: 70%;
21
+ }
@@ -1,6 +1,11 @@
1
1
  import * as React from 'react';
2
+ import type { IMenuProps } from './index';
2
3
  export interface IOption {
3
4
  key: string;
5
+ /**
6
+ * 路由实际地址
7
+ */
8
+ url?: string;
4
9
  /**
5
10
  * 标题
6
11
  */
@@ -9,10 +14,15 @@ export interface IOption {
9
14
  * 路由
10
15
  */
11
16
  weburl?: string;
17
+ /**
18
+ * 路由调整方式
19
+ */
20
+ target?: React.HTMLAttributeAnchorTarget;
12
21
  /**
13
22
  *子节点
14
23
  */
15
24
  children?: IOption[];
16
25
  popupClassName?: string;
26
+ onMenuClick?: IMenuProps['onClick'];
17
27
  }
18
28
  export default function Option(option: IOption): JSX.Element;
@@ -1,13 +1,29 @@
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
+ };
1
12
  import * as React from 'react';
2
13
  import { Menu as BaseMenu } from 'antd';
14
+ import { SDK_PREFIX } from '../../constants/style';
3
15
  var Item = BaseMenu.Item, SubMenu = BaseMenu.SubMenu;
4
16
  export default function Option(option) {
5
17
  if (!option.children) {
6
18
  if (option.weburl) {
7
19
  return (React.createElement(Item, { key: option.key },
8
- React.createElement("a", { href: option.weburl, target: "_blank", rel: "noopener noreferrer" }, option.text)));
20
+ React.createElement("a", { className: SDK_PREFIX + "-menu-item-a", href: option.weburl, target: option.target || '_blank', rel: "noopener noreferrer" }, option.text)));
9
21
  }
10
22
  return React.createElement(Item, { key: option.key }, option.text);
11
23
  }
12
- return (React.createElement(SubMenu, { key: option.key, title: option.text, popupClassName: option.popupClassName }, option.children.map(function (item) { return Option(item); })));
24
+ return (React.createElement(SubMenu, { key: option.key, title: option.text, popupClassName: option.popupClassName,
25
+ // 如果子菜单也有url时,点击触发menu的点击回调函数
26
+ onTitleClick: function (e) { var _a; return option.url && ((_a = option.onMenuClick) === null || _a === void 0 ? void 0 : _a.call(option, e)); } }, option.children.map(function (item) {
27
+ return Option(__assign(__assign({}, item), { onMenuClick: option.onMenuClick }));
28
+ })));
13
29
  }
@@ -13,7 +13,7 @@ export interface IMenuProps extends Omit<MenuProps, 'options' | 'mode'> {
13
13
  }
14
14
  export declare function Menue(props: React.PropsWithChildren<IMenuProps>): JSX.Element;
15
15
  export declare namespace Menue {
16
- var Divider;
16
+ var Divider: React.FC<import("antd/lib/menu").MenuDividerProps>;
17
17
  var Item: typeof import("antd/lib/menu/MenuItem").default;
18
18
  var SubMenu: typeof import("antd/lib/menu/SubMenu").default;
19
19
  var ItemGroup;
@@ -25,9 +25,9 @@ import { Menu as BaseMenu } from 'antd';
25
25
  import Option from './Option';
26
26
  var Divider = BaseMenu.Divider, Item = BaseMenu.Item, SubMenu = BaseMenu.SubMenu, ItemGroup = BaseMenu.ItemGroup;
27
27
  export function Menue(props) {
28
- var _a = props.options, options = _a === void 0 ? [] : _a, children = props.children, other = __rest(props, ["options", "children"]);
29
- var childs = children || options.map(function (item) { return Option(item); });
30
- return React.createElement(BaseMenu, __assign({}, other), childs);
28
+ var _a = props.options, options = _a === void 0 ? [] : _a, children = props.children, onClick = props.onClick, other = __rest(props, ["options", "children", "onClick"]);
29
+ var childs = children || options.map(function (item) { return Option(__assign(__assign({}, item), { onMenuClick: onClick })); });
30
+ return (React.createElement(BaseMenu, __assign({}, other, { onClick: onClick }), childs));
31
31
  }
32
32
  export default Menue;
33
33
  Menue.Divider = Divider;
@@ -68,8 +68,8 @@
68
68
  content: '';
69
69
  }
70
70
  .ant-menu.ant-menu-root:focus-visible {
71
- -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
72
- box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
71
+ -webkit-box-shadow: 0 0 0 2px #ccd3d9;
72
+ box-shadow: 0 0 0 2px #ccd3d9;
73
73
  }
74
74
  .ant-menu ul,
75
75
  .ant-menu ol {
@@ -147,10 +147,14 @@
147
147
  color: #2c6dd2;
148
148
  }
149
149
  .ant-menu-item-divider {
150
- height: 1px;
151
150
  overflow: hidden;
152
151
  line-height: 0;
153
- background-color: #e5e5e5;
152
+ border-color: #e5e5e5;
153
+ border-style: solid;
154
+ border-width: 1px 0 0;
155
+ }
156
+ .ant-menu-item-divider-dashed {
157
+ border-style: dashed;
154
158
  }
155
159
  .ant-menu-horizontal .ant-menu-item,
156
160
  .ant-menu-horizontal .ant-menu-submenu {
@@ -264,16 +268,12 @@
264
268
  }
265
269
  .ant-menu-item:focus-visible,
266
270
  .ant-menu-submenu-title:focus-visible {
267
- -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
268
- box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
271
+ -webkit-box-shadow: 0 0 0 2px #ccd3d9;
272
+ box-shadow: 0 0 0 2px #ccd3d9;
269
273
  }
270
274
  .ant-menu > .ant-menu-item-divider {
271
- height: 1px;
272
275
  margin: 1px 0;
273
276
  padding: 0;
274
- overflow: hidden;
275
- line-height: 0;
276
- background-color: #e5e5e5;
277
277
  }
278
278
  .ant-menu-submenu-popup {
279
279
  position: absolute;
@@ -697,6 +697,10 @@
697
697
  .ant-layout-header .ant-menu {
698
698
  line-height: inherit;
699
699
  }
700
+ .ant-menu-inline-collapsed-tooltip a,
701
+ .ant-menu-inline-collapsed-tooltip a:hover {
702
+ color: #fff;
703
+ }
700
704
  .ant-menu-light .ant-menu-item:hover,
701
705
  .ant-menu-light .ant-menu-item-active,
702
706
  .ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,
@@ -984,3 +988,9 @@
984
988
  .ant-menu-vertical-right.ant-menu-sub:not([class*='-active']) {
985
989
  max-height: 320px;
986
990
  }
991
+ .ant-menu-item .pandora-sdk-menu-item-a {
992
+ color: #333;
993
+ }
994
+ .ant-menu-horizontal > .ant-menu-item .pandora-sdk-menu-item-a {
995
+ color: #333;
996
+ }
@@ -1,8 +1,18 @@
1
- @import 'antd/lib/menu/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{ant-prefix}-menu-vertical.@{ant-prefix}-menu-sub:not([class*='-active']),
5
- .@{ant-prefix}-menu-vertical-left.@{ant-prefix}-menu-sub:not([class*='-active']),
6
- .@{ant-prefix}-menu-vertical-right.@{ant-prefix}-menu-sub:not([class*='-active']) {
7
- max-height: 320px;
8
- }
1
+ @import 'antd/lib/menu/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{ant-prefix}-menu-vertical.@{ant-prefix}-menu-sub:not([class*='-active']),
5
+ .@{ant-prefix}-menu-vertical-left.@{ant-prefix}-menu-sub:not([class*='-active']),
6
+ .@{ant-prefix}-menu-vertical-right.@{ant-prefix}-menu-sub:not([class*='-active']) {
7
+ max-height: 320px;
8
+ }
9
+ .@{ant-prefix}-menu-item {
10
+ .@{sdk-prefix}-menu-item-a {
11
+ color: @font-color-7;
12
+ }
13
+ }
14
+ .@{ant-prefix}-menu-horizontal
15
+ > .@{ant-prefix}-menu-item
16
+ .@{sdk-prefix}-menu-item-a {
17
+ color: @font-color-7;
18
+ }
@@ -1,30 +1,30 @@
1
- @import 'antd/lib/modal/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-modal {
5
- .@{ant-prefix}-modal-header {
6
- border-color: @modal-header-border-color;
7
- }
8
- .@{ant-prefix}-modal-body {
9
- max-height: 70vh;
10
- overflow-y: auto;
11
- background: @normal-color;
12
- padding: 0px 60px;
13
- padding-top: 24px;
14
- border-radius: 0 0 2px 2px;
15
- }
16
- .@{ant-prefix}-modal-footer {
17
- border: none;
18
- padding: 32px 24px 24px 24px;
19
- .@{ant-prefix}-btn {
20
- min-width: 60px;
21
- height: 32px;
22
- margin-left: 12px;
23
- font-size: 14px;
24
- color: @text-color;
25
- }
26
- .@{ant-prefix}-btn-primary {
27
- color: @normal-color;
28
- }
29
- }
30
- }
1
+ @import 'antd/lib/modal/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-modal {
5
+ .@{ant-prefix}-modal-header {
6
+ border-color: @modal-header-border-color;
7
+ }
8
+ .@{ant-prefix}-modal-body {
9
+ max-height: 70vh;
10
+ overflow-y: auto;
11
+ background: @normal-color;
12
+ padding: 0px 60px;
13
+ padding-top: 24px;
14
+ border-radius: 0 0 2px 2px;
15
+ }
16
+ .@{ant-prefix}-modal-footer {
17
+ border: none;
18
+ padding: 32px 24px 24px 24px;
19
+ .@{ant-prefix}-btn {
20
+ min-width: 60px;
21
+ height: 32px;
22
+ margin-left: 12px;
23
+ font-size: 14px;
24
+ color: @text-color;
25
+ }
26
+ .@{ant-prefix}-btn-primary {
27
+ color: @normal-color;
28
+ }
29
+ }
30
+ }
@@ -1,10 +1,10 @@
1
- @import '../../style/theme.less';
2
-
3
- .@{sdk-prefix}-name-explain-icon {
4
- color: @icon-color;
5
- transition: color 0.3s;
6
- &:hover,
7
- .@{ant-prefix}-tooltip-open {
8
- color: @theme-color;
9
- }
10
- }
1
+ @import '../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-name-explain-icon {
4
+ color: @icon-color;
5
+ transition: color 0.3s;
6
+ &:hover,
7
+ .@{ant-prefix}-tooltip-open {
8
+ color: @theme-color;
9
+ }
10
+ }
@@ -277,9 +277,7 @@
277
277
  overflow: hidden;
278
278
  }
279
279
  .pandora-sdk-name-limit-tooltip .ant-tooltip-inner {
280
- max-width: 400px !important;
281
- max-height: 200px !important;
280
+ max-width: 400px;
281
+ max-height: 200px;
282
282
  overflow: auto;
283
- line-height: 22px;
284
- font-size: 12px;
285
283
  }