From 64f449fa52acf72ba004dcbb5cec1ed6141ce5c1 Mon Sep 17 00:00:00 2001 From: Ashley Watson-Nolan Date: Fri, 4 Aug 2023 16:36:09 +0100 Subject: [PATCH] feat(pie-monorepo): DSW-1040 add pie-css to wc-vanilla app (#687) --- apps/examples/wc-vanilla/index.html | 7 ------- apps/examples/wc-vanilla/main.js | 6 ++++++ apps/examples/wc-vanilla/package.json | 1 + apps/examples/wc-vanilla/style.css | 5 ----- yarn.lock | 3 ++- 5 files changed, 9 insertions(+), 13 deletions(-) diff --git a/apps/examples/wc-vanilla/index.html b/apps/examples/wc-vanilla/index.html index b9786433b9..fffe75ac95 100644 --- a/apps/examples/wc-vanilla/index.html +++ b/apps/examples/wc-vanilla/index.html @@ -26,16 +26,9 @@ font-feature-settings: "tnum"; /* Enable tabular numbers */ } - -
- - - - - diff --git a/apps/examples/wc-vanilla/main.js b/apps/examples/wc-vanilla/main.js index 787e7fdee4..9d4e6fd642 100644 --- a/apps/examples/wc-vanilla/main.js +++ b/apps/examples/wc-vanilla/main.js @@ -1,3 +1,9 @@ +import '@justeattakeaway/pie-css'; +import '@justeattakeaway/pie-button'; +import '@justeattakeaway/pie-modal'; +import '@justeattakeaway/pie-icon-button'; +import '@justeattakeaway/pie-icons-webc/dist/icons/IconClose'; +import '@justeattakeaway/pie-icons-webc/dist/icons/IconSearch'; import './style.css'; import { setupCounter } from './counter'; diff --git a/apps/examples/wc-vanilla/package.json b/apps/examples/wc-vanilla/package.json index 7ef9bfd2e0..af8dcc70e0 100644 --- a/apps/examples/wc-vanilla/package.json +++ b/apps/examples/wc-vanilla/package.json @@ -14,6 +14,7 @@ "dependencies": { "@justeat/pie-design-tokens": "5.3.0", "@justeattakeaway/pie-button": "0.23.0", + "@justeattakeaway/pie-css": "0.1.0", "@justeattakeaway/pie-icon-button": "0.13.0", "@justeattakeaway/pie-icons-webc": "0.5.0", "@justeattakeaway/pie-modal": "0.14.0" diff --git a/apps/examples/wc-vanilla/style.css b/apps/examples/wc-vanilla/style.css index c087e01a4c..a701ae43a4 100644 --- a/apps/examples/wc-vanilla/style.css +++ b/apps/examples/wc-vanilla/style.css @@ -1,12 +1,7 @@ html { - box-sizing: border-box; height: 100%; } -*, *:before, *:after { - box-sizing: inherit; -} - body { font-family: JetSansDigital; margin: 0; diff --git a/yarn.lock b/yarn.lock index 6e0bdfc95b..98c9ff2820 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5474,7 +5474,7 @@ __metadata: languageName: unknown linkType: soft -"@justeattakeaway/pie-css@workspace:*, @justeattakeaway/pie-css@workspace:packages/tools/pie-css": +"@justeattakeaway/pie-css@0.1.0, @justeattakeaway/pie-css@workspace:*, @justeattakeaway/pie-css@workspace:packages/tools/pie-css": version: 0.0.0-use.local resolution: "@justeattakeaway/pie-css@workspace:packages/tools/pie-css" dependencies: @@ -36526,6 +36526,7 @@ __metadata: dependencies: "@justeat/pie-design-tokens": 5.3.0 "@justeattakeaway/pie-button": 0.23.0 + "@justeattakeaway/pie-css": 0.1.0 "@justeattakeaway/pie-icon-button": 0.13.0 "@justeattakeaway/pie-icons-webc": 0.5.0 "@justeattakeaway/pie-modal": 0.14.0