From 131c4e10c09aecd9faa303e5a10d9336262aba8b Mon Sep 17 00:00:00 2001 From: vicky-comeau Date: Tue, 16 Jul 2024 10:37:42 -0400 Subject: [PATCH 1/2] Fix: [DS-237] Components' style export --- packages/components/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index e362dae5e..960ab4784 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -19,12 +19,14 @@ ], "main": "dist/index.js", "types": "dist/index.d.ts", + "style": "dist/index.css", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts", "default": "./dist/index.js" - } + }, + "./index.css": "./dist/index.css" }, "files": [ "/dist", From 6e4307e8009a0002127e0cf774ef34b38fd0273b Mon Sep 17 00:00:00 2001 From: vicky-comeau Date: Tue, 16 Jul 2024 10:40:53 -0400 Subject: [PATCH 2/2] added changeset --- .changeset/loud-jars-suffer.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/loud-jars-suffer.md diff --git a/.changeset/loud-jars-suffer.md b/.changeset/loud-jars-suffer.md new file mode 100644 index 000000000..395d5f96e --- /dev/null +++ b/.changeset/loud-jars-suffer.md @@ -0,0 +1,5 @@ +--- +"@hopper-ui/components": patch +--- + +Added exports to the package.json for the css file like we have in the icons package.