odaptos_design_system 1.4.259 → 1.4.260
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.
- package/dist/Thematic/Thematic.d.ts +0 -2
- package/dist/odaptos_design_system.cjs.development.js +1 -2
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +1 -2
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Thematic/Thematic.tsx +1 -7
|
@@ -13487,7 +13487,6 @@ const Thematic = ({
|
|
|
13487
13487
|
const backgroundColor = changeColorLuminance(thematicColor, 95);
|
|
13488
13488
|
const badgeColor = changeColorLuminance(thematicColor, 90);
|
|
13489
13489
|
const iconsColor = changeColorLuminance(thematicColor, 40);
|
|
13490
|
-
const newTagColor = thematicColor.isDark() ? thematicColor.lighten(0.5).toHex() : thematicColor.darken(0.3).toHex();
|
|
13491
13490
|
// ----------------- Popover functions ----------------- //
|
|
13492
13491
|
const openAddTagPopover = event => {
|
|
13493
13492
|
setAddTagPopoverAnchorPosition(event.currentTarget);
|
|
@@ -13532,7 +13531,7 @@ const Thematic = ({
|
|
|
13532
13531
|
if (onClickValidateAddTag) {
|
|
13533
13532
|
onClickValidateAddTag(thematicId, {
|
|
13534
13533
|
name: newTagName,
|
|
13535
|
-
color:
|
|
13534
|
+
color: thematicColor.toHex(),
|
|
13536
13535
|
definition: ''
|
|
13537
13536
|
});
|
|
13538
13537
|
}
|