Skip to content

Commit

Permalink
fix - update FieldHintPopover style
Browse files Browse the repository at this point in the history
  • Loading branch information
tplevko authored and lordrip committed Jan 23, 2024
1 parent ec008fa commit 3cb7ca5
Show file tree
Hide file tree
Showing 4 changed files with 258 additions and 14 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"dist"
],
"scripts": {
"build": "rimraf dist && tsc --build tsconfig.cjs.json && tsc --build tsconfig.esm.json",
"build": "yarn rimraf dist && yarn build:esm && yarn build:cjs",
"build:esm": "tsc --project tsconfig.esm.json && copyfiles -u 1 ./src/**/*.scss ./dist/esm",
"build:cjs": "tsc --project tsconfig.cjs.json && copyfiles -u 1 ./src/**/*.scss ./dist/cjs",
"test": "jest",
"publish": "lerna publish"
},
Expand All @@ -40,6 +42,7 @@
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.70.0",
"uniforms": "4.0.0-alpha.5"
},
"devDependencies": {
Expand All @@ -65,6 +68,7 @@
"@types/testing-library__jest-dom": "^5.9.1",
"@types/testing-library__react": "^10.0.0",
"babel-jest": "^29.4.2",
"copyfiles": "^2.4.1",
"jest": "^29.4.2",
"jest-environment-jsdom": "^29.4.2",
"rimraf": "^5.0.0",
Expand Down
3 changes: 3 additions & 0 deletions src/FieldHintPopover.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.field-hint-button {
padding: 0 var(--pf-v5-c-button--PaddingLeft) 0;
}
1 change: 1 addition & 0 deletions src/FieldHintPopover.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Button, Popover, PopoverProps, Text, TextVariants } from '@patternfly/react-core';
import { HelpIcon } from '@patternfly/react-icons';
import { FunctionComponent } from 'react';
import './FieldHintPopover.scss';

interface FieldHintPopoverProps {
default?: any;
Expand Down
Loading

0 comments on commit 3cb7ca5

Please sign in to comment.