cal.pub0.org/packages/ui
Praneeth Bhogaraju 371e7b024a
add "reset to default" color option for ColorPicker (#8643)
* add reset to default color option

* Do not show reset button in DOM if resetDefaultValue is undefined

* handle edge case: if invalid hexcode is set for resetDefaultValue

* Do not show the reset button if the color is already set to the default value

* Remove data-testid from Button

---------

Co-authored-by: Praneeth Bhogaraju <praneeth.bhogaraju@ni.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2023-05-05 13:25:18 +01:00
..
components add "reset to default" color option for ColorPicker (#8643) 2023-05-05 13:25:18 +01:00
form perf: reduce bundle size (#8337) 2023-04-19 19:45:08 +05:30
styles Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
index.tsx New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
package.json Improves reported type errors on CI (#7813) 2023-03-28 13:12:40 -07:00
tsconfig.json V2 Main (#3549) 2022-08-24 14:18:42 -06:00