palantir/blueprint

FR: Support small modifier for NumericInput

開放

#3,132 建立於 2018年11月7日

 (2 則留言) (1 個反應) (0 位負責人)TypeScript (2,167 個分叉)batch import
P3Package: coreType: feature requesthelp wanted

倉庫指標

星標
 (20,263 顆星)
PR 合併指標
 (平均合併 43天 10小時) (30 天內合併 27 個 PR)

描述

Environment

  • Package version(s): 3.8
  • Browser and OS versions: Chrome 70

Feature request

I like to make a form using small modifier on components. I can use small modifier on InputGroup and Button but MenuItem and NumericInput does not support small modifier. I tried className={Classes.SMALL} but it did not work. You can look at screenshot below as an example

Could you implement support for these components? Probably there are other components that does not support small modifier. I prefer support for all components which can be used inside a form.

Examples

<Button small={true} rightIcon="double-caret-vertical" .../> <InputGroup small={true} .../> <NumericInput leftIcon="arrow-top-left" .../> // does not support small modifier <NumericInput .../>

貢獻者指南