From 8048adceff9b76cf2cc86f54408e0e598b715c1f Mon Sep 17 00:00:00 2001
From: Humberto Morera <31667212+hmoreras@users.noreply.github.com>
Date: Wed, 21 Aug 2024 15:26:45 -0500
Subject: [PATCH] implementation(PrimeNG-17): #29662 Fix Outline SplitButton
issues (#29686)
### Proposed Changes
* changes to support outline SplitButton styles.
### Screenshots
Before
After
---
.../src/stories/primeng/button/templates.ts | 67 ++++++++++++-------
.../components/buttons/_splitbutton.scss | 2 +
.../dot-workflow-actions.component.html | 3 +-
3 files changed, 47 insertions(+), 25 deletions(-)
diff --git a/core-web/apps/dotcms-ui/src/stories/primeng/button/templates.ts b/core-web/apps/dotcms-ui/src/stories/primeng/button/templates.ts
index 7c2dfadc12df..3538f96657f2 100644
--- a/core-web/apps/dotcms-ui/src/stories/primeng/button/templates.ts
+++ b/core-web/apps/dotcms-ui/src/stories/primeng/button/templates.ts
@@ -848,145 +848,164 @@ export const BasicSplitButtonTemplate = `
diff --git a/core-web/libs/dotcms-scss/angular/dotcms-theme/components/buttons/_splitbutton.scss b/core-web/libs/dotcms-scss/angular/dotcms-theme/components/buttons/_splitbutton.scss
index 1fed8e73fd86..53a2dcbba897 100644
--- a/core-web/libs/dotcms-scss/angular/dotcms-theme/components/buttons/_splitbutton.scss
+++ b/core-web/libs/dotcms-scss/angular/dotcms-theme/components/buttons/_splitbutton.scss
@@ -67,6 +67,7 @@
.p-splitbutton-defaultbutton:enabled,
.p-splitbutton-menubutton:enabled {
@extend #outlined-primary-severity;
+ color: $color-palette-primary;
}
&.p-button-sm {
@@ -84,6 +85,7 @@
.p-splitbutton-defaultbutton:enabled,
.p-splitbutton-menubutton:enabled {
@extend #outlined-secondary-severity;
+ color: $color-palette-secondary;
}
&.p-button-sm {
diff --git a/core-web/libs/ui/src/lib/components/dot-workflow-actions/dot-workflow-actions.component.html b/core-web/libs/ui/src/lib/components/dot-workflow-actions/dot-workflow-actions.component.html
index 47cd903af970..7c0ab44e8241 100644
--- a/core-web/libs/ui/src/lib/components/dot-workflow-actions/dot-workflow-actions.component.html
+++ b/core-web/libs/ui/src/lib/components/dot-workflow-actions/dot-workflow-actions.component.html
@@ -3,8 +3,9 @@
} @else {