cal.pub0.org/packages/ui/components
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
..
alert Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
apps chore/AppStore: Remove deprecated imageSrc and make the paths relative in logo (#8479) 2023-04-26 12:03:34 +01:00
avatar misc frontend fixes (#8416) 2023-04-20 22:33:49 +00:00
badge New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
breadcrumb Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
button Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
buttonGroup Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
card Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
createButton Managed event-types (#6876) 2023-04-12 23:10:23 -03:00
credits Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
dialog Feat/weekly booking view (#8484) 2023-04-25 13:01:45 +01:00
divider Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
editor Add HistoryPlugin to the Editor UI component (#8603) 2023-05-02 11:29:52 -03:00
empty-screen Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
errorBoundary Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
form add "reset to default" color option for ColorPicker (#8643) 2023-05-05 13:25:18 +01:00
head-seo Techdebt/bundle size experiments (#7894) 2023-03-23 11:49:28 -07:00
icon Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
image-uploader fix: limit avatar upload size (#8135) 2023-04-19 18:19:31 +02:00
layout Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
list Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
logo Feat/subdomain logochanges (#8264) 2023-04-19 13:55:40 -07:00
meta Also unpack React / don't directly import React (#8384) 2023-04-19 20:24:34 +02:00
navigation Cal 1099 availability section defined hour mismatch (#7416) 2023-04-18 23:29:02 +00:00
popover Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
skeleton Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
table In-app users admin (#8035) 2023-04-14 17:04:48 -07:00
toast Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
tooltip New Booker Component (preparations for booker atom) (#6792) 2023-04-24 16:32:30 +02:00
top-banner Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00