Skip to content

Commit

Permalink
Fix #7978: Add p-text-truncate to migration tool (#7979)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Oct 16, 2021
1 parent 994b631 commit a13585a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
package org.primefaces.cli.migration.primeflex;

import org.primefaces.cli.migration.AbstractPrimeMigration;

import picocli.CommandLine;

@CommandLine.Command(name = "PrimeFlexMigration", mixinStandardHelpOptions = true, version = "early WIP",
Expand Down Expand Up @@ -161,6 +162,7 @@ protected void initReplaceRegEx() {
replaceRegex.put("p-text-normal", "font-normal");
replaceRegex.put("p-text-light", "font-light");
replaceRegex.put("p-text-italic", "font-italic");
replaceRegex.put("p-text-truncate", "overflow-hidden white-space-nowrap text-overflow-ellipsis");

// elevation
replaceRegex.put("p-shadow-(1|2|3)", "shadow-1");
Expand Down

0 comments on commit a13585a

Please sign in to comment.