• Brad Adams's avatar
    Switch: Add `allowFocus` prop & focus/blur events (#7494) · 6d311ed6
    Brad Adams authored
    * Table: Add `important` rule to `col-resize` cursor
    
    * Table: Add `important` rule to `col-resize` cursor
    
    * Update table-header.js
    
    * [Switch]: Add `allowFocus` prop + blur/focus events
    
    + Add new `allowFocus` prop
    + Add event emitters for focus & blur events
    + Set `input` $ref `.focus()` on switch click event
    
    * [Switch]: Add styling for when `allowFocus: true`
    
    + Add styling for when `allowFocus` prop is set to true.
    + Add styling for when input is focused
    
    * [Switch]: Update docs
    6d311ed6
switch.css 2.88 KB