Skip to content

Commit

Permalink
Fix #5187: TailWind Styled mode instructions (#6330)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Apr 8, 2024
1 parent 27c32d6 commit 131e680
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions components/doc/tailwind/csslayerdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export function CSSLayerDoc(props) {
basic: `
@layer tailwind-base, primereact, tailwind-utilities;
/* IMPORTANT: In "styled" mode you must add the PrimeReact Theme here. Do NOT include in "unstyled" mode */
@import 'primereact/resources/themes/lara-light-blue/theme.css' layer(primereact);
@layer tailwind-base {
@tailwind base;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`InputText when input has className only 1 className is printed 1`] = `
<div>
<input
class="p-inputtext p-component jest p-filled"
class="jest p-inputtext p-component p-filled"
data-pc-name="inputtext"
data-pc-section="root"
/>
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"file-saver": "2.0.5",
"fs-extra": "^11.2.0",
"jspdf": "2.5.1",
"jspdf-autotable": "3.8.1",
"jspdf-autotable": "3.8.2",
"next": "12.3.4",
"path": "^0.12.7",
"primeflex": "^3.3.1",
Expand All @@ -40,7 +40,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-transition-group": "^4.4.5",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
Expand Down

0 comments on commit 131e680

Please sign in to comment.