From 8ea1bcf86460d983d5c46a66cbe464853c1c66fe Mon Sep 17 00:00:00 2001 From: Hamza Miloud Amar Date: Thu, 28 Nov 2024 12:28:40 +0100 Subject: [PATCH] fix: the padding issue and hooks dev deps in the core package --- apps/stories/package.json | 2 +- packages/pillar-core/package.json | 4 ++-- packages/pillar-core/src/core/paper/index.tsx | 2 +- packages/pillar-core/src/css/utilities/_spacing.css | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/stories/package.json b/apps/stories/package.json index 08741a1f..0621ad0f 100644 --- a/apps/stories/package.json +++ b/apps/stories/package.json @@ -36,7 +36,7 @@ "npm-run-all": "^4.1.5", "rimraf": "^6.0.1", "serve": "^13.0.4", - "storybook": "8.4.5", + "storybook": "^8.4.5", "storybook-addon-pseudo-states": "^4.0.2", "typescript": "^5.5.4", "webpack": "^5.93.0" diff --git a/packages/pillar-core/package.json b/packages/pillar-core/package.json index 07569d43..8b9d922f 100644 --- a/packages/pillar-core/package.json +++ b/packages/pillar-core/package.json @@ -69,7 +69,7 @@ }, "devDependencies": { "@pillar-ui/eslint": "*", - "@pillar-ui/hooks": "workspace:^", + "@pillar-ui/hooks": "workspace:*", "@pillar-ui/tsconfig": "*", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-node-resolve": "^15.3.0", @@ -78,7 +78,7 @@ "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "autoprefixer": "^10.4.20", - "cssnano": "^7.0.5", + "cssnano": "^7.0.6", "eslint": "^8.57.0", "npm-run-all": "^4.1.5", "postcss": "^8.4.41", diff --git a/packages/pillar-core/src/core/paper/index.tsx b/packages/pillar-core/src/core/paper/index.tsx index 065873ab..46e9dea1 100644 --- a/packages/pillar-core/src/core/paper/index.tsx +++ b/packages/pillar-core/src/core/paper/index.tsx @@ -43,7 +43,7 @@ export const Paper = forwardRef( [`Sr-${ratio}`]: ratio, [`B`]: border, [`Sp-${p}`]: p, - [`Sp-${pt}`]: pt, + [`Sp-t${pt}`]: pt, [`Sp-r${pr}`]: pr, [`Sp-b${pb}`]: pb, [`Sp-l${pl}`]: pl, diff --git a/packages/pillar-core/src/css/utilities/_spacing.css b/packages/pillar-core/src/css/utilities/_spacing.css index c58e547c..2993e8de 100644 --- a/packages/pillar-core/src/css/utilities/_spacing.css +++ b/packages/pillar-core/src/css/utilities/_spacing.css @@ -115,7 +115,6 @@ .Sp-l8 { padding-inline-start: var(--S8); } - .Sp-l9 { padding-inline-start: var(--S9); }